Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 59 for GradleRunner (0.15 sec)

  1. platforms/core-configuration/kotlin-dsl/src/integTest/kotlin/org/gradle/kotlin/dsl/integration/TestKitIntegrationTest.kt

                            containsString("Ack!"))
                    }
    
                    private
                    fun build(vararg arguments: String): BuildResult =
                        GradleRunner
                            .create()
                            .withProjectDir(temporaryFolder.root)
                            .withPluginClasspath()
                            .withArguments(*arguments)
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Mar 14 10:30:09 UTC 2024
    - 7.3K bytes
    - Viewed (0)
  2. platforms/extensibility/test-kit/src/main/java/org/gradle/testkit/runner/UnexpectedBuildFailure.java

     * limitations under the License.
     */
    
    package org.gradle.testkit.runner;
    
    /**
     * Thrown when executing a build that was expected to succeed, but failed.
     *
     * @since 2.6
     * @see GradleRunner#build()
     */
    public class UnexpectedBuildFailure extends UnexpectedBuildResultException {
        public UnexpectedBuildFailure(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
    - 981 bytes
    - Viewed (0)
  3. build-logic/binary-compatibility/src/test/kotlin/gradlebuild/binarycompatibility/AbstractAcceptedApiChangesMaintenanceTaskIntegrationTest.kt

     * See the License for the specific language governing permissions and
     * limitations under the License.
     */
    
    package gradlebuild.binarycompatibility
    
    import org.gradle.testkit.runner.GradleRunner
    import org.gradle.testkit.runner.TaskOutcome
    import org.gradle.util.internal.TextUtil
    import org.junit.jupiter.api.Assertions
    import org.junit.jupiter.api.BeforeEach
    import org.junit.jupiter.api.io.TempDir
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Jun 04 14:00:46 UTC 2024
    - 6K bytes
    - Viewed (0)
  4. 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)
  5. 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)
  6. 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)
  7. 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)
  8. 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)
  9. 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)
  10. 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)
Back to top