- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 491 for testy (0.2 sec)
-
operator/cmd/mesh/operator_test.go
for _, test := range tests { t.Run("", func(t *testing.T) { args := []string{"operator", "init", "--dry-run"} if test.operatorNamespace != "" { args = append(args, "--operatorNamespace", test.operatorNamespace) } if test.watchedNamespaces != "" { args = append(args, "--watchedNamespaces", test.watchedNamespaces) } kubeClientFunc = func() (kube.CLIClient, error) { return nil, nil }
Go - Registered: Wed Mar 20 22:53:08 GMT 2024 - Last Modified: Tue Aug 29 14:15:33 GMT 2023 - 6.4K bytes - Viewed (0) -
callbacks/helper_test.go
"reflect" "testing" "gorm.io/gorm" "gorm.io/gorm/clause" ) func TestLoadOrStoreVisitMap(t *testing.T) { var vm visitMap var loaded bool type testM struct { Name string } t1 := testM{Name: "t1"} t2 := testM{Name: "t2"} t3 := testM{Name: "t3"} vm = make(visitMap) if loaded = loadOrStoreVisitMap(&vm, reflect.ValueOf(&t1)); loaded { t.Fatalf("loaded should be false") }
Go - Registered: Sun Apr 28 09:35:09 GMT 2024 - Last Modified: Tue Mar 05 02:22:57 GMT 2024 - 3.4K bytes - Viewed (0) -
callbacks/visit_map_test.go
package callbacks import ( "reflect" "testing" ) func TestLoadOrStoreVisitMap(t *testing.T) { var vm visitMap var loaded bool type testM struct { Name string } t1 := testM{Name: "t1"} t2 := testM{Name: "t2"} t3 := testM{Name: "t3"} vm = make(visitMap) if loaded = loadOrStoreVisitMap(&vm, reflect.ValueOf(&t1)); loaded { t.Fatalf("loaded should be false") }
Go - Registered: Sun Feb 25 09:35:10 GMT 2024 - Last Modified: Thu Mar 17 15:53:31 GMT 2022 - 780 bytes - Viewed (0) -
cmd/auth-handler_test.go
Body: nopCloser, }, authT: authTypePostPolicy, }, } // .. Tests all request auth type. for i, testc := range testCases { authT := getRequestAuthType(testc.req) if authT != testc.authT { t.Errorf("Test %d: Expected %d, got %d", i+1, testc.authT, authT) } } } // Test all s3 supported auth types. func TestS3SupportedAuthType(t *testing.T) { type testCase struct {
Go - Registered: Sun Apr 28 19:28:10 GMT 2024 - Last Modified: Thu Feb 22 06:26:06 GMT 2024 - 15.4K bytes - Viewed (0) -
cmd/object-api-multipart_test.go
expectedErr error // Flag indicating whether the test is expected to pass or not. shouldPass bool }{ // Test cases with invalid bucket names ( Test number 1-4 ). {".test", "", "", "", "", 0, ListMultipartsInfo{}, BucketNameInvalid{Bucket: ".test"}, false}, {"Test", "", "", "", "", 0, ListMultipartsInfo{}, BucketNameInvalid{Bucket: "Test"}, false},
Go - Registered: Sun Apr 28 19:28:10 GMT 2024 - Last Modified: Thu Feb 22 06:26:06 GMT 2024 - 77.1K bytes - Viewed (0) -
tests/tests_test.go
package tests_test import ( "log" "math/rand" "os" "path/filepath" "time" "gorm.io/driver/mysql" "gorm.io/driver/postgres" "gorm.io/driver/sqlite" "gorm.io/driver/sqlserver" "gorm.io/gorm" "gorm.io/gorm/logger" . "gorm.io/gorm/utils/tests" ) var DB *gorm.DB var ( mysqlDSN = "gorm:gorm@tcp(localhost:9910)/gorm?charset=utf8&parseTime=True&loc=Local"
Go - Registered: Sun Apr 28 09:35:09 GMT 2024 - Last Modified: Fri Dec 15 08:36:08 GMT 2023 - 3.3K bytes - Viewed (1) -
internal/event/target/nsq_test.go
SkipVerify bool } } tests := []struct { name string fields fields wantErr bool }{ { name: "test1_missing_topic", fields: fields{ Enable: true, NSQDAddress: xnet.Host{ Name: "127.0.0.1", Port: 4150, IsPortSet: true, }, Topic: "", }, wantErr: true, }, { name: "test2_disabled", fields: fields{
Go - Registered: Sun Apr 28 19:28:10 GMT 2024 - Last Modified: Mon Sep 04 19:57:37 GMT 2023 - 2.2K bytes - Viewed (0) -
istioctl/pkg/authz/analyzer_test.go
timestamppb "google.golang.org/protobuf/types/known/timestamppb" "istio.io/istio/istioctl/pkg/util/configdump" ) func TestNewAnalyzer(t *testing.T) { tests := []struct { name string input *configdump.Wrapper wantErr error }{ { name: "Test1", input: &configdump.Wrapper{ ConfigDump: &envoy_admin.ConfigDump{ Configs: []*anypb.Any{ {
Go - Registered: Wed May 01 22:53:12 GMT 2024 - Last Modified: Sun Apr 21 17:42:54 GMT 2024 - 2.8K bytes - Viewed (0) -
cmd/site-replication_test.go
[]string{}, }, // Test3: not currently under site replication. { []madmin.PeerInfo{}, set.CreateStringSet(), set.CreateStringSet("dep1", "dep2", "dep3", "dep4"), []string{}, }, } for i, tc := range testCases { names := getMissingSiteNames(tc.oldDepIDs, tc.newDepIDs, tc.currSites) if len(names) != len(tc.expNames) { t.Errorf("Test %d: Expected `%v`, got `%v`", i+1, tc.expNames, names)
Go - Registered: Sun Apr 28 19:28:10 GMT 2024 - Last Modified: Tue Jun 20 00:53:08 GMT 2023 - 2.2K bytes - Viewed (0) -
src/archive/tar/writer_test.go
} if len(f.ops) > 0 { t.Errorf("test %d, expected %d more operations", i, len(f.ops)) } case testClose: err := tw.Close() if !equalError(err, tf.wantErr) { t.Fatalf("test %d, Close() = %v, want %v", i, err, tf.wantErr) } default: t.Fatalf("test %d, unknown test operation: %T", i, tf) } } if v.file != "" {
Go - Registered: Tue Apr 30 11:13:12 GMT 2024 - Last Modified: Tue Feb 27 16:39:23 GMT 2024 - 38.7K bytes - Viewed (0)