- Sort Score
- Result 10 results
- Languages All
Results 41 - 50 of 76 for GradleRunner (0.45 sec)
-
platforms/extensibility/test-kit/src/integTest/groovy/org/gradle/testkit/runner/enduser/GradleRunnerConsoleInputEndUserIntegrationTest.groovy
} } void flush() { } void close() { } } when: def result = GradleRunner.create() .withProjectDir(testProjectDir) .withArguments('$DUMMY_TASK_NAME') .withDebug($debug) .withStandardInput(stdin)
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon May 06 13:00:39 UTC 2024 - 5.9K bytes - Viewed (0) -
platforms/extensibility/test-kit/src/main/java/org/gradle/testkit/runner/internal/feature/BuildResultOutputFeatureCheck.java
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon Feb 05 14:27:21 UTC 2024 - 2.3K bytes - Viewed (0) -
platforms/extensibility/test-kit/src/testFixtures/groovy/org/gradle/testkit/runner/BaseGradleRunnerIntegrationTest.groovy
} def gradleRunner = GradleRunner.create() .withTestKitDir(testKitDir) .withProjectDir(testDirectory) .withArguments(allArgs) .withDebug(debug) gradleProvider.applyTo(gradleRunner) gradleRunner } static String helloWorldTask() { """
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Apr 11 18:29:03 UTC 2024 - 18.7K bytes - Viewed (0) -
platforms/extensibility/test-kit/src/integTest/groovy/org/gradle/testkit/runner/GradleRunnerCrossGroovyVersionIntegrationTest.groovy
given: def targetingGradle7Test = """ import spock.lang.Specification import org.junit.Rule import org.junit.rules.TemporaryFolder import org.gradle.testkit.runner.GradleRunner import org.gradle.testkit.runner.TaskOutcome import org.gradle.util.VersionNumber class BuildLogicFunctionalTest extends Specification { @Rule public TemporaryFolder testProjectDir = new TemporaryFolder();
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Nov 16 22:36:52 UTC 2023 - 3.8K bytes - Viewed (0) -
testing/smoke-test/src/smokeTest/groovy/org/gradle/smoketests/AbstractSmokeTest.groovy
def parentDir = file.getParentFile() assert parentDir.isDirectory() || parentDir.mkdirs() file } SmokeTestGradleRunner runner(String... tasks) { def gradleRunner = GradleRunner.create() .withGradleInstallation(IntegrationTestBuildContext.INSTANCE.gradleHomeDir) .withTestKitDir(IntegrationTestBuildContext.INSTANCE.gradleUserHomeDir)
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue Jun 11 08:14:32 UTC 2024 - 13.3K bytes - Viewed (0) -
platforms/extensibility/test-kit/src/integTest/groovy/org/gradle/testkit/runner/enduser/GradleRunnerConventionalPluginClasspathInjectionEndUserIntegrationTest.groovy
} } } """ plugin.writeSourceFiles() file("src/test/groovy/Test.groovy") << """ import org.gradle.testkit.runner.GradleRunner import static org.gradle.testkit.runner.TaskOutcome.* import spock.lang.Specification import spock.lang.TempDir class Test extends Specification {
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Nov 16 22:36:52 UTC 2023 - 4.8K bytes - Viewed (0) -
build-logic/documentation/src/test/groovy/gradlebuild/docs/FindBrokenInternalLinksTest.groovy
parentFile.mkdirs() createNewFile() text = "Generated javadoc HTML goes here" } } private GradleRunner run(String... args) { return GradleRunner.create() .withProjectDir(projectDir) .withPluginClasspath() .withArguments(args) .forwardOutput() }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon Nov 28 22:01:54 UTC 2022 - 7.8K bytes - Viewed (0) -
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) -
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) -
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)