- Sort Score
- Result 10 results
- Languages All
Results 151 - 160 of 170 for testF (3.36 sec)
-
src/flag/flag_test.go
expectExit: magic, }, } for _, test := range tests { cmd := exec.Command(os.Args[0], "-test.run=^TestExitCode$") cmd.Env = append( os.Environ(), "GO_CHILD_FLAG="+test.flag, "GO_CHILD_FLAG_HANDLE="+test.flagHandle, ) cmd.Run() got := cmd.ProcessState.ExitCode() // ExitCode is either 0 or 1 on Plan 9. if runtime.GOOS == "plan9" && test.expectExit != 0 { test.expectExit = 1 }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue May 07 18:38:24 UTC 2024 - 22K bytes - Viewed (0) -
pkg/scheduler/framework/plugins/volumebinding/assume_cache_test.go
for i := 0; i < 10; i++ { pv := makePV(fmt.Sprintf("test-pv%v", i), "class1").withVersion("1").PersistentVolume pvs1[pv.Name] = pv assumecache.AddTestObject(cache.AssumeCache, pv) } // Add a bunch of PVs pvs2 := map[string]*v1.PersistentVolume{} for i := 0; i < 10; i++ { pv := makePV(fmt.Sprintf("test2-pv%v", i), "class2").withVersion("1").PersistentVolume pvs2[pv.Name] = pv
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Thu Apr 25 09:46:58 UTC 2024 - 12.8K bytes - Viewed (0) -
src/internal/trace/testdata/tests/go122-syscall-steal-proc-gen-boundary-reacquire-new-proc.test
Carlos Amedee <******@****.***> 1715265901 -0400
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri May 17 18:48:18 UTC 2024 - 556 bytes - Viewed (0) -
src/internal/trace/testdata/tests/go122-syscall-steal-proc-reacquire-new-proc-bare-m.test
Carlos Amedee <******@****.***> 1715265901 -0400
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri May 17 18:48:18 UTC 2024 - 529 bytes - Viewed (0) -
src/encoding/xml/read_test.go
} } } const OK = "OK" const withoutNameTypeData = ` <?xml version="1.0" charset="utf-8"?> <Test3 Attr="OK" />` type TestThree struct { XMLName Name `xml:"Test3"` Attr string `xml:",attr"` } func TestUnmarshalWithoutNameType(t *testing.T) { var x TestThree if err := Unmarshal([]byte(withoutNameTypeData), &x); err != nil {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Mar 26 19:58:28 UTC 2024 - 29.1K bytes - Viewed (0) -
src/internal/trace/testdata/tests/go122-syscall-steal-proc-gen-boundary-reacquire-new-proc-bare-m.test
Carlos Amedee <******@****.***> 1715265901 -0400
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri May 17 18:48:18 UTC 2024 - 493 bytes - Viewed (0) -
platforms/native/tooling-native/src/crossVersionTest/groovy/org/gradle/language/cpp/tooling/r410/CppModelCrossVersionSpec.groovy
def "can query model when root project applies C++ unit test plugin"() { settingsFile << """ rootProject.name = 'core' """ buildFile << """ apply plugin: 'cpp-unit-test' """ def headerDir = file('src/test/headers') def src1 = file('src/test/cpp/test-main.cpp').createFile() def src2 = file('src/test/cpp/test2.cpp').createFile() when:
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu May 16 10:10:39 UTC 2024 - 25.4K bytes - Viewed (0) -
pkg/controller/garbagecollector/garbagecollector_test.go
logger, _ := ktesting.NewTestContext(t) for name, test := range tests { t.Logf("testing %q", name) client := &fakeServerResources{ PreferredResources: test.serverResources, Error: test.err, } actual, actualErr := GetDeletableResources(logger, client) if !reflect.DeepEqual(test.deletableResources, actual) { t.Errorf("expected resources:\n%v\ngot:\n%v", test.deletableResources, actual) }
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Sat May 04 18:33:12 UTC 2024 - 111.6K bytes - Viewed (0) -
plugin/pkg/admission/limitranger/admission_test.go
}, } for i := range successCases { test := successCases[i] err := PodMutateLimitFunc(&test.limitRange, &test.pod) if err != nil { t.Errorf("Unexpected error for pod: %s, %v", test.pod.Name, err) } err = PodValidateLimitFunc(&test.limitRange, &test.pod) if err != nil { t.Errorf("Unexpected error for pod: %s, %v", test.pod.Name, err) } } errorCases := []testCase{ {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed Mar 06 00:00:21 UTC 2024 - 51.5K bytes - Viewed (0) -
src/testing/testing.go
// For example, using "matching" to mean "whose name contains": // // go test -run '' # Run all tests. // go test -run Foo # Run top-level tests matching "Foo", such as "TestFooBar". // go test -run Foo/A= # For top-level tests matching "Foo", run subtests matching "A=". // go test -run /A=1 # For all top-level tests, run subtests matching "A=1". // go test -fuzz FuzzFoo # Fuzz the target matching "FuzzFoo" //
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 23 01:00:11 UTC 2024 - 76.1K bytes - Viewed (0)