- Sort Score
- Result 10 results
- Languages All
Results 41 - 50 of 56 for testFork (0.14 sec)
-
platforms/jvm/testing-jvm/src/integTest/groovy/org/gradle/testing/junit/junit4/AbstractJUnit4TestClassDetectionIntegrationTest.groovy
public class NonStaticInner { @Test public void ok() { } } public class NonStaticInnerTestCase extends TestCase { public void testOk() { } } } """.stripIndent() writeCustomRunnerClass('CustomRunnerOrExtension') buildFile << """ apply plugin: 'java'
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon Sep 18 20:52:40 UTC 2023 - 4.3K bytes - Viewed (0) -
staging/src/k8s.io/apiserver/pkg/admission/plugin/webhook/matchconditions/matcher_test.go
} for _, tc := range cases { t.Run(tc.name, func(t *testing.T) { m := NewMatcher(&fakeCelFilter{ evaluations: tc.evaluations, throwError: tc.throwError, }, tc.failPolicy, "webhook", "test", "testhook") ctx := context.TODO() matchResult := m.Match(ctx, fakeVersionedAttr, nil, nil) if matchResult.Error != nil { if len(tc.expectError) == 0 { t.Fatal(matchResult.Error) }
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Sat Jul 15 00:53:08 UTC 2023 - 8.6K bytes - Viewed (0) -
src/cmd/cgo/internal/testshared/shared_test.go
var minpkgs = []string{"runtime", "sync/atomic"} var soname = "libruntime,sync-atomic.so" var testX = flag.Bool("testx", false, "if true, pass -x to 'go' subcommands invoked by the test") var testWork = flag.Bool("testwork", false, "if true, log and do not delete the temporary working directory") // run runs a command and calls t.Errorf if it fails. func run(t *testing.T, msg string, args ...string) { runWithEnv(t, msg, nil, args...)
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Sat Aug 26 01:54:41 UTC 2023 - 36.3K bytes - Viewed (0) -
src/cmd/go/scriptreadme_test.go
Note also that in reported output, the actual name of the per-script temporary directory has been consistently replaced with the literal string $WORK. The cmd/go test flag -testwork (which must appear on the "go test" command line after standard test flags) causes each test to log the name of its $WORK directory and other environment variable settings and also to leave that directory behind when it exits,
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed Feb 21 22:16:54 UTC 2024 - 7.9K bytes - Viewed (0) -
platforms/jvm/plugins-jvm-test-suite/src/integTest/groovy/org/gradle/testing/testsuites/TestSuitesIntegrationTest.groovy
import org.junit.jupiter.api.Test; import static org.assertj.core.api.Assertions.assertThat; public class ExampleTest { @Test public void testOK() { assertThat(1 + 1).isEqualTo(2); } } """ settingsFile << """ dependencyResolutionManagement {
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Wed Sep 13 20:36:32 UTC 2023 - 35.8K bytes - Viewed (0) -
src/go/doc/testdata/testing.go
flag.Parse() parseCpuList() before() startAlarm() testOk := RunTests(matchString, tests) exampleOk := RunExamples(examples) if !testOk || !exampleOk { fmt.Println("FAIL") os.Exit(1) } fmt.Println("PASS") stopAlarm() RunBenchmarks(matchString, benchmarks) after() }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Sun Oct 02 02:28:27 UTC 2022 - 11.8K bytes - Viewed (0) -
src/cmd/go/script_test.go
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri May 03 18:15:22 UTC 2024 - 12.2K bytes - Viewed (0) -
src/cmd/go/testdata/script/README
Note also that in reported output, the actual name of the per-script temporary directory has been consistently replaced with the literal string $WORK. The cmd/go test flag -testwork (which must appear on the "go test" command line after standard test flags) causes each test to log the name of its $WORK directory and other environment variable settings and also to leave that directory behind when it exits,
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed Feb 21 22:16:54 UTC 2024 - 12.5K bytes - Viewed (0) -
pkg/controller/nodelifecycle/node_lifecycle_controller_test.go
Clientset: fake.NewSimpleClientset(&v1.PodList{Items: []v1.Pod{*testutil.NewPod("pod0", "node0")}}), }, updateReactor: func() func(action testcore.Action) (bool, runtime.Object, error) { i := 0 return func(action testcore.Action) (bool, runtime.Object, error) { if action.GetVerb() == "update" && action.GetResource().Resource == "pods" && action.GetSubresource() == "status" { i++
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Mon Feb 26 03:26:45 UTC 2024 - 119K bytes - Viewed (0) -
pkg/kubelet/cm/topologymanager/bitmask/bitmask_test.go
} resultMask := And(bitMasks[0], bitMasks...) if resultMask.String() != string(tc.andMask) { t.Errorf("Expected mask to be %v, got %v", tc.andMask, resultMask) } } } func TestOr(t *testing.T) { tcases := []struct { name string masks [][]int orMask string }{ { name: "Mask 01 OR mask 00", masks: [][]int{{0}, {}}, orMask: "01", }, {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Thu Nov 03 09:45:09 UTC 2022 - 16.2K bytes - Viewed (0)