Search Options

Results per page
Sort
Preferred Languages
Advance

Results 101 - 110 of 402 for withArgument (0.45 sec)

  1. platforms/software/dependency-management/src/integTest/groovy/org/gradle/integtests/resolve/http/AbstractRedirectResolveIntegrationTest.groovy

            backingServer.expectGetBlocking('/redirected/group/projectA/1.0/ivy-1.0.xml')
    
            then:
            executer.beforeExecute { withArgument("-D${SOCKET_TIMEOUT_SYSTEM_PROPERTY}=1000") }
            fails('listJars')
    
            and:
            failureCauseContains("Could not get resource '${server.uri}/repo/group/projectA/1.0/ivy-1.0.xml'")
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Oct 10 21:10:11 UTC 2023
    - 3.1K bytes
    - Viewed (0)
  2. platforms/jvm/language-java/src/integTest/groovy/org/gradle/java/compile/incremental/BaseJavaSourceIncrementalCompilationIntegrationTest.groovy

            textFile.text = "text file as root"
    
            outputs.snapshot { run language.compileTaskName }
    
            when:
            file("extra/B.${language.name}").text = "class B { String change; }"
            executer.withArgument "--info"
            run language.compileTaskName
    
            then:
            outputs.recompiledClasses("A", "B", "C")
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Aug 28 11:40:18 UTC 2023
    - 3.5K bytes
    - Viewed (0)
  3. platforms/jvm/language-java/src/integTest/groovy/org/gradle/api/tasks/compile/CrossCompilationIntegrationTest.groovy

                        new Thing();
                    }
                }
            """
    
            when:
            executer.beforeExecute({
                withArgument("-Porg.gradle.java.installations.paths=" + jvm.getJavaHome().getAbsolutePath())
            })
            fails("build")
    
            then:
            failure.assertHasDescription("Execution failed for task ':compileJava'.")
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Apr 16 08:31:21 UTC 2024
    - 4.2K bytes
    - Viewed (0)
  4. platforms/software/dependency-management/src/integTest/groovy/org/gradle/integtests/resolve/http/DeprecatedTLSVersionDependencyResolutionIntegrationTest.groovy

            and:
            writeBuildFile()
            failedResolve.prepare()
    
            when:
            module.allowAll()
    
            and:
            executer.withArgument("-Dhttps.protocols=TLSv1.3")
    
            then:
            fails('checkDeps')
            failedResolve.assertFailurePresent(failure)
        }
    
        def writeBuildFile() {
            buildFile << """
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Oct 10 21:10:11 UTC 2023
    - 3.8K bytes
    - Viewed (0)
  5. 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)
  6. 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)
  7. 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)
  8. 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)
  9. 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)
  10. 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)
Back to top