Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 94 for withArgument (0.15 sec)

  1. platforms/jvm/testing-jvm/src/integTest/groovy/org/gradle/testing/junit/AbstractJUnitTestExecutionIntegrationTest.groovy

            // In a nutshell, this tests that we don't even try to load classes that are there, but that we shouldn't see.
    
            when:
            executer
                .withArgument("-Porg.gradle.java.installations.paths=${AvailableJavaHomes.getAvailableJvms().collect { it.javaHome.absolutePath }.join(",")}")
                .withToolchainDetectionEnabled()
            buildFile << """
                plugins {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat Apr 06 02:21:33 UTC 2024
    - 19.6K bytes
    - Viewed (0)
  2. platforms/software/dependency-management/src/integTest/groovy/org/gradle/integtests/resolve/transform/ArtifactTransformCachingIntegrationTest.groovy

            setupProjectInDir(projectDir2)
            executer.requireIsolatedDaemons()
            executer.beforeExecute {
                if (!GradleContextualExecuter.embedded) {
                    executer.withArgument("-D$REUSE_USER_HOME_SERVICES=true")
                }
            }
    
            when:
            executer.inDirectory(projectDir1)
            succeeds ":util:resolve", ":app:resolve"
    
            then:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Jun 07 11:52:44 UTC 2024
    - 97.8K bytes
    - Viewed (0)
  3. testing/internal-integ-testing/src/main/groovy/org/gradle/integtests/fixtures/executer/AbstractGradleExecuter.java

        }
    
        @Override
        public GradleExecuter withArguments(String... args) {
            return withArguments(Arrays.asList(args));
        }
    
        @Override
        public GradleExecuter withArguments(List<String> args) {
            this.args.clear();
            this.args.addAll(args);
            return this;
        }
    
        @Override
        public GradleExecuter withArgument(String arg) {
            this.args.add(arg);
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Jun 11 09:51:15 UTC 2024
    - 55.1K bytes
    - Viewed (0)
  4. platforms/software/dependency-management/src/integTest/groovy/org/gradle/integtests/resolve/DependencyManagementResultsAsInputsIntegrationTest.groovy

            executer.beforeExecute {
                executer.noDeprecationChecks() // Cannot convert the provided notation to a File or URI
                executer.withArgument("-Dorg.gradle.internal.max.validation.errors=20")
            }
    
            given:
            buildFile << """
                interface NestedBean {
                    $annotation
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed May 22 19:04:04 UTC 2024
    - 26.5K bytes
    - Viewed (0)
  5. subprojects/core/src/integTest/groovy/org/gradle/api/services/BuildServiceIntegrationTest.groovy

                        provider.get().increment()
                    }
                }
    
                provider.get().increment()
            """
            executer.beforeExecute {
                withArgument("--configuration-cache")
                withArgument("-Dorg.gradle.configuration-cache.internal.load-after-store=true")
            }
    
            when:
            run("count")
    
            then:
            output.count("service:") == 6
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Jun 06 19:15:46 UTC 2024
    - 61K bytes
    - Viewed (0)
  6. platforms/software/dependency-management/src/integTest/groovy/org/gradle/integtests/resolve/transform/ArtifactTransformExecutionBuildOperationIntegrationTest.groovy

        }
    
        void enableIdentityCache() {
            // So we don't get a daemon from another test
            executer.requireIsolatedDaemons()
            executer.beforeExecute {
                executer.withArgument("-D$REUSE_USER_HOME_SERVICES=true")
            }
        }
    
        List<BuildOperationRecord> getTransformExecutions() {
            buildOperations.all(ExecuteWorkBuildOperationType)
        }
    
        @NamedVariant
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Apr 12 16:27:38 UTC 2024
    - 38.5K bytes
    - Viewed (0)
  7. platforms/extensibility/plugin-development/src/integTest/groovy/org/gradle/plugin/devel/tasks/ValidatePluginsPart1IntegrationTest.groovy

                    @Nested
                    public NestedBean getNestedBean() { return nested; }
                }
            """
    
            expect:
            executer.withArgument("-Dorg.gradle.internal.max.validation.errors=7")
            assertValidationFailsWith([
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue May 28 09:03:53 UTC 2024
    - 36.9K bytes
    - Viewed (0)
  8. platforms/software/dependency-management/src/integTest/groovy/org/gradle/integtests/resolve/catalog/TomlDependenciesExtensionIntegrationTest.groovy

        }
    
        private GradleExecuter withConfigurationCache() {
            executer.withArgument("--configuration-cache")
        }
    
        @Issue("https://github.com/gradle/gradle/issues/20383")
        def "should throw an error if 'from' is called with file collection containing more than one file"() {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue May 28 09:03:53 UTC 2024
    - 33K bytes
    - Viewed (0)
  9. platforms/ide/tooling-api/src/crossVersionTest/groovy/org/gradle/integtests/tooling/r10rc1/PassingCommandLineArgumentsCrossVersionSpec.groovy

            logger.debug("debugging stuff")
            logger.info("infoing stuff")
    """
    
            when:
            String debug = withBuild { it.withArguments('-d') }.standardOutput
    
            and:
            String info = withBuild { it.withArguments('-i') }.standardOutput
    
            then:
            debug.count("debugging stuff") == 1
            debug.count("infoing stuff") == 1
    
            and:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu May 16 10:10:39 UTC 2024
    - 5.4K bytes
    - Viewed (0)
  10. platforms/core-configuration/configuration-cache/src/integTest/groovy/org/gradle/internal/cc/impl/isolated/IsolatedProjectsToolingApiModelQueryIntegrationTest.groovy

            """
    
            when:
            executer.withArguments(ENABLE_CLI)
            fetchModel(SomeToolingModel, "help")
    
            then:
            notExecuted("help")
            fixture.assertStateStored {
                projectsConfigured(":buildSrc", ":")
                modelsCreated(":")
            }
    
            when:
            executer.withArguments(ENABLE_CLI)
            fetchModel(SomeToolingModel, ":dummyTask")
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat Jun 08 11:29:25 UTC 2024
    - 10.5K bytes
    - Viewed (0)
Back to top