Search Options

Results per page
Sort
Preferred Languages
Advance

Results 71 - 80 of 265 for withArgument (0.25 sec)

  1. platforms/software/resources-sftp/src/integTest/groovy/org/gradle/integtests/resolve/resource/sftp/SftpClientReuseIntegrationTest.groovy

                }
            """
            sftpServer.expectLstat("/")
            def sync = coordinator.expectAndBlock('sync')
    
            when:
            def gradle = executer.withTasks('reuseClient').withArgument("--info").start()
            sync.waitForAllPendingCalls()
    
            then:
            sftpServer.clearSessions()
            sftpServer.expectLstat("/")
            sleep(1000)
    
            when:
            sync.releaseAll()
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Oct 12 19:38:08 UTC 2023
    - 3K bytes
    - Viewed (0)
  2. subprojects/core/src/integTest/groovy/org/gradle/api/internal/tasks/TaskOnlyIfReasonIntegrationTest.groovy

        def 'task skipped by #condition reports "#reason"'() {
            buildFile("""
                tasks.register("task") {
                    $condition
                }
            """)
    
            when:
            executer.withArgument("--info")
            succeeds(":task")
    
            then:
            assertTaskSkippedWithMessage(reason, ":task")
    
            where:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Jul 01 11:18:25 UTC 2022
    - 2.6K bytes
    - Viewed (0)
  3. platforms/core-configuration/kotlin-dsl-integ-tests/src/integTest/kotlin/org/gradle/kotlin/dsl/integration/KotlinDslJvmTargetIntegrationTest.kt

            gradleExecuterFor(arrayOf("check", "publish"), rootDir = file("plugin"))
                .withJavaHome(currentJvm.javaHome)
                .withArgument("-Porg.gradle.java.installations.paths=$installationPaths")
                .run()
    
            withSettingsIn("consumer", """
                pluginManagement {
                    repositories {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Apr 16 08:31:21 UTC 2024
    - 9.5K bytes
    - Viewed (0)
  4. platforms/core-runtime/logging/src/integTest/groovy/org/gradle/internal/logging/console/taskgrouping/AbstractConsoleBuildResultFunctionalTest.groovy

    .*"""
        }
    
        def "outcome for successful build is not logged with --quiet"() {
            given:
            buildFile << """
                task success
            """
    
            when:
            executer.withArgument("--quiet")
            succeeds('success')
    
            then:
            result.assertNotOutput("BUILD SUCCESSFUL")
            result.assertNotOutput("actionable task")
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 09:05:18 UTC 2023
    - 5.4K bytes
    - Viewed (0)
  5. testing/internal-integ-testing/src/main/groovy/org/gradle/test/fixtures/maven/M2Installation.groovy

                }
            }
        }
    
        private static void setMavenLocalLocation(GradleExecuter gradleExecuter, File destination) {
            gradleExecuter.withArgument("-Dmaven.repo.local=${destination?:''}" )
        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 07:21:38 UTC 2024
    - 4.1K bytes
    - Viewed (0)
  6. subprojects/core/src/integTest/groovy/org/gradle/api/internal/changedetection/state/TaskEnumTypesInputPropertyIntegrationTest.groovy

            // Change the values of the property
            when:
            buildFile.replace("[BuildSrcEnum.E1, ScriptEnum.E1, pluginValue] as $type", "[BuildSrcEnum.E2, pluginValue] as $type")
    
            and:
            executer.withArgument("-i")
            run "someTask"
    
            then:
            executedAndNotSkipped(":someTask")
            outputContains("Value of input property 'v' has changed for task ':someTask'")
    
            when:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Nov 04 22:26:51 UTC 2021
    - 8.6K bytes
    - Viewed (0)
  7. 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)
  8. 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)
  9. 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)
  10. 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)
Back to top