- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 19 for TestScript (0.13 sec)
-
platforms/documentation/docs/src/snippets/groovy/quickstart/kotlin/src/test/resources/testScript.groovy
Laura Kassovic <******@****.***> 1701107622 -0800
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon Nov 27 17:53:42 UTC 2023 - 27 bytes - Viewed (0) -
platforms/documentation/docs/src/snippets/groovy/quickstart/groovy/src/test/resources/testScript.groovy
Laura Kassovic <******@****.***> 1701107622 -0800
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon Nov 27 17:53:42 UTC 2023 - 27 bytes - Viewed (0) -
platforms/core-configuration/model-core/src/integTest/groovy/org/gradle/api/provider/ProcessOutputProviderIntegrationTest.groovy
given: def testScript = ShellScript.builder() .printArguments() .printEnvironmentVariable("TEST_FOO") .writeTo(testDirectory, "script") buildFile """ def execProvider = providers.exec { ${cmdToExecConfig(*testScript.commandLine, "--some-arg")} environment("TEST_FOO", "fooValue")
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Sep 28 09:51:04 UTC 2023 - 8K bytes - Viewed (0) -
src/cmd/go/scriptreadme_test.go
well. Thus the example above runs in $WORK/gopath/src with GOPATH=$WORK/gopath and $WORK/gopath/src/hello.go containing the listed contents. {{.Language}} When TestScript runs a script and the script fails, by default TestScript shows the execution of the most recent phase of the script (since the last # comment) and only shows the # comments for earlier phases. For example, here is a multi-phase script with a bug in it:
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed Feb 21 22:16:54 UTC 2024 - 7.9K bytes - Viewed (0) -
subprojects/core/src/test/groovy/org/gradle/groovy/scripts/DefaultScriptCompilerFactoryTest.groovy
} final ScriptRunner<TestScript, ?> runner = Mock() final ClassLoader classLoader = Mock() final ClassLoaderScope targetScope = Stub() { createChild(_) >> Stub(ClassLoaderScope) getExportClassLoader() >> classLoader } final CompileOperation<?> operation = Mock() { getId() >> "id" } final CompiledScript<TestScript, ?> compiledScript = Mock() {
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Sat Dec 09 15:05:17 UTC 2023 - 2.9K bytes - Viewed (0) -
src/cmd/go/testdata/script/README
the user is not root. Multiple conditions may be given for a single command, for example, '[linux] [amd64] skip'. The command will run if all conditions are satisfied. When TestScript runs a script and the script fails, by default TestScript shows the execution of the most recent phase of the script (since the last # comment) and only shows the # comments for earlier phases. For example, here is a multi-phase script with a bug in it:
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed Feb 21 22:16:54 UTC 2024 - 12.5K bytes - Viewed (0) -
platforms/documentation/docs/src/snippets/groovy/quickstart/groovy/src/test/groovy/org/gradle/PersonTest.groovy
} @Test public void testResourcesAreAvailable() { assertNotNull(getClass().getResource('/testResource.txt')) assertNotNull(getClass().getResource('/testScript.groovy')) }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon Nov 27 17:53:42 UTC 2023 - 727 bytes - Viewed (0) -
src/cmd/go/internal/script/scripttest/scripttest.go
} // Run runs the script from the given filename starting at the given initial state. // When the script completes, Run closes the state. func Run(t testing.TB, e *script.Engine, s *script.State, filename string, testScript io.Reader) { t.Helper() err := func() (err error) { log := new(strings.Builder) log.WriteString("\n") // Start output on a new line for consistent indentation.
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Sep 11 20:12:18 UTC 2023 - 3.7K bytes - Viewed (0) -
src/cmd/go/testdata/script/env_cross_build.txt
# Test that the correct default GOEXPERIMENT is used when cross # building with GOENV (#46815). # Unset variables set by the TestScript harness. Users typically won't # explicitly configure these, and #46815 doesn't repro if they are. env GOOS= env GOARCH= env GOEXPERIMENT= env GOENV=windows-amd64 go build internal/abi env GOENV=ios-arm64 go build internal/abi env GOENV=linux-mips go build internal/abi -- windows-amd64 --
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed Jun 14 00:03:57 UTC 2023 - 537 bytes - Viewed (0) -
platforms/documentation/docs/src/snippets/groovy/quickstart/kotlin/src/test/groovy/org/gradle/PersonTest.groovy
} @Test public void testResourcesAreAvailable() { assertNotNull(getClass().getResource('/testResource.txt')) assertNotNull(getClass().getResource('/testScript.groovy')) }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon Nov 27 17:53:42 UTC 2023 - 727 bytes - Viewed (0)