- Sort Score
- Result 10 results
- Languages All
Results 31 - 40 of 402 for withArgument (0.19 sec)
-
platforms/software/resources-http/src/testFixtures/groovy/org/gradle/integtests/fixtures/AbstractHttpDependencyResolutionTest.groovy
@Rule public final RepositoryHttpServer server = new RepositoryHttpServer(temporaryFolder) def setup() { executer.beforeExecute { executer.withArgument("-D${SOCKET_TIMEOUT_SYSTEM_PROPERTY}=60000") executer.withArgument("-D${CONNECTION_TIMEOUT_SYSTEM_PROPERTY}=60000") } } IvyHttpRepository getIvyHttpRepo(HttpRepository.MetadataType metadataType = HttpRepository.MetadataType.DEFAULT) {
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Oct 12 19:38:08 UTC 2023 - 2.7K bytes - Viewed (0) -
platforms/software/version-control/src/integTest/groovy/org/gradle/vcs/internal/OfflineSourceDependencyIntegrationTest.groovy
repo.expectCloneSomething() succeeds('resolve') when: executer.withArgument('--offline') succeeds('resolve') then: noExceptionThrown() } def "fails when previous checkout is not available"() { when: executer.withArgument('--offline') fails('resolve') then:
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue Apr 02 20:50:18 UTC 2024 - 3K bytes - Viewed (0) -
platforms/software/dependency-management/src/testFixtures/groovy/org/gradle/integtests/resolve/transform/ArtifactTransformTestFixture.groovy
executer.withArgument("-D${projectName}OutputDir=${buildDirPath}") } void setOutputFileName(String outputFileName) { executer.withArgument("-D${projectName}FileName=${outputFileName}") } void setOutputDirName(String outputDirName) { executer.withArgument("-D${projectName}DirName=${outputDirName}") }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri Oct 20 15:06:39 UTC 2023 - 21.7K bytes - Viewed (0) -
testing/integ-test/src/integTest/groovy/org/gradle/integtests/MultiProjectDependencyIntegrationTest.groovy
allprojects { apply plugin: 'java-library' task copyLibs(type: Copy) { from configurations.runtimeClasspath into 'deps' } compileJava.dependsOn copyLibs } """ executer.withArgument('--info') } def "project dependency c->[a,b]"() { projectDependency from: 'c', to: ['a', 'b'] when: run ':c:build' then: jarsBuilt 'a', 'b', 'c'
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Apr 04 07:21:38 UTC 2024 - 7.1K bytes - Viewed (0) -
platforms/core-configuration/configuration-cache/src/integTest/groovy/org/gradle/internal/cc/impl/ConfigurationCacheRemoteBuildScriptIntegrationTest.groovy
print 'update remote script' """ and: executer.withArgument("--offline") configurationCacheRun 'ok' then: configurationCache.assertStateStored() and: outputDoesNotContain 'update remote script' when: executer.withArgument("--offline") configurationCacheRun 'ok' then:
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Sat Jun 08 11:29:25 UTC 2024 - 3.1K bytes - Viewed (0) -
platforms/core-runtime/launcher/src/integTest/groovy/org/gradle/launcher/daemon/DaemonReuseIntegrationTest.groovy
expectEvent("block") def client = new DaemonClientFixture(executer.withArgument("--debug").withTasks("block").start()) waitFor("started") daemons.daemon.assertBusy() client.kill() daemons.daemon.becomesCanceled() when: def build = executer.withTasks("help").withArguments("--info").start() ConcurrentTestUtil.poll {
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri Sep 22 09:29:13 UTC 2023 - 10.1K bytes - Viewed (0) -
platforms/software/dependency-management/src/integTest/groovy/org/gradle/integtests/resolve/http/AbstractHttpsRepoResolveIntegrationTest.groovy
keyStore.enableSslWithServerCert(server) setupBuildFile(repoType) when: keyStore.configureServerAndClientCerts(executer) executer.withArgument("-Djavax.net.ssl.keyStore=Not-Existing-File").withArgument("--stacktrace") fails "libs" then: failure.assertHasCause("Could not resolve my-group:my-module:1.0")
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue Oct 10 21:10:11 UTC 2023 - 6.2K bytes - Viewed (0) -
platforms/software/dependency-management/src/integTest/groovy/org/gradle/integtests/resolve/UnsafeConfigurationResolutionDeprecationIntegrationTest.groovy
bar } dependencies { bar "test:test-jar:1.0" } } """ executer.withArgument("--parallel") expect:
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Mar 28 20:27:07 UTC 2024 - 13.4K bytes - Viewed (0) -
platforms/software/resources-s3/src/integTest/groovy/org/gradle/integtests/resource/s3/maven/MavenPublishS3ErrorsIntegrationTest.groovy
String bucket = 'tests3bucket' String repositoryPath = '/maven/release/' @Rule public final S3Server server = new S3Server(temporaryFolder) def setup() { executer.withArgument('-d') executer.withArgument("-Dorg.gradle.s3.endpoint=${server.uri}") executer.withStackTraceChecksDisabled() } def "should fail with an authentication error"() { setup:
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Oct 12 19:38:08 UTC 2023 - 3.9K bytes - Viewed (0) -
platforms/jvm/testing-jvm/src/integTest/groovy/org/gradle/testing/ParallelTestExecutionIntegrationTest.groovy
run("testClasses") and: executer.withArgument "--max-workers=$maxWorkers" and: def calls = testIndices(testCount).collect { "test_$it" } as String[] def handler = blockingServer.expectConcurrentAndBlock(maxConcurrency, calls) when: def gradle = executer.withArgument("-i").withTasks('test').start() then:
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon Sep 18 20:52:40 UTC 2023 - 6.6K bytes - Viewed (0)