Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 76 for GradleRunner (0.18 sec)

  1. platforms/extensibility/test-kit/src/main/java/org/gradle/testkit/runner/package-info.java

     * limitations under the License.
     */
    
    /**
     * Support for executing contrived Gradle builds for the purpose of testing build logic.
     *
     * @see org.gradle.testkit.runner.GradleRunner
     */
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Nov 16 22:36:52 UTC 2023
    - 799 bytes
    - Viewed (0)
  2. platforms/extensibility/test-kit/src/main/java/org/gradle/testkit/runner/UnexpectedBuildSuccess.java

     * limitations under the License.
     */
    
    package org.gradle.testkit.runner;
    
    /**
     * Thrown when executing a build that was expected to fail, but succeeded.
     *
     * @since 2.6
     * @see GradleRunner#buildAndFail()
     */
    public class UnexpectedBuildSuccess extends UnexpectedBuildResultException {
        public UnexpectedBuildSuccess(String message, BuildResult buildResult) {
            super(message, buildResult);
        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Nov 16 22:36:52 UTC 2023
    - 988 bytes
    - Viewed (0)
  3. platforms/extensibility/plugin-development/src/integTest/groovy/org/gradle/plugin/devel/impldeps/GradleImplDepsCompatibilityIntegrationTest.groovy

                """
            }
    
            file('src/test/groovy/BuildLogicFunctionalTest.groovy') << """
                import org.gradle.testkit.runner.GradleRunner
                import static org.gradle.testkit.runner.TaskOutcome.*
                import spock.lang.Specification
                import spock.lang.TempDir
    
                class BuildLogicFunctionalTest extends Specification {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Nov 16 22:36:52 UTC 2023
    - 8.5K bytes
    - Viewed (0)
  4. platforms/extensibility/test-kit/src/integTest/groovy/org/gradle/testkit/runner/GradleRunnerConfigurationIntegrationTest.groovy

    @NonCrossVersion
    @NoDebug
    class GradleRunnerConfigurationIntegrationTest extends BaseGradleRunnerIntegrationTest {
    
        def "throws exception if no project dir was specified"() {
            given:
            def runner = GradleRunner.create().withTestKitDir(testKitDir)
    
            when:
            runner.build()
    
            then:
            def t = thrown InvalidRunnerConfigurationException
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Nov 16 22:36:52 UTC 2023
    - 1.4K bytes
    - Viewed (0)
  5. platforms/extensibility/test-kit/src/main/java/org/gradle/testkit/runner/InvalidPluginMetadataException.java

     * limitations under the License.
     */
    
    package org.gradle.testkit.runner;
    
    /**
     * Thrown when the plugin under test metadata cannot be read.
     *
     * @since 2.13
     * @see GradleRunner#withPluginClasspath()
     */
    public class InvalidPluginMetadataException extends IllegalStateException {
    
        public InvalidPluginMetadataException(String s) {
            super(s);
        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Nov 16 22:36:52 UTC 2023
    - 941 bytes
    - Viewed (0)
  6. platforms/extensibility/test-kit/src/test/groovy/org/gradle/testkit/runner/internal/feature/BuildResultOutputFeatureCheckTest.groovy

            then:
            Throwable t = thrown(UnsupportedFeatureException)
            t.message == "The version of Gradle you are using ($UNSUPPORTED_GRADLE_VERSION.version) does not capture build output in debug mode with the GradleRunner. Support for this is available in Gradle $TestKitFeature.CAPTURE_BUILD_RESULT_OUTPUT_IN_DEBUG.since.version and all later versions."
        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Nov 16 22:36:52 UTC 2023
    - 2.2K bytes
    - Viewed (0)
  7. build-logic/binary-compatibility/src/test/kotlin/gradlebuild/binarycompatibility/AbstractBinaryCompatibilityTest.kt

     * limitations under the License.
     */
    
    package gradlebuild.binarycompatibility
    
    import org.gradle.kotlin.dsl.*
    import org.gradle.testkit.runner.BuildResult
    import org.gradle.testkit.runner.GradleRunner
    import org.gradle.testkit.runner.UnexpectedBuildFailure
    import org.hamcrest.CoreMatchers
    import org.hamcrest.MatcherAssert.assertThat
    import org.junit.Assert.assertFalse
    import org.junit.Assert.assertTrue
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Jun 04 14:00:46 UTC 2024
    - 16.4K bytes
    - Viewed (0)
  8. build-logic/packaging/src/test/kotlin/gradlebuild/packaging/GradleDistributionInstallTest.kt

     * See the License for the specific language governing permissions and
     * limitations under the License.
     */
    
    package gradlebuild.packaging
    
    import org.gradle.testkit.runner.GradleRunner
    import org.junit.jupiter.api.Assertions.assertEquals
    import org.junit.jupiter.api.Assertions.assertTrue
    import org.junit.jupiter.api.BeforeEach
    import org.junit.jupiter.api.Test
    import org.junit.jupiter.api.io.TempDir
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat Sep 30 16:17:26 UTC 2023
    - 7.4K bytes
    - Viewed (0)
  9. testing/public-api-tests/src/integTest/groovy/org/gradle/api/PublicApiIntegrationTest.groovy

                }
            """
        }
    
        private static String pluginTestJava() {
            """
                package org.example;
    
                import org.gradle.testkit.runner.GradleRunner;
                import org.gradle.testkit.runner.BuildResult;
                import org.junit.jupiter.api.Test;
                import org.junit.jupiter.api.io.TempDir;
    
                import java.io.File;
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Jun 07 08:43:08 UTC 2024
    - 8.8K bytes
    - Viewed (0)
  10. subprojects/core/src/integTest/groovy/org/gradle/NativeServicesIntegrationTest.groovy

            file("src/functionalTest/groovy/TestkitTestPluginFunctionalTest.groovy") << """
                import spock.lang.Specification
                import spock.lang.TempDir
                import org.gradle.testkit.runner.GradleRunner
                import org.gradle.testkit.runner.TaskOutcome
    
                class TestkitTestPluginFunctionalTest extends Specification {
                    @TempDir
                    private File projectDir
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed May 22 05:18:22 UTC 2024
    - 10.9K bytes
    - Viewed (0)
Back to top