- Sort Score
- Result 10 results
- Languages All
Results 71 - 80 of 92 for withArgument (0.2 sec)
-
platforms/core-configuration/configuration-cache/src/integTest/groovy/org/gradle/internal/cc/impl/inputs/undeclared/UndeclaredBuildInputsTestKitInjectedJavaPluginIntegrationTest.groovy
} runner.withTestKitDir(testKitDir) runner.withProjectDir(workingDir) def args = allArgs args.remove("--no-daemon") runner.withArguments(args) runner.withPluginClasspath(pluginClasspath) runner.withEnvironment(environmentVars) runner.forwardOutput() runner } }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Sat Jun 08 11:29:25 UTC 2024 - 4.8K bytes - Viewed (0) -
build-logic/binary-compatibility/src/test/kotlin/gradlebuild/binarycompatibility/AbstractAcceptedApiChangesMaintenanceTaskIntegrationTest.kt
fun run(vararg args: String) = GradleRunner.create() .withProjectDir(projectDir) .withTestKitDir(projectDir.resolve("test-kit")) .withPluginClasspath() .forwardOutput() .withArguments(*args) protected fun assertChangesProperlyOrdered() { val result = run(":verifyAcceptedApiChangesOrdering").build()
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue Jun 04 14:00:46 UTC 2024 - 6K bytes - Viewed (0) -
platforms/software/dependency-management/src/integTest/groovy/org/gradle/integtests/resolve/artifactreuse/ArtifactResolutionQueryIntegrationTest.groovy
configurations.compileClasspath.files.collect { it.file } } } } """ executer.requireOwnGradleUserHomeDir().requireIsolatedDaemons() expect: def build = executer.withArguments('query:query', ':resolve:resolve', '--parallel').start() handler.waitForAllPendingCalls() handler.release('/sync') Thread.sleep(1000) handler.release(module.pom.path)
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Wed May 15 00:21:07 UTC 2024 - 5.8K bytes - Viewed (0) -
subprojects/core/src/integTest/groovy/org/gradle/api/services/BuildServiceParallelExecutionIntegrationTest.groovy
blockingServer.expectConcurrent(2, "a", "b", "c") run ":a:ping", ":b:ping", ":c:ping" } void withParallelThreads(int threadCount) { executer.beforeExecute { withArguments("--max-workers=$threadCount", "--parallel") } }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon May 20 11:16:24 UTC 2024 - 5.2K 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) -
platforms/extensibility/test-kit/src/integTest/groovy/org/gradle/testkit/runner/enduser/GradleRunnerMiscEndUserIntegrationTest.groovy
} ''' when: def result = GradleRunner.create() .withProjectDir(testProjectDir) .withArguments('helloWorld') .withDebug($debug) .build() then: noExceptionThrown() } } """
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon Jun 10 14:28:48 UTC 2024 - 6.8K bytes - Viewed (0) -
platforms/ide/tooling-api/src/crossVersionTest/groovy/org/gradle/integtests/tooling/r35/CacheableTaskProgressEventsCrossVersionSpec.groovy
} private void runCacheableBuild(listener, String task = "cacheable") { withConnection { ProjectConnection connection -> connection.newBuild().withArguments("--build-cache").forTasks(task).addProgressListener(listener, EnumSet.of(OperationType.GENERIC, OperationType.TASK)).run() } } int maybeIncludeLocalBuildOperations(int expectedNumber) {
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu May 16 10:10:39 UTC 2024 - 5.8K 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/r18/BuildActionCrossVersionSpec.groovy
initScript << 'throw new RuntimeException("broken")' when: withConnection { it.action(new ActionQueriesModelThatRequiresOnlySettingsEvaluation()) .withArguments("-I${initScript}") .run() } then: BuildActionFailureException e = thrown() e.message.startsWith('The supplied build action failed with an exception.')
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu May 16 10:10:39 UTC 2024 - 7.2K bytes - Viewed (0) -
testing/public-api-tests/src/integTest/groovy/org/gradle/api/PublicApiIntegrationTest.groovy
createBuildFile("plugins { id 'org.example.test' }"); BuildResult result = GradleRunner.create() .withProjectDir(testProjectDir) .withArguments("customTask") .withPluginClasspath() .build(); assertTrue(result.getOutput().contains("Hello from plugin"));
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri Jun 07 08:43:08 UTC 2024 - 8.8K bytes - Viewed (0)