Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 402 for withArgument (0.18 sec)

  1. platforms/core-runtime/launcher/src/integTest/groovy/org/gradle/launcher/daemon/DaemonSystemPropertiesIntegrationTest.groovy

                    }
                }
            """
    
            when:
            executer.withArgument("-Dfile.encoding=UTF-8")
            run("verify")
    
            then:
            daemons.daemons.size() == 1
    
            when:
            executer.withArgument("-Dfile.encoding=ISO-8859-1")
            run("verify")
    
            then:
            output.contains("verified = ISO-8859-1")
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 09:29:13 UTC 2023
    - 6.5K bytes
    - Viewed (0)
  2. platforms/core-runtime/launcher/src/integTest/groovy/org/gradle/launcher/daemon/DaemonToolchainCoexistWithCurrentOptionsIntegrationTest.groovy

            def otherJvmMetadata = AvailableJavaHomes.getJvmInstallationMetadata(otherJvm)
            captureJavaHome()
            executer
                .withArgument("-PtoolchainVersion=$otherJvmMetadata.javaVersion")
                .withArgument("-PtoolchainVendor=$otherJvmMetadata.vendor.knownVendor")
    
            expect:
            succeeds("help")
            assertDaemonUsedJvm(Jvm.current())
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 25 13:41:21 UTC 2024
    - 4.4K bytes
    - Viewed (0)
  3. testing/distributions-integ-tests/src/integTest/groovy/org/gradle/SrcDistributionIntegrationSpec.groovy

                inDirectory(contentsDir)
                usingExecutable('gradlew')
                withArgument("--no-configuration-cache") // TODO:configuration-cache remove me
                withTasks(':distributions-full:binDistributionZip')
                withArgument("-D${PLUGIN_PORTAL_OVERRIDE_URL_PROPERTY}=${gradlePluginRepositoryMirrorUrl()}")
                withArgument("-Porg.gradle.java.installations.paths=${Jvm.current().javaHome.absolutePath}")
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 07:21:38 UTC 2024
    - 3.7K bytes
    - Viewed (0)
  4. testing/soak/src/integTest/groovy/org/gradle/buildinit/JavaApplicationInitSoakTest.groovy

                requireOwnGradleUserHomeDir()
            }
    
            when:
            succeeds('init', '--type', 'java-application', '--dsl', 'groovy')
    
            and:
            executer.withArgument("-Porg.gradle.java.installations.auto-detect=false")
            executer.withArgument("-Porg.gradle.java.installations.auto-download=true")
            succeeds('run')
    
            then:
            outputContains("Hello World!")
        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 07:21:38 UTC 2024
    - 1.3K bytes
    - Viewed (0)
  5. platforms/core-execution/execution-e2e-tests/src/integTest/groovy/org/gradle/integtests/ParallelProjectExecutionIntegrationTest.groovy

                    }
                }
            }
        }
    }
    """
            executer.withArgument('--parallel')
            executer.withArgument('--max-workers=3') // needs to be set to the maximum number of expectConcurrentExecution() calls
            executer.withArgument('--info')
        }
    
        def "executes dependency project targets concurrently"() {
            projectDependency from: 'a', to: ['b', 'c', 'd']
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Mar 04 10:15:40 UTC 2024
    - 4.9K bytes
    - Viewed (0)
  6. platforms/software/dependency-management/src/integTest/groovy/org/gradle/integtests/resolve/caching/ParallelDependencyResolutionIntegrationTest.groovy

        @Rule BlockingHttpServer blockingServer = new BlockingHttpServer()
    
        def setup() {
            executer.withArgument('--parallel')
            executer.withArgument('--max-workers=3') // needs to be set to the maximum number of expectConcurrentExecution() calls
            executer.withArgument('--info')
    
            executer.requireOwnGradleUserHomeDir()
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Oct 24 06:54:47 UTC 2023
    - 6.3K bytes
    - Viewed (0)
  7. platforms/ide/ide-native/src/integTest/groovy/org/gradle/ide/visualstudio/fixtures/MSBuildExecutor.java

        }
    
        public MSBuildExecutor withProject(String projectName) {
            this.projectName = projectName;
            return this;
        }
    
        public MSBuildExecutor withArgument(String arg) {
            this.args.add(arg);
            return this;
        }
    
        private MSBuildExecutor addArguments(String... args) {
            this.args.addAll(Arrays.asList(args));
            return this;
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Dec 11 13:37:56 UTC 2023
    - 8K bytes
    - Viewed (0)
  8. platforms/software/resources-s3/src/integTest/groovy/org/gradle/integtests/resource/s3/ivy/IvyS3RepoResolveIntegrationTest.groovy

        @Override
        RepositoryServer getServer() {
            return server
        }
    
        protected ExecutionResult succeeds(String... tasks) {
            executer.withArgument("-Dorg.gradle.s3.endpoint=${server.uri}")
            executer.withArgument("-Dorg.gradle.s3.maxErrorRetry=0")
            result = executer.withTasks(*tasks).run()
        }
    
        def "cannot add invalid authentication types for s3 repo"() {
            given:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Oct 12 19:38:08 UTC 2023
    - 2.3K bytes
    - Viewed (0)
  9. testing/internal-integ-testing/src/main/groovy/org/gradle/integtests/fixtures/AbstractContinuousIntegrationTest.groovy

            executer.beforeExecute {
                def initScript = file("init.gradle")
                initScript.text = buildLogicForMinimumBuildTime(minimumBuildTimeMillis)
                withArgument("-I").withArgument(initScript.absolutePath)
            }
        }
    
        protected int getMinimumBuildTimeMillis() {
            2000
        }
    
        protected void withoutContinuousBuild() {
            withoutContinuousArg = true
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 07:21:38 UTC 2024
    - 11.6K bytes
    - Viewed (0)
  10. platforms/software/dependency-management/src/integTest/groovy/org/gradle/integtests/resolve/ConcurrentDerivationStrategyIntegTest.groovy

                      }
                   }
                }
            """
    
            when:
            executer.withArgument('--parallel')
            run 'resolve'
    
            then:
            noExceptionThrown()
    
            when: "second build from cache"
            executer.withArgument('--parallel')
            run 'resolve'
    
            then:
            noExceptionThrown()
    
            where:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Oct 10 21:10:11 UTC 2023
    - 4.6K bytes
    - Viewed (0)
Back to top