Search Options

Results per page
Sort
Preferred Languages
Advance

Results 91 - 100 of 402 for withArgument (0.33 sec)

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

            daemons(gradleVersion).daemons.size() == 1
    
            when:
            executer.withEnvironmentVars(GRADLE_OPTS: "-Dfile.encoding=ISO-8859-1");
            executer.withArgument("-i")
            run "verify"
    
            then:
            output.contains("verified = ISO-8859-1")
            daemons(gradleVersion).daemons.size() == 2
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 09:29:13 UTC 2023
    - 2.7K bytes
    - Viewed (0)
  2. subprojects/core/src/integTest/groovy/org/gradle/api/tasks/ExecutionTimeTaskConfigurationIntegrationTest.groovy

                    dependsOn broken2
                    doLast {
                        broken2.configure { $config }
                    }
                }
            """
    
            when:
            executer.withArgument("--continue")
            fails("broken1", "broken2", "broken3")
    
            then:
            failure.assertHasCause("Cannot call ${description} on task ':broken1' after task has started execution.")
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Apr 03 15:21:23 UTC 2024
    - 5.3K bytes
    - Viewed (0)
  3. testing/internal-integ-testing/src/main/groovy/org/gradle/integtests/fixtures/BuildOperationsFixture.groovy

            this.path = projectDir.testDirectory.file(operationsTraceName).absolutePath
            executer.beforeExecute {
                this.tree = null
                executer.withArgument("-D$BuildOperationTrace.SYSPROP=$path")
            }
        }
    
        @Override
        List<BuildOperationRecord> getRoots() {
            getTree().roots
        }
    
        List<BuildOperationRecord> getDanglingChildren() {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 11 09:21:24 UTC 2024
    - 4.1K bytes
    - Viewed (0)
  4. platforms/core-execution/file-watching/src/integTest/groovy/org/gradle/internal/watch/ContinuousBuildFileWatchingIntegrationTest.groovy

            given:
            // Do not drop the VFS in the first build, since there is only one continuous build invocation.
            // FileSystemWatchingFixture automatically sets the argument for the first build.
            executer.withArgument(FileSystemWatchingHelper.getDropVfsArgument(false))
            executer.beforeExecute {
                withWatchFs()
            }
    
            def numberOfFilesInVfs = 4 // source file, class file, JAR manifest, JAR file
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Apr 03 13:50:33 UTC 2024
    - 2.6K bytes
    - Viewed (0)
  5. platforms/software/resources-s3/src/integTest/groovy/org/gradle/integtests/resource/s3/ivy/IvyPublishS3IntegrationTest.groovy

    @Requires(IntegTestPreconditions.CanPublishToS3)
    class IvyPublishS3IntegrationTest extends AbstractIvyPublishIntegTest {
        @Rule
        public S3Server server = new S3Server(temporaryFolder)
    
        def setup() {
            executer.withArgument("-Dorg.gradle.s3.endpoint=${server.getUri()}")
        }
    
        def "can publish to an S3 Ivy repository"() {
            given:
            def ivyRepo = server.remoteIvyRepo
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Oct 12 19:38:08 UTC 2023
    - 2.5K bytes
    - Viewed (0)
  6. platforms/software/dependency-management/src/integTest/groovy/org/gradle/integtests/resolve/maven/MavenJvmLibraryArtifactResolutionIntegrationTest.groovy

            snapshotModule.pom.sha1.expectGet()
            snapshotModule.pom.expectGet()
            snapshotSources.expectHead()
            snapshotSources.expectGet()
    
            then:
            executer.withArgument(execArg)
            succeeds("verifyRefresh")
    
            where:
            condition | execArg
            "with --refresh-dependencies" | "--refresh-dependencies"
            "when snapshot pom changes" | "-Pnocache"
        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Oct 10 21:10:11 UTC 2023
    - 10.1K bytes
    - Viewed (0)
  7. testing/internal-integ-testing/src/main/groovy/org/gradle/test/fixtures/server/http/MavenHttpPluginRepository.groovy

            executer.beforeExecute(new Action<GradleExecuter>() {
                void execute(GradleExecuter e) {
                    if (server.running) {
                        e.withArgument("-D${PLUGIN_PORTAL_OVERRIDE_URL_PROPERTY}=${uri.toString()}")
                    }
                }
            })
            executer
        }
    
    
        @Override
        Statement apply(Statement base, Description description) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 07:21:38 UTC 2024
    - 4.6K bytes
    - Viewed (0)
  8. platforms/core-runtime/logging/src/integTest/groovy/org/gradle/internal/logging/console/taskgrouping/AbstractConsoleCompositeBuildGroupedTaskFunctionalTest.groovy

        }
    
        def "does not execute task actions when dry run specified on composite build"() {
            when:
            def result = executer.inDirectory(file(PROJECT_B_NAME)).withArgument("--dry-run").withTasks('compileJava').run()
    
            then:
            def strippedGroupedTaskOutput = result.groupedOutput.strippedOutput
            strippedGroupedTaskOutput.contains(':byeWorld SKIPPED')
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 09:05:18 UTC 2023
    - 3.4K bytes
    - Viewed (0)
  9. platforms/software/resources-sftp/src/integTest/groovy/org/gradle/api/publish/maven/MavenPublishSftpIntegrationTest.groovy

            new MavenSftpRepository(server, '/repo')
        }
    
        def setup() {
            // SFTP test fixture does not handle parallel resolution requests
            executer.beforeExecute {
                it.withArgument("--max-workers=1")
            }
        }
    
        def "can publish to a SFTP repository"() {
            given:
            def mavenSftpRepo = getMavenSftpRepo()
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Oct 12 19:38:08 UTC 2023
    - 3.2K bytes
    - Viewed (0)
  10. platforms/core-configuration/configuration-cache/src/integTest/groovy/org/gradle/internal/cc/impl/ConfigurationCacheDebugLogIntegrationTest.groovy

            switch (enablement) {
                case CCDebugEnablement.DEBUG_LOG_LEVEL:
                    withDebugLogging()
                    break
                case CCDebugEnablement.SYSTEM_PROPERTY:
                    executer.withArgument "-D$ConfigurationCacheDebugOption.PROPERTY_NAME=true"
                    break
                case CCDebugEnablement.GRADLE_PROPERTIES_FILE:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat Jun 08 11:29:25 UTC 2024
    - 4.2K bytes
    - Viewed (0)
Back to top