- Sort Score
- Result 10 results
- Languages All
Results 21 - 30 of 40 for withArgument (0.28 sec)
-
platforms/core-execution/persistent-cache/src/integTest/groovy/org/gradle/cache/internal/DefaultFileLockManagerContentionIntegrationTest.groovy
def build1 = executer.withStackTraceChecksDisabled().withArguments("-d").withTasks("lock").start() def build2 = executer.withStackTraceChecksDisabled().withArguments("-d").withTasks("lock").start() def build3 = executer.withStackTraceChecksDisabled().withArguments("-d").withTasks("lock").start() poll(120) { assert requestReceived
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue Jun 11 09:51:15 UTC 2024 - 15.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 messages.size() == 2
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-configuration/configuration-cache/src/integTest/groovy/org/gradle/internal/cc/impl/isolated/IsolatedProjectsToolingApiParallelConfigurationIntegrationTest.groovy
given: server.expect("configure-root") server.expectConcurrent("model-root", "configure-a", "configure-b") server.expectConcurrent("model-a", "model-b") when: executer.withArguments(ENABLE_CLI) def model = runBuildAction(new FetchCustomModelForEachProjectInParallel()) then: model.size() == 3 model[0].message == "It works from project :"
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Sat Jun 08 11:29:25 UTC 2024 - 10.6K bytes - Viewed (0) -
platforms/core-configuration/configuration-cache/src/integTest/groovy/org/gradle/internal/cc/impl/fixtures/ToolingApiSpec.groovy
def args = executer.allArgs args.remove("--no-daemon") model = connection.model(type) .forTasks(tasks) .withArguments(args) .setStandardOutput(new TeeOutputStream(output, System.out)) .setStandardError(new TeeOutputStream(error, System.err)) .get()
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Sat Jun 08 11:29:25 UTC 2024 - 15.1K bytes - Viewed (0) -
subprojects/core/src/integTest/groovy/org/gradle/NativeServicesIntegrationTest.groovy
executer.requireDaemon() executer.requireIsolatedDaemons() when: executer.withArguments("-D$NATIVE_SERVICES_OPTION=$firstRunNativeServicesOption") succeeds() then: daemons.daemon.becomesIdle() when: executer.withArguments("-D$NATIVE_SERVICES_OPTION=$secondRunNativeServicesOption") succeeds() then:
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Wed May 22 05:18:22 UTC 2024 - 10.9K bytes - Viewed (0) -
platforms/core-configuration/configuration-cache/src/integTest/groovy/org/gradle/internal/cc/impl/ConfigurationCacheTestKitIntegrationTest.groovy
runner.withJvmArguments("-javaagent:${agentJar}") if (!GradleContextualExecuter.embedded) { runner.withGradleInstallation(buildContext.gradleHomeDir) } runner.withArguments("--configuration-cache") runner.forwardOutput() runner.withProjectDir(testDirectory) runner.withPluginClasspath([new File("some-dir")]) def result = runner.buildAndFail()
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Sat Jun 08 11:29:25 UTC 2024 - 9.9K bytes - Viewed (0) -
platforms/ide/tooling-api/src/crossVersionTest/groovy/org/gradle/integtests/tooling/r25/TaskProgressCrossVersionSpec.groovy
when: def events = ProgressEvents.create() withConnection { ProjectConnection connection -> connection.newBuild().withArguments("-Dorg.gradle.parallel.intra=true", '--parallel', '--max-workers=2').forTasks('parallelTasks').addProgressListener(events).run() } then: events.tasks.size() == 3
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu May 16 10:10:39 UTC 2024 - 13.5K bytes - Viewed (0) -
build-logic/binary-compatibility/src/test/kotlin/gradlebuild/binarycompatibility/AbstractBinaryCompatibilityTest.kt
val inputBuildDir = setupRunBinaryCompatibility(v1, v2) val runner = GradleRunner.create() .withProjectDir(inputBuildDir) .withPluginClasspath() .withArguments(":binary-compatibility:checkBinaryCompatibility", "-s") val (buildResult, failure) = try { runner.build()!! to null } catch (ex: UnexpectedBuildFailure) {
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue Jun 04 14:00:46 UTC 2024 - 16.4K bytes - Viewed (0) -
subprojects/core/src/integTest/groovy/org/gradle/api/FinalizerTaskIntegrationTest.groovy
requestedTasks << [['a'], ['a', 'b'], ['d', 'a']] } void 'finalizer tasks work with task excluding (#excludedTask)'() { setupProject() executer.beforeExecute { withArguments('-x', excludedTask) } tasksNotInGraph.each { task -> buildFile << """ gradle.taskGraph.whenReady { graph -> assert !graph.hasTask('$task')
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri May 17 13:27:33 UTC 2024 - 32.3K bytes - Viewed (0) -
platforms/ide/tooling-api/src/crossVersionTest/groovy/org/gradle/integtests/tooling/r27/TestLauncherCrossVersionSpec.groovy
withFailingTest() when: launchTests { TestLauncher testLauncher -> // --continue set to run both test tasks testLauncher.withJvmTestClasses("example.MyFailingTest").withArguments("--continue") } then: assertTaskExecuted(":test") assertTaskExecuted(":secondTest")
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu May 16 10:10:39 UTC 2024 - 10.9K bytes - Viewed (0)