Search Options

Results per page
Sort
Preferred Languages
Advance

Results 101 - 110 of 398 for withArgument (0.18 sec)

  1. subprojects/core/src/integTest/groovy/org/gradle/process/internal/CancellationIntegrationTest.groovy

                        new CountDownLatch(1).await();
                    }
                }
            """
        }
    
        private void startBuild(String task, boolean buildCacheEnabled) {
            executer.withArgument('--debug').withTasks(task)
            if (buildCacheEnabled) {
                executer.withBuildCacheEnabled()
            }
    
            client = new DaemonClientFixture(executer.start())
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Mar 26 04:31:03 UTC 2024
    - 7.3K bytes
    - Viewed (0)
  2. platforms/core-runtime/launcher/src/integTest/groovy/org/gradle/launcher/StacktraceIntegrationTest.groovy

        }
    
        def "can enable from the command line even if it's disabled in gradle.properties"() {
            setup:
            file('gradle.properties') << 'org.gradle.logging.stacktrace=internal'
            executer.withArgument('--stacktrace')
    
            when:
            fails()
    
            then:
            assertCauseWithStacktrace('show stacktrace was ALWAYS')
        }
    
        def "emits actionable message when wrong configuration is used"() {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 09:29:13 UTC 2023
    - 3.3K bytes
    - Viewed (0)
  3. platforms/core-configuration/kotlin-dsl/src/integTest/kotlin/org/gradle/kotlin/dsl/compile/AbstractCompileAvoidanceIntegrationTest.kt

        fun configureProjectAndExpectCompileAvoidanceWarnings(vararg tasks: String): BuildOperationsAssertions {
            val buildOperations = BuildOperationsFixture(executer, testDirectoryProvider)
            val output = executer.withArgument("--info").withTasks(*tasks).run().normalizedOutput
            return BuildOperationsAssertions(buildOperations, output, true)
        }
    
        protected
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sun Sep 24 17:45:43 UTC 2023
    - 4.6K bytes
    - Viewed (0)
  4. platforms/native/language-native/src/integTest/groovy/org/gradle/language/cpp/CppLibraryIntegrationTest.groovy

             """
    
            and:
            file("src/main/cpp/includingIoStream.cpp") << """
                #include <stdio.h>
                #include <iostream>
            """
    
            when:
            executer.withArgument("--info")
            run "assemble"
    
            then:
            output.contains("Found all include files for ':compileDebugCpp'")
        }
    
        @ToBeFixedForConfigurationCache
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Nov 16 20:20:03 UTC 2023
    - 19.8K bytes
    - Viewed (0)
  5. platforms/core-configuration/configuration-cache/src/integTest/groovy/org/gradle/internal/cc/impl/ConfigurationCacheBuildTreeStructureIntegrationTest.groovy

            """
        }
    
        def "restores only projects that have work scheduled"(List<String> tasks) {
            def fixture = new BuildOperationsFixture(executer, temporaryFolder)
            executer.beforeExecute {
                withArgument("-Dorg.gradle.configuration-cache.internal.load-after-store=true")
            }
            createDirs("a", "b", "c", "custom")
            settingsFile << """
                rootProject.name = 'thing'
                include 'a', 'b', 'c'
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat Jun 08 11:29:25 UTC 2024
    - 13.6K bytes
    - Viewed (0)
  6. platforms/core-configuration/model-core/src/integTest/groovy/org/gradle/api/provider/PropertyIntegrationTest.groovy

    }
    
    """
    
            when:
            executer.withArgument("-Dprop=123")
            run("thing")
    
            then:
            executedAndNotSkipped(":thing")
    
            when:
            executer.withArgument("-Dprop=123")
            run("thing")
    
            then:
            skipped(":thing")
    
            when:
            executer.withArgument("-Dprop=abc")
            run("thing")
    
            then:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue May 28 09:03:53 UTC 2024
    - 30.3K bytes
    - Viewed (0)
  7. platforms/software/dependency-management/src/integTest/groovy/org/gradle/integtests/resolve/maven/MavenModuleArtifactResolutionIntegrationTest.groovy

            and:
            server.resetExpectations()
            module.pom.expectHead()
            module.pom.sha1.expectGet()
            module.pom.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
    - 6.3K bytes
    - Viewed (0)
  8. platforms/software/dependency-management/src/integTest/groovy/org/gradle/integtests/resolve/ivy/IvyJvmLibraryArtifactResolutionIntegrationTest.groovy

            server.resetExpectations()
            module.ivy.expectHead()
            module.ivy.sha1.expectGet()
            module.ivy.expectGet()
            sourceArtifact.expectGet()
    
            then:
            executer.withArgument(execArg)
            succeeds("verifyRefresh")
    
            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
    - 14.2K bytes
    - Viewed (0)
  9. platforms/software/dependency-management/src/integTest/groovy/org/gradle/integtests/resolve/rocache/StaticVersionsReadOnlyCacheDependencyResolutionTest.groovy

            core.rootMetaData.allowGetOrHead()
            util.allowAll()
    
            if (resolveDynamic) {
                mavenHttpRepo.module('org.readonly', 'core', '0.9').publish()
                executer.withArgument("--refresh-dependencies")
            }
    
            succeeds ':checkDeps', ':extraArtifacts'
    
            then:
            resolve.expectGraph {
                root(':', 'org.gradle:ro-test:20') {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Mar 22 01:27:55 UTC 2024
    - 4.6K bytes
    - Viewed (0)
  10. platforms/documentation/docs/src/docsTest/java/org/gradle/docs/samples/IntegrationTestSamplesExecutor.java

            // This might hide issues with Groovy closures, as the methods referenced inside the closure are resolved dynamically.
            try {
                createExecuter(args, flags).withArgument("--rerun-tasks").run();
            } catch (UnexpectedBuildFailure e) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Nov 27 17:53:42 UTC 2023
    - 6.6K bytes
    - Viewed (0)
Back to top