- Sort Score
- Result 10 results
- Languages All
Results 151 - 160 of 402 for withArgument (0.17 sec)
-
platforms/core-execution/build-cache-http/src/integTest/groovy/org/gradle/caching/http/internal/HttpBuildCacheServiceErrorHandlingIntegrationTest.groovy
httpBuildCacheServer.blockIncomingConnectionsForSeconds = 10 settingsFile << withHttpBuildCacheServer() when: executer.withArgument("-D${SOCKET_TIMEOUT_SYSTEM_PROPERTY}=1000") withBuildCache().run("customTask") then: output =~ /Could not load entry .* from remote build cache: Read timed out/ }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri Sep 22 09:43:12 UTC 2023 - 7.1K bytes - Viewed (0) -
platforms/jvm/language-java/src/integTest/groovy/org/gradle/java/compile/incremental/AbstractSourceIncrementalCompilationIntegrationTest.groovy
source("class B {}") source("class C {}") outputs.snapshot { run language.compileTaskName } when: source("class B { String change; }") executer.withArgument "--info" run language.compileTaskName then: outputs.recompiledClasses("A", "B") } def "can remove source root"() { def toBeRemoved = file("to-be-removed")
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon Aug 28 11:40:18 UTC 2023 - 16.5K bytes - Viewed (0) -
testing/soak/src/integTest/groovy/org/gradle/vfs/FileSystemWatchingSoakTest.groovy
return sourceFile } } executer.beforeExecute { withWatchFs() // running in parallel, so the soak test doesn't take this long. withArgument("--parallel") vfsLogs = enableVerboseVfsLogs() inDirectory(rootProject) } } def "file watching works with multiple builds on the same daemon"() {
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Apr 04 07:21:38 UTC 2024 - 8.6K bytes - Viewed (0) -
platforms/software/dependency-management/src/integTest/groovy/org/gradle/integtests/resolve/transform/ArtifactTransformWithDependenciesIntegrationTest.groovy
} """ } def "transform can access artifact dependencies as a set of files when using ArtifactView"() { given: setupBuildWithSingleStep() when: executer.withArgument("--parallel") run ":app:resolveGreen" then: output.count('Transforming') == 5
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue Oct 24 06:54:47 UTC 2023 - 54.2K bytes - Viewed (0) -
platforms/jvm/code-quality/src/integTest/groovy/org/gradle/api/plugins/quality/checkstyle/CheckstylePluginToolchainsIntegrationTest.groovy
@TargetCoverage({ CheckstyleCoverage.getSupportedVersionsByJdk() }) class CheckstylePluginToolchainsIntegrationTest extends MultiVersionIntegrationSpec implements JavaToolchainFixture { def setup() { executer.withArgument("--info") } def "uses jdk from toolchains set through java plugin"() { given: goodCode() writeDummyConfig() def jdk = setupExecutorForToolchains()
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Wed Aug 16 22:34:07 UTC 2023 - 10.5K bytes - Viewed (0) -
platforms/jvm/plugins-java/src/integTest/groovy/org/gradle/java/compile/daemon/JavaCompileDaemonCancellationIntegrationTest.groovy
and: pidFile().exists() def pid2 = pidFile().text.strip() as long pid2 == pid1 } private void startBuild(String task) { executer .withArgument('--debug') .withWorkerDaemonsExpirationDisabled() .withTasks(task) client = new DaemonClientFixture(executer.start()) } private void cancelBuild() {
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu May 30 19:57:50 UTC 2024 - 8.8K bytes - Viewed (0) -
testing/internal-integ-testing/src/main/groovy/org/gradle/integtests/fixtures/AbstractIntegrationSpec.groovy
m2.assertNoLeftoverState() m2.isolateMavenLocalRepo(executer) executer.beforeExecute { withArgument("-Dorg.gradle.internal.repository.max.tentatives=$maxHttpRetries") if (maxUploadAttempts != null) { withArgument("-Dorg.gradle.internal.network.retry.max.attempts=$maxUploadAttempts") } } } def cleanup() {
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue Jun 11 09:07:53 UTC 2024 - 32.9K bytes - Viewed (0) -
testing/soak/src/integTest/groovy/org/gradle/resolve/DependencyResolutionStressTest.groovy
requireDaemon().requireIsolatedDaemons(). withGradleUserHomeDir(workspace.file("user-home")) 8.times { executer.inDirectory(buildDir).withArgument("--refresh-dependencies").withTasks('check').run() } } } concurrent.finished() } static class StressHttpServer extends ExternalResource {
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Apr 04 07:21:38 UTC 2024 - 10.2K bytes - Viewed (0) -
subprojects/core/src/integTest/groovy/org/gradle/api/tasks/IncrementalInputsIntegrationTest.groovy
} def previousExecution() { run "incremental" } def failedExecution() { executer.withArgument("-DforceFail=yep") assert fails("incremental") executer.withArguments() } void executesIncrementally(Map changes) { executesIncrementalTask(incremental: true, *:changes) }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri Dec 23 12:52:29 UTC 2022 - 27.8K bytes - Viewed (0) -
subprojects/core/src/integTest/groovy/org/gradle/api/tasks/GradleBuildTaskIntegrationTest.groovy
barrier.expectConcurrent("child-build-finished", "1-finished", "2-finished") } when: runs.times { executer.withArgument("--parallel") run 'otherBuild' } then: noExceptionThrown() and: def runNestedBuildOps = buildOperations.all(RunNestedBuildBuildOperationType)
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon May 20 11:16:24 UTC 2024 - 10.2K bytes - Viewed (0)