- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 52 for testCode (0.16 sec)
-
platforms/ide/tooling-api/src/crossVersionTest/groovy/org/gradle/integtests/tooling/TestLauncherSpec.groovy
// For example, when using PTS/TD for running this test, the JUnit Platform Launcher classes from the GE plugin take precedence toolingApi.requireDaemons() testCode() } boolean supportsEfficientClassFiltering() { return getTargetVersion() >= GradleVersion.version('4.7') } void launchTests(Collection<TestOperationDescriptor> testsToLaunch) {
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri Apr 26 08:42:44 UTC 2024 - 19.9K bytes - Viewed (0) -
platforms/ide/tooling-api/src/crossVersionTest/groovy/org/gradle/integtests/tooling/r26/TestLauncherCrossVersionSpec.groovy
} else { assert operation.result instanceof TaskSkippedResult assert operation.result.skipMessage == "NO-SOURCE" } true } def testCode() { settingsFile << "rootProject.name = 'testproject'\n" buildFile.text = simpleJavaProject() def classesDir = 'file("build/classes/moreTests")' buildFile << """
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Wed Mar 06 06:59:43 UTC 2024 - 22.6K bytes - Viewed (0) -
src/net/http/clientserver_test.go
"net/url" "os" "reflect" "runtime" "slices" "strings" "sync" "sync/atomic" "testing" "time" ) type testMode string const ( http1Mode = testMode("h1") // HTTP/1.1 https1Mode = testMode("https1") // HTTPS/1.1 http2Mode = testMode("h2") // HTTP/2 ) type testNotParallelOpt struct{} var ( testNotParallel = testNotParallelOpt{} )
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 23 01:00:11 UTC 2024 - 46.6K bytes - Viewed (0) -
src/net/http/client_test.go
func testClientTimeoutCancel(t *testing.T, mode testMode) { testDone := make(chan struct{}) ctx, cancel := context.WithCancel(context.Background()) cst := newClientServerTest(t, mode, HandlerFunc(func(w ResponseWriter, r *Request) { w.(Flusher).Flush() <-testDone })) defer close(testDone) cst.c.Timeout = 1 * time.Hour req, _ := NewRequest("GET", cst.ts.URL, nil)
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed May 22 21:30:50 UTC 2024 - 63.8K bytes - Viewed (0) -
src/net/http/transport_test.go
func TestIdleConnH2Crash(t *testing.T) { run(t, testIdleConnH2Crash, []testMode{http2Mode}) } func testIdleConnH2Crash(t *testing.T, mode testMode) { cst := newClientServerTest(t, mode, HandlerFunc(func(w ResponseWriter, r *Request) { // nothing })) ctx, cancel := context.WithCancel(context.Background()) defer cancel() sawDoErr := make(chan bool, 1) testDone := make(chan struct{}) defer close(testDone)
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Jun 06 21:59:21 UTC 2024 - 192.6K bytes - Viewed (0) -
subprojects/composite-builds/src/test/groovy/org/gradle/composite/internal/DefaultIncludedBuildTaskGraphParallelTest.groovy
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri Apr 05 16:29:26 UTC 2024 - 20.6K bytes - Viewed (0) -
pkg/kubelet/kubelet_test.go
}, }, }, } testPod2 := testPod1.DeepCopy() testPod2.UID = "2222" testPod2.Name = "pod2" testPod2.Namespace = "ns2" testPod3 := testPod1.DeepCopy() testPod3.UID = "3333" testPod3.Name = "pod3" testPod3.Namespace = "ns2" testKubelet.fakeKubeClient = fake.NewSimpleClientset(testPod1, testPod2, testPod3) kubelet.kubeClient = testKubelet.fakeKubeClient
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Fri Jun 14 16:09:17 UTC 2024 - 106.9K bytes - Viewed (0) -
src/net/http/serve_test.go
// Only testing HTTP/1, and our http2 server doesn't support hijacking. run(t, func(t *testing.T, mode testMode) { testHandlerPanic(t, true, mode, nil, "intentional death for testing") }, []testMode{http1Mode}) } func testHandlerPanic(t *testing.T, withHijack bool, mode testMode, wrapper func(Handler) Handler, panicValue any) { // Direct log output to a pipe. //
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Jun 07 17:57:01 UTC 2024 - 202K bytes - Viewed (0) -
src/net/http/responsecontroller_test.go
"fmt" "io" . "net/http" "os" "sync" "testing" "time" ) func TestResponseControllerFlush(t *testing.T) { run(t, testResponseControllerFlush) } func testResponseControllerFlush(t *testing.T, mode testMode) { continuec := make(chan struct{}) cst := newClientServerTest(t, mode, HandlerFunc(func(w ResponseWriter, r *Request) { ctl := NewResponseController(w) w.Write([]byte("one")) if err := ctl.Flush(); err != nil {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed Mar 06 19:20:31 UTC 2024 - 10.2K bytes - Viewed (0) -
platforms/extensibility/plugin-use/src/test/groovy/org/gradle/plugin/software/internal/DefaultSoftwareTypeRegistryTest.groovy
1 * propertyMetadata.getDeclaredType() >> TypeToken.of(TestModel.class) 1 * propertyMetadata.getAnnotation(SoftwareType.class) >> Optional.of(softwareType) 2 * softwareType.name() >> "test" 2 * softwareType.modelPublicType() >> TestModel 1 * metadataStore.getTypeMetadata(TestModel) >> modelTypeMetadata 1 * modelTypeMetadata.getPropertiesMetadata() >> []
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon Jun 03 16:02:29 UTC 2024 - 6.8K bytes - Viewed (0)