Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 30 for withArgument (0.16 sec)

  1. platforms/core-configuration/configuration-cache/src/integTest/groovy/org/gradle/internal/cc/impl/fixtures/ToolingApiSpec.groovy

                def args = executer.allArgs
                args.remove("--no-daemon")
    
                model = connection.model(type)
                    .forTasks(tasks)
                    .withArguments(args)
                    .setStandardOutput(new TeeOutputStream(output, System.out))
                    .setStandardError(new TeeOutputStream(error, System.err))
                    .get()
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat Jun 08 11:29:25 UTC 2024
    - 15.1K bytes
    - Viewed (0)
  2. 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)
  3. platforms/core-configuration/configuration-cache/src/crossVersionTest/groovy/org/gradle/internal/cc/impl/ConfigurationCacheCrossVersionTest.groovy

        }
    
        void runPrevious() {
            previousExecuter.withArguments(argFor(previous.version), 'help').run()
        }
    
        void runCurrent() {
            currentExecuter.withArguments(argFor(current.version), 'help').run()
        }
    
        private static String argFor(GradleVersion version) {
            version.baseVersion < GradleVersion.version("6.6")
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat Jun 08 11:29:25 UTC 2024
    - 2.8K bytes
    - Viewed (0)
  4. platforms/core-configuration/configuration-cache/src/integTest/groovy/org/gradle/internal/cc/impl/ConfigurationCacheTestKitIntegrationTest.groovy

            runner.withJvmArguments("-javaagent:${agentJar}")
            if (!GradleContextualExecuter.embedded) {
                runner.withGradleInstallation(buildContext.gradleHomeDir)
            }
            runner.withArguments("--configuration-cache")
            runner.forwardOutput()
            runner.withProjectDir(testDirectory)
            runner.withPluginClasspath([new File("some-dir")])
            def result = runner.buildAndFail()
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat Jun 08 11:29:25 UTC 2024
    - 9.9K bytes
    - Viewed (0)
  5. platforms/core-configuration/configuration-cache/src/integTest/groovy/org/gradle/internal/cc/impl/fixtures/ToolingApiBackedGradleExecuter.groovy

            def args = allArgs
            args.remove("--no-daemon")
    
            usingToolingConnection(workingDir) { connection ->
                connection.newBuild()
                    .withArguments(args)
                    .addJvmArguments(jvmArgs)
                    .setStandardOutput(new TeeOutputStream(output, System.out))
                    .setStandardError(new TeeOutputStream(error, System.err))
                    .run()
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat Jun 08 11:29:25 UTC 2024
    - 3.7K bytes
    - Viewed (0)
  6. platforms/core-configuration/configuration-cache/src/integTest/groovy/org/gradle/internal/cc/impl/ConfigurationCacheSkipCacheIntegrationTest.groovy

            then:
            outputContains("foo")
            configurationCache.assertStateLoaded()
    
            when:
            def commandLineArgs = commandLine.split("\\s+")
            executer.withArguments(commandLineArgs)
            configurationCacheRun "myTask"
    
            then:
            outputContains("bar")
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat Jun 08 11:29:25 UTC 2024
    - 2.6K bytes
    - Viewed (0)
  7. platforms/core-configuration/configuration-cache/src/integTest/groovy/org/gradle/internal/cc/impl/inputs/undeclared/UndeclaredBuildInputsTestKitInjectedJavaPluginIntegrationTest.groovy

                }
                runner.withTestKitDir(testKitDir)
                runner.withProjectDir(workingDir)
                def args = allArgs
                args.remove("--no-daemon")
                runner.withArguments(args)
                runner.withPluginClasspath(pluginClasspath)
                runner.withEnvironment(environmentVars)
                runner.forwardOutput()
                runner
            }
        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat Jun 08 11:29:25 UTC 2024
    - 4.8K bytes
    - Viewed (0)
  8. platforms/extensibility/test-kit/src/integTest/groovy/org/gradle/testkit/runner/enduser/GradleRunnerMiscEndUserIntegrationTest.groovy

                            }
                        '''
    
                        when:
                        def result = GradleRunner.create()
                            .withProjectDir(testProjectDir)
                            .withArguments('helloWorld')
                            .withDebug($debug)
                            .build()
    
                        then:
                        noExceptionThrown()
                    }
                }
            """
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Jun 10 14:28:48 UTC 2024
    - 6.8K bytes
    - Viewed (0)
  9. platforms/core-configuration/configuration-cache/src/integTest/groovy/org/gradle/internal/cc/impl/ConfigurationCacheGroovyClosureIntegrationTest.groovy

                            println(name) // task property is ok
                            println(gradleVersion)
                        }
                    }
                }
            """
            executer.beforeExecute { withArguments("-I", initScript.absolutePath) }
    
            when:
            configurationCacheFails ":some"
    
            then:
            failure.assertHasFileName("Initialization script '$initScript'")
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat Jun 08 11:29:25 UTC 2024
    - 9.6K bytes
    - Viewed (0)
  10. testing/smoke-test/src/smokeTest/groovy/org/gradle/smoketests/AbstractSmokeTest.groovy

                .withTestKitDir(IntegrationTestBuildContext.INSTANCE.gradleUserHomeDir)
                .withProjectDir(testProjectDir)
                .forwardOutput()
                .withArguments(
                    tasks.toList() + outputParameters() + repoMirrorParameters() + configurationCacheParameters() + toolchainParameters() + kotlinDslParameters()
                ) as DefaultGradleRunner
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Jun 11 08:14:32 UTC 2024
    - 13.3K bytes
    - Viewed (0)
Back to top