- Sort Score
- Result 10 results
- Languages All
Results 121 - 130 of 398 for withArgument (0.17 sec)
-
platforms/jvm/code-quality/src/integTest/groovy/org/gradle/api/plugins/quality/codenarc/CodeNarcPluginToolchainsIntegrationTest.groovy
*/ @TargetCoverage({ CodeNarcCoverage.ALL }) class CodeNarcPluginToolchainsIntegrationTest extends MultiVersionIntegrationSpec implements JavaToolchainFixture { def setup() { executer.withArgument("--info") } def "uses jdk from toolchains set through java plugin"() { given: def jdk = setupExecutorForToolchains() assumeToolchainJdkIsCompatibleWithCodeNarcVersion(jdk.javaVersion)
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Wed Jun 21 12:23:38 UTC 2023 - 6.8K bytes - Viewed (0) -
platforms/core-execution/build-cache-http/src/integTest/groovy/org/gradle/caching/http/internal/HttpBuildCacheConfigurationBuildOperationIntegrationTest.groovy
enabled = true url = "$url/" } } """ executer.withBuildCacheEnabled().withArgument('--offline') when: succeeds("help") then: !result().remoteEnabled } def "remote build cache configuration details is not exposed when disabled"() {
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri Sep 22 09:43:12 UTC 2023 - 6K bytes - Viewed (0) -
platforms/core-runtime/launcher/src/test/groovy/org/gradle/launcher/continuous/ContinuousIntegrationTestFixtureTest.groovy
gradleExecuter.withStdinPipe() >> gradleExecuter gradleExecuter.withTasks(_) >> gradleExecuter gradleExecuter.withForceInteractive(_) >> gradleExecuter gradleExecuter.withArgument(_) >> gradleExecuter gradleExecuter.start() >> gradleHandle gradleHandle.getErrorOutput() >> '' gradleHandle.isRunning() >>> [true, false] gradleHandle }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri Sep 22 09:29:13 UTC 2023 - 4.3K bytes - Viewed (0) -
platforms/jvm/testing-jvm/src/integTest/groovy/org/gradle/testing/AbstractTestOutputListenerIntegrationTest.groovy
} test.${configureTestFramework} test.testLogging { showStandardStreams = true } """ when: executer.withArgument('-i') succeeds('test') then: outputContains('message from foo') }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon Sep 18 20:52:40 UTC 2023 - 5.5K bytes - Viewed (0) -
platforms/software/dependency-management/src/integTest/groovy/org/gradle/integtests/resolve/maven/MavenDynamicResolveIntegrationTest.groovy
def repo2 = mavenHttpRepo("repo2") def projectA1 = repo1.module('group', 'projectA', '1.1').publish() def projectA2 = repo2.module('group', 'projectA', '1.5').publish() executer.withArgument("-D${SOCKET_TIMEOUT_SYSTEM_PROPERTY}=1000") buildFile << createBuildFile(repo1.uri, repo2.uri) when: repo1.getModuleMetaData("group", "projectA").expectGet()
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue Oct 10 21:10:11 UTC 2023 - 15.1K bytes - Viewed (0) -
platforms/software/dependency-management/src/integTest/groovy/org/gradle/integtests/resolve/rocache/AbstractReadOnlyCacheDependencyResolutionTest.groovy
doLast { configurations.compileClasspath.files $queries } } """ executer.withArgument("--no-configuration-cache") // task uses Configuration API run ":populateCache" executer.stop() copyToReadOnlyCache() buildFile.setText("") buildFile << """
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri Mar 22 01:27:55 UTC 2024 - 7.6K bytes - Viewed (0) -
subprojects/composite-builds/src/integTest/groovy/org/gradle/integtests/composite/AbstractCompositeBuildIntegrationTest.groovy
List<File> includedBuilds = Lists.newArrayList(includedBuilds) includedBuilds.each { includeBuild(it) } for (String arg : arguments) { executer.withArgument(arg) } } protected void executed(String... tasks) { for (String task : tasks) { result.assertTaskExecuted(task) } }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri Aug 19 21:32:57 UTC 2022 - 6.7K bytes - Viewed (0) -
subprojects/core/src/integTest/groovy/org/gradle/api/CrossBuildScriptCachingIntegrationSpec.groovy
'init.gradle'(""" // init script ${this.instrument('"init"')} """) } } when: executer.withArgument('-Igradle/init.gradle') run 'help' then: def scripts = scriptDetails() scripts.size() == 2 hasScript('init', scripts)
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon May 20 17:32:21 UTC 2024 - 24.2K bytes - Viewed (0) -
subprojects/core/src/integTest/groovy/org/gradle/api/ApplyPluginIntegSpec.groovy
} } """ and: buildFile << junitBasedBuildScript() buildFile << addOpens() expect: executer.withArgument("--info") succeeds("test") } def "generated Gradle API JAR in custom Gradle user home is reused across multiple invocations"() { requireOwnGradleUserHomeDir() given:
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri Sep 01 03:07:53 UTC 2023 - 7.8K bytes - Viewed (0) -
platforms/documentation/samples/src/integTest/groovy/org/gradle/integtests/samples/java/SamplesJavaTestingIntegrationTest.groovy
executer.inDirectory(dslDir).withArgument("-PmySkipTests") def result = succeeds("build") then: result.assertTaskSkipped(":test") when: "run second time to restore from configuration cache if it is enabled" executer.inDirectory(dslDir).withArgument("-PmySkipTests") def secondResult = succeeds("build") then:
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon Nov 27 17:53:42 UTC 2023 - 12.8K bytes - Viewed (0)