- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 107 for testCode (0.18 sec)
-
platforms/extensibility/plugin-development/src/integTest/groovy/org/gradle/plugin/devel/impldeps/ResolvedGeneratedJarsIntegrationTest.groovy
} @ToBeFixedForConfigurationCache(because = "testkit jar generated eagerly") def "gradle testkit jar is generated only when requested"() { setup: testCode() def version = distribution.version.version def generatedJarsDirectory = "user-home/caches/$version/generated-gradle-jars" when: succeeds("classes") then:
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Nov 16 22:36:52 UTC 2023 - 3K bytes - Viewed (0) -
platforms/extensibility/plugin-development/src/integTest/groovy/org/gradle/plugin/devel/impldeps/BaseGradleImplDepsTestCodeIntegrationTest.groovy
import org.gradle.api.Plugin; public class MyPlugin implements Plugin<Project> { public void apply(Project p) {} } """ } protected TestFile testCode() { file("src/test/java/org/acme/BaseTestPluginTest.java") << """ package org.acme; import org.gradle.testkit.runner.GradleRunner; import org.junit.Test;
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Nov 16 22:36:52 UTC 2023 - 1.6K bytes - Viewed (0) -
src/cmd/compile/internal/test/ssa_test.go
t.Skip("not run in short mode.") } runGenTest(t, "flowgraph_generator1.go", "ssa_fg_tmp1") } // TestCode runs all the tests in the testdata directory as subtests. // These tests are special because we want to run them with different // compiler flags set (and thus they can't just be _test.go files in // this directory). func TestCode(t *testing.T) { testenv.MustHaveGoBuild(t) gotool := testenv.GoToolPath(t)
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Sep 05 23:35:29 UTC 2023 - 4.9K bytes - Viewed (0) -
test/rangegen.go
code1 := gen(b, "testSlice"+s, "_, ", "slice2", i, double, func(c int) bool { return c == j || c == k }) if code0 != code1 { panic("bad generator") } tests += "test" + s + "()\n" p(b, testCode, "test"+s, []int{j, k}, "testFunc"+s, "testSlice"+s) flush(false) } } } } for i := 1; i <= max; i++ { maxDouble := -1 if long { maxDouble = i }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Dec 18 23:35:19 UTC 2023 - 8.4K bytes - Viewed (0) -
platforms/jvm/testing-jvm/src/integTest/groovy/org/gradle/testing/junit/platform/JUnitPlatformEnvironmentIntegrationTest.groovy
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon Sep 18 20:52:40 UTC 2023 - 11.5K bytes - Viewed (0) -
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) -
pkg/controller/volume/attachdetach/statusupdater/node_status_updater_test.go
} } } } // TestNodeStatusUpdater_UpdateNodeStatusForNode calls setup // calls UpdateNodeStatusesForNode on testnode-1 // check that asw.GetVolumesToReportAttached reports testnode-2 needs to be reported // checks that testnode-1 status.volumesAttached is of length 1 and contains the correct volume func TestNodeStatusUpdater_UpdateNodeStatusForNode(t *testing.T) { ctx := context.Background()
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue Mar 14 00:37:30 UTC 2023 - 8.4K 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)