Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 15 of 15 for testKitDir (0.28 sec)

  1. platforms/extensibility/test-kit/src/integTest/groovy/org/gradle/testkit/runner/GradleRunnerGradleVersionIntegrationTest.groovy

            // Note: AbstractGradleRunnerIntegTest configures the test env to use this gradle user home dir
            file("gradleHomeDir.txt").text.startsWith(buildContext.gradleUserHomeDir.absolutePath)
    
            and:
            testKitDir.eachFileRecurse {
                assert !it.name.contains("gradle-$lowestMajorGradleVersion-bin.zip")
            }
    
            cleanup:
            killDaemons(lowestMajorGradleVersion)
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Nov 16 22:36:52 UTC 2023
    - 4.1K bytes
    - Viewed (0)
  2. platforms/extensibility/test-kit/src/testFixtures/groovy/org/gradle/testkit/runner/BaseGradleRunnerIntegrationTest.groovy

                allArgs.add(("-D" + DefaultGradleUserHomeScopeServiceRegistry.REUSE_USER_HOME_SERVICES + "=false") as String)
            }
            def gradleRunner = GradleRunner.create()
                .withTestKitDir(testKitDir)
                .withProjectDir(testDirectory)
                .withArguments(allArgs)
                .withDebug(debug)
    
            gradleProvider.applyTo(gradleRunner)
            gradleRunner
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 11 18:29:03 UTC 2024
    - 18.7K bytes
    - Viewed (0)
  3. testing/smoke-test/src/smokeTest/groovy/org/gradle/smoketests/SmokeTestGradleRunner.groovy

            delegate.withGradleDistribution(distribution)
            return this
        }
    
        @Override
        SmokeTestGradleRunner withTestKitDir(File testKitDir) {
            delegate.withTestKitDir(testKitDir)
            return this
        }
    
        @Override
        File getProjectDir() {
            return delegate.getProjectDir()
        }
    
        @Override
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 07:21:38 UTC 2024
    - 15K bytes
    - Viewed (0)
  4. platforms/extensibility/test-kit/src/main/java/org/gradle/testkit/runner/GradleRunner.java

         * <p>
         * The actual contents of this directory are an internal implementation detail and may change at any time.
         *
         * @param testKitDir the TestKit directory
         * @return {@code this}
         * @since 2.7
         */
        public abstract GradleRunner withTestKitDir(File testKitDir);
    
        /**
         * The directory that the build will be executed in.
         * <p>
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Nov 16 22:36:52 UTC 2023
    - 19.6K bytes
    - Viewed (0)
  5. platforms/documentation/docs/src/docs/userguide/authoring-builds/other/test_kit.adoc

    * The `org.gradle.testkit.dir` system property;
    * The link:{javadocPath}/org/gradle/testkit/runner/GradleRunner.html#withTestKitDir-java.io.File-[GradleRunner.withTestKitDir(file testKitDir)] method.
    
    [[sub:gradle-runner-gradle-version]]
    == Setting the Gradle version used to test
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Apr 23 05:36:09 UTC 2024
    - 15.8K bytes
    - Viewed (0)
Back to top