- Sort Score
- Result 10 results
- Languages All
Results 131 - 140 of 5,566 for Executer (0.17 sec)
-
platforms/ide/tooling-api/src/crossVersionTest/groovy/org/gradle/integtests/tooling/m8/ToolingApiLoggingCrossVersionSpec.groovy
def executer = targetDist.executer(temporaryFolder, getBuildContext()) .withCommandLineGradleOpts("-Dorg.gradle.deprecation.trace=false") //suppress deprecation stack trace if (targetDist.toolingApiMergesStderrIntoStdout) { // The TAPI provider merges the streams, so need to merge the streams for command-line execution too executer.withArgument("--console=plain")
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue Sep 26 14:49:20 UTC 2023 - 6.5K bytes - Viewed (0) -
platforms/documentation/samples/src/integTest/groovy/org/gradle/integtests/samples/files/SamplesArchivesIntegrationTest.groovy
@Rule Sample sample = new Sample(testDirectoryProvider) @UsesSample("files/copy") def "can archive a directory with #dsl dsl"() { given: def dslDir = sample.dir.file(dsl) executer.inDirectory(dslDir) def archivesDir = dslDir.file("build/toArchive") archivesDir.createDir().file("my-report.pdf").touch() archivesDir.createDir().file("numbers.csv").touch()
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon Nov 27 17:53:42 UTC 2023 - 5.2K bytes - Viewed (0) -
platforms/software/dependency-management/src/integTest/groovy/org/gradle/integtests/resolve/ConfigurationBuildDependenciesIntegrationTest.groovy
""" when: executer.withArgument("--dry-run") run 'useCompileConfiguration' then: server.resetExpectations() when: // Expect downloads when task executed module.pom.expectGet() module.artifact.expectGet() run 'useCompileConfiguration' then: executed ":child:jar", ":useCompileConfiguration" }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue Apr 02 20:50:18 UTC 2024 - 14.5K bytes - Viewed (0) -
platforms/core-configuration/kotlin-dsl/src/integTest/kotlin/org/gradle/kotlin/dsl/compile/AbstractCompileAvoidanceIntegrationTest.kt
val output = executer.withTasks(*tasks).run().normalizedOutput return BuildOperationsAssertions(buildOperations, output) } protected fun configureProjectAndExpectCompileAvoidanceWarnings(vararg tasks: String): BuildOperationsAssertions { val buildOperations = BuildOperationsFixture(executer, testDirectoryProvider)
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Sun Sep 24 17:45:43 UTC 2023 - 4.6K bytes - Viewed (0) -
testing/internal-integ-testing/src/main/groovy/org/gradle/test/fixtures/server/http/SocksProxyServer.groovy
} void configureProxy(GradleExecuter executer) { if (port == 0) { port = portFinder.assignPort() } // Daemon | Test worker // build -> proxy(localhost) -> repo(localhost) // -> 127.0.0.1 // executer.withArgument('-DsocksProxyHost=localhost') executer.withArgument("-DsocksProxyPort=${port}")
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Apr 04 07:21:38 UTC 2024 - 2.8K bytes - Viewed (0) -
testing/internal-integ-testing/src/main/groovy/org/gradle/integtests/fixtures/AbstractAutoTestedSamplesTest.groovy
if (tagSuffix.contains('WithDeprecations')) { executer.noDeprecationChecks() } fileToTest.text = sample executer .withTasks('help') .withArguments("--stacktrace", "--init-script", settingsEvaluatedHook.absolutePath) beforeSample(file, tagSuffix) executer.run() fileToTest.delete() } }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Apr 04 07:21:38 UTC 2024 - 2.6K bytes - Viewed (0) -
testing/integ-test/src/integTest/groovy/org/gradle/integtests/StdioIntegrationTest.groovy
import org.gradle.util.internal.TextUtil class StdioIntegrationTest extends AbstractIntegrationSpec { def setup() { executer.requireDaemon() // This isn't actually required - the test is fine with shared daemons // In fact, it would be much better to test this feature using shared daemons executer.requireIsolatedDaemons() } def "task can read stdin when stdin has bounded length"() { given:
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue Apr 30 05:02:18 UTC 2024 - 2.7K bytes - Viewed (0) -
platforms/software/resources-gcs/src/integTest/groovy/org/gradle/integtests/resource/gcs/maven/MavenPublishGcsErrorsIntegrationTest.groovy
@Rule public final GcsServer server = new GcsServer(temporaryFolder) def setup() { executer.withArgument('-i') executer.withArgument("-D${GCS_ENDPOINT_PROPERTY}=${server.uri}") executer.withArgument("-D${GCS_SERVICE_PATH_PROPERTY}=/") executer.withArgument("-D${GCS_DISABLE_AUTH_PROPERTY}=true") }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Oct 12 19:38:08 UTC 2023 - 3.1K bytes - Viewed (0) -
platforms/core-configuration/configuration-cache/src/integTest/groovy/org/gradle/internal/cc/impl/isolated/IsolatedProjectsToolingApiPhasedBuildActionIntegrationTest.groovy
""" buildFile << """ plugins.apply(my.MyPlugin) """ file("a/build.gradle") << """ plugins.apply(my.MyPlugin) """ when: executer.withArguments(ENABLE_CLI) def models = runPhasedBuildAction(new FetchPartialCustomModelForEachProject(), new FetchCustomModelForEachProject()) then: def messages = models.left
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Sat Jun 08 11:29:25 UTC 2024 - 10.4K bytes - Viewed (0) -
platforms/core-runtime/launcher/src/integTest/groovy/org/gradle/launcher/daemon/ProcessCrashHandlingIntegrationTest.groovy
} } """ when: executer.withStackTraceChecksDisabled() // daemon log may contain stack traces executer.noDaemonCrashChecks() def block = server.expectAndBlock("block") def build = executer.withTasks("block").start() block.waitForAllPendingCalls() block.releaseAll()
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri Sep 22 09:29:13 UTC 2023 - 12.1K bytes - Viewed (0)