- Sort Score
- Result 10 results
- Languages All
Results 101 - 110 of 682 for testPass (0.31 sec)
-
pkg/volume/util/operationexecutor/operation_generator_test.go
func TestOperationGenerator_GenerateUnmapVolumeFunc_PluginName(t *testing.T) { type testcase struct { name string pluginName string pvSpec v1.PersistentVolumeSpec probVolumePlugins []volume.VolumePlugin } testcases := []testcase{ { name: "gce pd plugin: csi migration disabled", pluginName: "fake-plugin",
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed Apr 24 18:25:29 UTC 2024 - 16.2K bytes - Viewed (0) -
guava-tests/test/com/google/common/util/concurrent/JSR166TestCase.java
* * <p><b>Other notes</b> * * <ul> * <li>Usually, there is one testcase method per JSR166 method covering "normal" operation, and * then as many exception-testing methods as there are exceptions the method can throw. * Sometimes there are multiple tests per JSR166 method when the different "normal" behaviors * differ significantly. And sometimes testcases cover multiple methods when they cannot be * tested in isolation.
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Thu Feb 22 17:15:24 UTC 2024 - 37.7K bytes - Viewed (0) -
pkg/kubelet/util/manager/cache_based_manager_test.go
exists: true, ttl: time.Minute, }, } for i, testCase := range testCases { getNode := func() (*v1.Node, error) { return testCase.node, testCase.err } ttl, exists := GetObjectTTLFromNodeFunc(getNode)() if exists != testCase.exists { t.Errorf("%d: incorrect parsing: %t", i, exists) continue } if exists && ttl != testCase.ttl { t.Errorf("%d: incorrect ttl: %v", i, ttl) } } }
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue Jun 04 06:25:43 UTC 2024 - 19.6K bytes - Viewed (0) -
pkg/controller/statefulset/stateful_set_control_test.go
{RecreatesPVCForPendingPod, simpleSetFn}, } for _, testCase := range testCases { fnName := runtime.FuncForPC(reflect.ValueOf(testCase.fn).Pointer()).Name() if i := strings.LastIndex(fnName, "."); i != -1 { fnName = fnName[i+1:] } testObj := testCase.obj testFn := testCase.fn runTestOverPVCRetentionPolicies( t, fmt.Sprintf("%s/Monotonic", fnName),
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue May 07 19:01:47 UTC 2024 - 108.7K bytes - Viewed (0) -
cmd/kubeadm/app/cmd/certs_test.go
brokenCertPath, _ := pkiutil.PathsForCertAndKey(cfg.CertificatesDir, brokenCertName) type testCase struct { name string config string output string brokenCertName string } var runTestCase = func(t *testing.T, tc testCase) { var output bytes.Buffer cmd := newCmdCertsExpiration(&output, kdir) args := []string{
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed Feb 21 13:26:12 UTC 2024 - 20.1K bytes - Viewed (0) -
security/pkg/server/ca/server_test.go
certChain: [][]*x509.Certificate{ { { Version: 1, }, }, }, ipAddr: mockIPAddr, code: codes.Unauthenticated, }, // successful testcase with valid client certificate "With client certificate": { certChain: [][]*x509.Certificate{ { { Extensions: []pkix.Extension{*sanExt}, }, }, },
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Wed Feb 28 16:41:38 UTC 2024 - 15.8K bytes - Viewed (0) -
pkg/volume/util/fsquota/quota_linux_test.go
} return fail case "Set": err = fakeAssignQuota(testcase.path, testcase.poduid, testcase.bytes) case "Clear": err = fakeClearQuota(testcase.path) case "GetConsumption": _, err = GetConsumption(testcase.path) case "GetInodes": _, err = GetInodes(testcase.path) default: t.Errorf("Case %v (%s, %s, %v) unknown operation %s", seq, testcase.name, testcase.path, true, testcase.op)
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed Apr 24 18:25:29 UTC 2024 - 20.7K bytes - Viewed (0) -
cmd/httprange_test.go
{"bytes=-1-1", true}, } for i, testCase := range validRangeSpecs { rs, err := parseRequestRangeSpec(testCase.spec) if err != nil { if !testCase.errExpected || err == nil && testCase.errExpected { t.Errorf("unexpected err: %v", err) } continue } h, err := rs.ToHeader() if err != nil && !testCase.errExpected || err == nil && testCase.errExpected {
Registered: Sun Jun 16 00:44:34 UTC 2024 - Last Modified: Sun May 05 16:56:21 UTC 2024 - 3.7K bytes - Viewed (0) -
pkg/apis/resource/validation/validation_resourceclass_test.go
wantFailures field.ErrorList }{ "good-class": { class: testClass(goodName, goodName), }, "good-long-driver-name": { class: testClass(goodName, "acme.example.com"), }, "missing-name": { wantFailures: field.ErrorList{field.Required(field.NewPath("metadata", "name"), "name or generateName is required")}, class: testClass("", goodName), }, "bad-name": {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Fri Jun 07 09:18:10 UTC 2024 - 10.6K bytes - Viewed (0) -
testing/internal-testing/src/main/groovy/org/gradle/integtests/fixtures/TestExecutionResult.java
*/ TestClassExecutionResult testClass(String testClass); /** * Returns the result for the first test class whose name starts with the given string. */ TestClassExecutionResult testClassStartsWith(String testClass); int getTotalNumberOfTestClassesExecuted(); boolean testClassExists(String testClass); boolean testClassDoesNotExist(String testClass);
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Apr 04 07:21:38 UTC 2024 - 1.6K bytes - Viewed (0)