Search Options

Results per page
Sort
Preferred Languages
Advance

Results 241 - 250 of 402 for withArgument (0.2 sec)

  1. platforms/core-runtime/logging/src/integTest/groovy/org/gradle/internal/logging/console/taskgrouping/AbstractLoggingHooksFunctionalTest.groovy

                    }
                }
    
                gradle.buildFinished {
                    file("output.txt").text = output.toString()
                }
            """
    
            when:
            executer.withArguments("--debug")
            run("log")
            def captured = file("output.txt").text
    
            then:
            captured.contains("[DEBUG] [org.gradle.api.Task] debug")
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 09:05:18 UTC 2023
    - 9.3K bytes
    - Viewed (0)
  2. platforms/documentation/docs/src/samples/build-organization/multi-project-with-convention-plugins/kotlin/buildSrc/src/test/kotlin/com/example/PluginTest.kt

                    .withProjectDir(testProjectDir.root)
                    .withArguments(task, "--stacktrace")
                    .withPluginClasspath()
                    .build()
        }
    
        fun runTaskWithFailure(task: String): BuildResult {
            return GradleRunner.create()
                    .withProjectDir(testProjectDir.root)
                    .withArguments(task, "--stacktrace")
                    .withPluginClasspath()
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Nov 27 17:53:42 UTC 2023
    - 1.2K bytes
    - Viewed (0)
  3. platforms/native/language-native/src/integTest/groovy/org/gradle/swiftpm/AbstractSwiftPackageManagerExportIntegrationTest.groovy

            return SwiftPmRunner.create(swiftc)
                .withProjectDir(testDirectory)
                .withArguments("build")
                .build()
        }
    
        ExecOutput swiftPmBuildFails() {
            return SwiftPmRunner.create(swiftc)
                    .withProjectDir(testDirectory)
                    .withArguments("build")
                    .buildAndFails()
        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Nov 16 20:20:03 UTC 2023
    - 1.7K bytes
    - Viewed (0)
  4. subprojects/core/src/integTest/groovy/org/gradle/NativeServicesIntegrationTest.groovy

            executer.requireDaemon()
            executer.requireIsolatedDaemons()
    
            when:
            executer.withArguments("-D$NATIVE_SERVICES_OPTION=$firstRunNativeServicesOption")
            succeeds()
    
            then:
            daemons.daemon.becomesIdle()
    
            when:
            executer.withArguments("-D$NATIVE_SERVICES_OPTION=$secondRunNativeServicesOption")
            succeeds()
    
            then:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed May 22 05:18:22 UTC 2024
    - 10.9K bytes
    - Viewed (0)
  5. platforms/documentation/docs/src/snippets/configurationCache/testKit/groovy/src/test/groovy/org/example/BuildLogicFunctionalTest.groovy

                plugins {
                    id 'org.example.my-plugin'
                }
            """
    
            when:
            runner()
                .withArguments('--configuration-cache', 'myTask')    // <1>
                .build()
    
            and:
            def result = runner()
                .withArguments('--configuration-cache', 'myTask')    // <2>
                .build()
    
            then:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Nov 27 17:53:42 UTC 2023
    - 1.3K bytes
    - Viewed (0)
  6. platforms/native/platform-native/src/integTest/groovy/org/gradle/nativeplatform/toolchain/CommonToolchainCustomizationIntegTest.groovy

    apply plugin: 'cpp'
    
    model {
        toolChains {
            ${toolChain.id} {
                eachPlatform {
                    cppCompiler.withArguments { args ->
                        Collections.replaceAll(args, "CUSTOM", "-DFRENCH")
                    }
                    linker.withArguments { args ->
                        args.remove "CUSTOM"
                    }
                }
            }
        }
        components {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Nov 16 20:20:03 UTC 2023
    - 2K bytes
    - Viewed (0)
  7. subprojects/core/src/integTest/groovy/org/gradle/api/CrossProcessFileLockIntegrationTest.groovy

            """
    
            then:
            def handle1 = executer.withArguments(':a:build', '-i').start()
            poll(120) {
                assert handle1.standardOutput.contains('waiting for file...')
            }
            //first build is waiting for file, so the lock should be releasable now (for example: the task history lock)
    
            and:
            def handle2 = executer.withArguments('b:build', '-is').start()
            handle2.waitForFinish()
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Apr 03 15:21:23 UTC 2024
    - 2.7K bytes
    - Viewed (0)
  8. platforms/core-runtime/wrapper-main/src/integTest/groovy/org/gradle/integtests/WrapperUserHomeIntegrationTest.groovy

            given:
            prepareWrapper()
            def gradleUserHome = testDirectory.file('some-custom-user-home')
    
            when:
            def executer = wrapperExecuter.withGradleUserHomeDir(null)
            executer.withArguments("-Dgradle.user.home=$gradleUserHome.absolutePath")
            executer.run()
    
            then:
            installationIn gradleUserHome
        }
    
        @Issue('https://issues.gradle.org/browse/GRADLE-2802')
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu May 23 05:54:32 UTC 2024
    - 1.8K bytes
    - Viewed (0)
  9. platforms/software/resources-s3/src/integTest/groovy/org/gradle/integtests/resource/s3/maven/MavenS3ProxiedRepoIntegrationTest.groovy

    task retrieve(type: Sync) {
        from configurations.compile
        into 'libs'
    }
    """
            and:
            module.pom.expectDownload()
            module.artifact.expectDownload()
    
            when:
            executer.withArguments(
                    "-Dorg.gradle.s3.endpoint=${server.uri}",
                    "-Dhttp.proxyHost=localhost",
                    "-Dhttp.proxyPort=${proxyServer.port}",
                    "-Dhttp.nonProxyHosts=foo",
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Oct 12 19:38:08 UTC 2023
    - 3.3K bytes
    - Viewed (0)
  10. platforms/core-configuration/configuration-cache/src/integTest/groovy/org/gradle/internal/cc/impl/isolated/IsolatedProjectsJavaPluginIntegrationTest.groovy

            javaProject(file("a"))
            javaProject(file("b"), """
                dependencies {
                    implementation(project(':a'))
                }
            """)
    
            when:
            executer.withArguments(ENABLE_CLI)
            runBuildAction(new FetchCustomModelForEachProjectInParallel())
    
            then:
            fixture.assertStateStored {
                projectsConfigured(":buildSrc", ":", ":a", ":b")
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat Jun 08 11:29:25 UTC 2024
    - 3K bytes
    - Viewed (0)
Back to top