Search Options

Results per page
Sort
Preferred Languages
Advance

Results 121 - 130 of 389 for withArgument (0.15 sec)

  1. 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)
  2. 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)
  3. 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)
  4. 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)
  5. 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)
  6. 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)
  7. 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)
  8. platforms/software/dependency-management/src/integTest/groovy/org/gradle/integtests/resolve/ivy/IvyModuleArtifactResolutionIntegrationTest.groovy

            and:
            server.resetExpectations()
            module.ivy.expectHead()
            module.ivy.sha1.expectGet()
            module.ivy.expectGet()
    
            then:
            executer.withArgument(execArg)
            succeeds("verify")
    
            where:
            condition                     | execArg
            "with --refresh-dependencies" | "--refresh-dependencies"
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Oct 10 21:10:11 UTC 2023
    - 7.3K bytes
    - Viewed (0)
  9. subprojects/build-events/src/integTest/groovy/org/gradle/build/event/BuildEventsIntegrationTest.groovy

                listener.configTime("data")
    
                task thing {
                    doLast { }
                }
            """
            executer.beforeExecute {
                withArgument("--configuration-cache")
                withArgument("-Dorg.gradle.configuration-cache.internal.load-after-store=true")
            }
    
            when:
            run("thing")
    
            then:
            output.count("service:") == 2
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Oct 24 06:54:47 UTC 2023
    - 18.4K bytes
    - Viewed (0)
  10. platforms/software/dependency-management/src/integTest/groovy/org/gradle/integtests/resolve/ivy/IvyDescriptorResolveIntegrationTest.groovy

                }
            }
            assert configurations.compile.collect { it.name } == ['test-1.45.jar', 'module_111-v_111.jar']
        }
    }
    """
            resolve.prepare()
    
            when:
            executer.withArgument("-Dsys_prop=111")
            run "checkDeps"
    
            then:
            resolve.expectGraph {
                root(":", ":test:") {
                    module("org.gradle:test:1.45") {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Oct 10 21:10:11 UTC 2023
    - 5.6K bytes
    - Viewed (0)
Back to top