- Sort Score
- Result 10 results
- Languages All
Results 101 - 110 of 128 for withArgument (0.2 sec)
-
platforms/core-configuration/kotlin-dsl/src/testFixtures/kotlin/org/gradle/kotlin/dsl/fixtures/AbstractKotlinIntegrationTest.kt
gradleExecuterFor(arguments, rootDir).run() protected fun gradleExecuterFor(arguments: Array<out String>, rootDir: File = projectRoot) = inDirectory(rootDir).withArguments(*arguments) protected inline fun withOwnGradleUserHomeDir(reason: String, block: () -> Unit) { executer.requireOwnGradleUserHomeDir(reason) try { block()
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri Mar 15 16:44:39 UTC 2024 - 9.9K bytes - Viewed (0) -
testing/internal-performance-testing/src/main/groovy/org/gradle/performance/fixture/CrossVersionPerformanceTestRunner.groovy
def toolingApiInvoker = (ToolingApiGradleClient) buildInvoker toolingApiInvoker.runOperation(initialAction) { builder -> builder.setJvmArguments(jvmArgs) builder.withArguments(gradleArgs) tapiAction.accept(builder) } }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Apr 25 14:54:56 UTC 2024 - 11.7K bytes - Viewed (0) -
build-logic/buildquality/src/test/kotlin/gradlebuild/testcleanup/TestFilesCleanupServiceTest.kt
fun run(vararg args: String) = GradleRunner.create() .withProjectDir(projectDir) .withTestKitDir(projectDir.resolve("test-kit")) .withPluginClasspath() .forwardOutput() .withArguments(*args) private fun assertArchivedFilesSeen(vararg archiveFileNames: String) { val rootDirFiles = projectDir.resolve("build").walk().toList() archiveFileNames.forEach { fileName ->
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Wed Jun 14 12:35:52 UTC 2023 - 10.6K 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) -
platforms/core-configuration/kotlin-dsl-integ-tests/src/integTest/kotlin/org/gradle/kotlin/dsl/plugins/dsl/KotlinDslPluginTest.kt
.withProjectDir(projectRoot) .withPluginClasspath() .forwardOutput() // when: val result = runner.withArguments("help").build() // then: require("Plugin Using Embedded Kotlin " in result.output) } } """ )
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon Oct 30 11:39:02 UTC 2023 - 11.2K bytes - Viewed (0) -
platforms/extensibility/test-kit/src/main/java/org/gradle/testkit/runner/internal/ToolingApiGradleExecutor.java
launcher.setStandardInput(parameters.getStandardInput()); } launcher.addProgressListener(new TaskExecutionProgressListener(tasks), OperationType.TASK); launcher.withArguments(parameters.getBuildArgs().toArray(new String[0])); launcher.setJvmArguments(parameters.getJvmArgs().toArray(new String[0])); launcher.setEnvironmentVariables(parameters.getEnvironment());
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon Feb 05 14:27:21 UTC 2024 - 13.1K bytes - Viewed (0) -
platforms/jvm/language-java/src/integTest/groovy/org/gradle/api/tasks/compile/JavaCompileProblemsIntegrationTest.groovy
generator.addWarning() generator.save() possibleFileLocations.put(generator.sourceFile.absolutePath, 1) when: executer.withArguments("--info") withInstallations(AvailableJavaHomes.getJdk(JavaVersion.VERSION_1_8)) succeeds(":compileJava") then: outputContains(DiagnosticToProblemListener.FORMATTER_FALLBACK_MESSAGE)
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Jun 06 16:15:29 UTC 2024 - 24K bytes - Viewed (0) -
platforms/jvm/testing-jvm/src/integTest/groovy/org/gradle/testing/AbstractTestTaskIntegrationTest.groovy
} and: buildFile << """ test { maxParallelForks = $maxParallelForks } """.stripIndent() when: executer.withArguments("--max-workers=${maxWorkers}", "-i") succeeds 'test' then: output.contains("test.maxParallelForks ($maxParallelForks) is larger than max-workers ($maxWorkers), forcing it to $maxWorkers")
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon Sep 18 20:52:40 UTC 2023 - 11.2K bytes - Viewed (0) -
build-logic/packaging/src/test/kotlin/gradlebuild/instrumentation/InstrumentationMetadataPluginTest.kt
} } private fun runner() = GradleRunner.create() .withProjectDir(projectRoot) .withPluginClasspath() .forwardOutput() .withArguments(":distribution:mergeInstrumentedSuperTypes", ":distribution:mergeUpgradedProperties", "--stacktrace") private fun assertSucceeds() { runner().build() } private
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Sep 28 10:55:53 UTC 2023 - 10.9K bytes - Viewed (0) -
subprojects/core-api/src/main/java/org/gradle/api/reflect/TypeOf.java
if (!parameterizedModelType.isParameterized()) { throw new IllegalArgumentException("Expecting a parameterized type, got: " + parameterizedType + "."); } return typeOf(parameterizedModelType.withArguments(modelTypeListFrom(typeArguments))); } private final ModelType<T> type; private TypeOf(ModelType<T> type) { this.type = type; } protected TypeOf() {
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri Apr 26 09:45:59 UTC 2024 - 10.9K bytes - Viewed (0)