- Sort Score
- Result 10 results
- Languages All
Results 141 - 150 of 570 for testCases (0.3 sec)
-
pilot/pkg/security/authz/builder/builder_test.go
Port: 999999, PathPrefix: "check", StatusOnError: "999", }, }, }, }, } ) func TestGenerator_GenerateHTTP(t *testing.T) { testCases := []struct { name string tdBundle trustdomain.Bundle meshConfig *meshconfig.MeshConfig version *model.IstioVersion input string want []string }{ {
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Wed Apr 17 22:20:44 UTC 2024 - 13.8K bytes - Viewed (0) -
pkg/registry/core/pod/storage/storage_test.go
} binding := validNewBinding() binding.UID = testCase.podUIDGetter(podCreated.(*api.Pod)) binding.ResourceVersion = testCase.podResourceVersionGetter(podCreated.(*api.Pod)) if _, err := bindingStorage.Create(ctx, binding.Name, binding, rest.ValidateAllObjectFunc, &metav1.CreateOptions{}); !testCase.errOK(err) { t.Errorf("%s: unexpected error: %v", k, err) }
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Thu Feb 29 07:18:44 UTC 2024 - 38.8K bytes - Viewed (0) -
internal/ioutil/ioutil_test.go
{bytes.NewBuffer([]byte("abc")), 3, ""}, {bytes.NewBuffer([]byte("abc")), 4, ""}, } for i, testCase := range testCases { r := NewSkipReader(testCase.src, testCase.skipLen) b, err := io.ReadAll(r) if err != nil { t.Errorf("Case %d: Unexpected err %v", i, err) } if string(b) != testCase.expected { t.Errorf("Case %d: Got wrong result: %v", i, string(b)) } } }
Registered: Sun Jun 16 00:44:34 UTC 2024 - Last Modified: Wed May 22 23:07:14 UTC 2024 - 5.5K bytes - Viewed (0) -
platforms/core-configuration/configuration-cache/src/integTest/groovy/org/gradle/internal/cc/impl/inputs/process/instrument/Execute1QualifiedStaticInstrumentationInDynamicGroovyWithIndyIntegrationTest.groovy
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Sat Jun 08 11:29:25 UTC 2024 - 1.9K bytes - Viewed (0) -
pkg/volume/util/nested_volumes_test.go
"k8s.io/apimachinery/pkg/util/sets" ) type testCases struct { name string err bool expected sets.Set[string] volname string pod v1.Pod } func TestGetNestedMountpoints(t *testing.T) { var ( testNamespace = "test_namespace" testPodUID = types.UID("test_pod_uid") ) tc := []testCases{ { name: "Simple Pod", err: false,
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Sat May 11 09:02:45 UTC 2024 - 5.9K bytes - Viewed (0) -
pkg/proxy/endpointslicecache_test.go
metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" "k8s.io/apimachinery/pkg/runtime" "k8s.io/apimachinery/pkg/types" "k8s.io/utils/ptr" ) func TestEndpointsMapFromESC(t *testing.T) { testCases := map[string]struct { endpointSlices []*discovery.EndpointSlice hostname string namespacedName types.NamespacedName expectedMap map[ServicePortName][]*BaseEndpointInfo }{
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Mon Apr 29 21:07:21 UTC 2024 - 24.9K bytes - Viewed (0) -
pkg/volume/csi/csi_mounter_test.go
} return nil } func TestMounterGetPath(t *testing.T) { plug, tmpDir := newTestPlugin(t, nil) defer os.RemoveAll(tmpDir) // TODO (vladimirvivien) specName with slashes will not work testCases := []struct { name string specVolumeName string path string }{ { name: "simple specName", specVolumeName: "spec-0",
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed Apr 24 18:25:29 UTC 2024 - 50.1K bytes - Viewed (0) -
platforms/core-configuration/configuration-cache/src/integTest/groovy/org/gradle/internal/cc/impl/inputs/process/instrument/RuntimeExec1InstrumentationInDynamicGroovyWithIndyIntegrationTest.groovy
@Override def indyModes() { return [true] } @Override def testCases() { return [ // varInitializer | processCreator | expectedPwdSuffix | expectedEnvVar [fromString(), "Runtime.getRuntime().exec(command)", "", ""],
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Sat Jun 08 11:29:25 UTC 2024 - 1.8K bytes - Viewed (0) -
pkg/controlplane/apiserver/options/validation_test.go
if !strings.Contains(errMessageGot, conflict) { t.Errorf("Expected error message to contain: %q, but got: %q", conflict, errMessageGot) } }) } } func TestValidateOptions(t *testing.T) { testCases := []struct { name string options *Options expectErrors bool }{ { name: "validate master count equal 0", expectErrors: true, options: &Options{
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed Apr 24 18:25:29 UTC 2024 - 8.4K bytes - Viewed (0) -
cmd/admin-handlers_test.go
t.Errorf("Expected %s, got %s", globalMinioDefaultRegion, results.Region) } } // TestToAdminAPIErrCode - test for toAdminAPIErrCode helper function. func TestToAdminAPIErrCode(t *testing.T) { testCases := []struct { err error expectedAPIErr APIErrorCode }{ // 1. Server not in quorum. { err: errErasureWriteQuorum, expectedAPIErr: ErrAdminConfigNoQuorum, },
Registered: Sun Jun 16 00:44:34 UTC 2024 - Last Modified: Thu Feb 22 06:26:06 UTC 2024 - 13.8K bytes - Viewed (0)