Search Options

Results per page
Sort
Preferred Languages
Advance

Results 71 - 80 of 402 for withArgument (0.48 sec)

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

            then:
            !output.contains(DaemonStartupMessage.STARTING_DAEMON_MESSAGE)
        }
    
        def "the message is not shown when quiet log level is requested"() {
            given:
            executer.withArgument("-q")
    
            when:
            succeeds()
    
            then:
            !output.contains(DaemonStartupMessage.STARTING_DAEMON_MESSAGE)
        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 09:29:13 UTC 2023
    - 1.4K bytes
    - Viewed (0)
  2. platforms/core-runtime/launcher/src/integTest/groovy/org/gradle/launcher/daemon/ProcessCrashHandlingIntegrationTest.groovy

                    }
                }
            """
    
            when:
            def block = server.expectAndBlock("block")
            def client = new DaemonClientFixture(executer.withArgument("--debug").withTasks("block").start())
            block.waitForAllPendingCalls()
            daemons.daemon.assertBusy()
            client.kill()
    
            then:
            daemons.daemon.becomesCanceled()
    
            and:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 09:29:13 UTC 2023
    - 12.1K bytes
    - Viewed (0)
  3. platforms/software/dependency-management/src/integTest/groovy/org/gradle/integtests/resolve/transform/CrashingBuildsArtifactTransformIntegrationTest.groovy

        doLast {
            fileCollection.files
        }
    }
    """
            // Ensure build scripts compiled
            run("help")
    
            when:
            def build1 = executer.withTasks("redThings").withArgument("-Dcrash=true").start()
            build1.waitForFailure()
    
            run("redThings")
    
            then:
            output.count("Transforming") == 1
            output.count("Transforming thing.jar to Red") == 1
        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Oct 10 21:10:11 UTC 2023
    - 2.8K bytes
    - Viewed (0)
  4. platforms/extensibility/plugin-use/src/integTest/groovy/org/gradle/plugin/repository/RepositoryOrderingIntegrationSpec.groovy

                  - $pluginManagementRepoUri/my/plugin/1.0/plugin-1.0.pom
            """.stripIndent().trim()
        }
    
    
        private void overridePluginPortalUri(String uri) {
            executer.withArgument("-D${PLUGIN_PORTAL_OVERRIDE_URL_PROPERTY}=$uri")
        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Feb 21 11:30:21 UTC 2024
    - 2.9K bytes
    - Viewed (0)
  5. subprojects/core/src/integTest/groovy/org/gradle/internal/id/ConfigurationCacheableIdFactoryIntegrationTest.groovy

                }
            """
    
            when:
            succeeds ":run"
            then:
            executedAndNotSkipped(":run")
            outputContains("Created new id:")
    
            when:
            executer.withArgument("--configuration-cache")
            runAndFail ":run"
    
            then:
            failure.assertHasCause("Cannot create a new id after one has been loaded")
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 01 03:07:53 UTC 2023
    - 1.6K bytes
    - Viewed (0)
  6. platforms/core-runtime/instrumentation-agent-services/src/integTest/groovy/org/gradle/internal/instrumentation/agent/AgentApplicationTest.groovy

            outputContains("agent applied = $applied")
        }
    
        private void withAgent() {
            withAgentApplied(true)
        }
    
        private void withAgentApplied(boolean shouldApply) {
            executer.withArgument("-D${DaemonBuildOptions.ApplyInstrumentationAgentOption.GRADLE_PROPERTY}=$shouldApply")
        }
    
        private void withoutAgent() {
            withAgentApplied(false)
        }
    
        DaemonLogsAnalyzer getDaemons() {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Jun 11 09:51:15 UTC 2024
    - 7.8K bytes
    - Viewed (0)
  7. platforms/software/dependency-management/src/integTest/groovy/org/gradle/integtests/resolve/ivy/IvyCustomStatusLatestVersionIntegrationTest.groovy

            when:
            run 'retrieve'
    
            then:
            file('libs').assertHasDescendants("projectA-1.0.jar")
    
            when:
            executer.withArgument("-PreleaseVersion=1.1")
            run 'retrieve'
    
            then:
            file('libs').assertHasDescendants("projectA-1.1.jar")
        }
    
        @Issue("https://issues.gradle.org/browse/GRADLE-3216")
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Oct 10 21:10:11 UTC 2023
    - 6.6K bytes
    - Viewed (0)
  8. platforms/software/resources-sftp/src/integTest/groovy/org/gradle/integtests/resolve/resource/sftp/AbstractSftpDependencyResolutionTest.groovy

        @Rule final SFTPServer server = new SFTPServer(temporaryFolder)
    
        def setup() {
            // SFTP test fixture does not handle parallel resolution requests
            executer.beforeExecute {
                it.withArgument("--max-workers=1")
            }
        }
    
        MavenSftpRepository getMavenSftpRepo() {
            new MavenSftpRepository(server, '/repo')
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Oct 12 19:38:08 UTC 2023
    - 1.8K bytes
    - Viewed (0)
  9. platforms/jvm/plugins-java/src/integTest/groovy/org/gradle/java/compile/daemon/DaemonJavaCompilerIntegrationTest.groovy

                assert configurations.runtimeClasspath.attributes.getAttribute(TargetJvmVersion.TARGET_JVM_VERSION_ATTRIBUTE) == ${javaVersion}
            """
    
            expect:
            executer.withArgument("-Porg.gradle.java.installations.paths=" + jdk.javaHome.absolutePath)
            succeeds("compileJava")
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri May 31 20:20:39 UTC 2024
    - 4.4K bytes
    - Viewed (0)
  10. platforms/jvm/plugins-java/src/integTest/groovy/org/gradle/java/compile/CachedJavaCompileIntegrationTest.groovy

            then:
            executedAndNotSkipped appCompileTask
    
            when:
            writeUnusedLibraryClass()
    
            and:
            withBuildCache()
            executer.withArgument('-i')
            succeeds appCompileTask
    
            then:
            outputContains "None of the classes needs to be compiled!"
            outputContains "${appCompileTask} UP-TO-DATE"
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Sep 28 12:15:28 UTC 2023
    - 2.6K bytes
    - Viewed (0)
Back to top