- Sort Score
- Result 10 results
- Languages All
Results 21 - 30 of 41 for runWithFailure (0.2 sec)
-
platforms/jvm/language-java/src/integTest/groovy/org/gradle/jvm/toolchain/JavaToolchainDownloadSpiKotlinIntegrationTest.groovy
when: failure = executer .withTasks("compileJava") .requireOwnGradleUserHomeDir() .withToolchainDownloadEnabled() .runWithFailure() then: failure.assertHasDescription("Could not determine the dependencies of task ':compileJava'.")
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Wed Feb 28 10:53:57 UTC 2024 - 4.1K bytes - Viewed (0) -
platforms/software/dependency-management/src/testFixtures/groovy/org/gradle/containers/GradleInContainer.groovy
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue Oct 10 21:10:11 UTC 2023 - 4.3K bytes - Viewed (0) -
platforms/core-runtime/wrapper-main/src/integTest/groovy/org/gradle/integtests/WrapperBadArchiveTest.groovy
server.start() prepareWrapperWithGradleBin() when: def failure = wrapperExecuter .withStackTraceChecksDisabled() .runWithFailure() then: failure.error.matches(/[\S\s]*Downloaded distribution file .* is no valid zip file\.[\S\s]*/) } def "wrapper gets bad archive on 1 attempt and good hash"() { given:
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu May 23 05:54:32 UTC 2024 - 4.1K bytes - Viewed (0) -
platforms/core-runtime/wrapper-main/src/integTest/groovy/org/gradle/integtests/WrapperLoggingIntegrationTest.groovy
prepareWrapper(malformedDistZip.toURI()) when: failure = wrapperExecuter .withTasks("emptyTask") .withStackTraceChecksDisabled() .runWithFailure() then: failure.assertOutputContains("Could not unzip") failure.assertNotOutput("Could not set executable permissions") }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu May 23 05:54:32 UTC 2024 - 4.7K bytes - Viewed (0) -
platforms/core-configuration/kotlin-dsl-integ-tests/src/integTest/kotlin/org/gradle/kotlin/dsl/plugins/precompiled/PrecompiledScriptPluginAccessorsTest.kt
.withStackTraceChecksDisabled() .runWithFailure() .assertions() gradleExecuterFor(arrayOf("--rerun-tasks", "classes", "-Dorg.gradle.kotlin.dsl.precompiled.accessors.strict=true")) .withStackTraceChecksDisabled() .runWithFailure() .assertions() } @Test
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon Oct 30 11:39:02 UTC 2023 - 29.6K bytes - Viewed (0) -
platforms/jvm/testing-jvm/src/integTest/groovy/org/gradle/testing/AbstractTestOutputListenerIntegrationTest.groovy
println "remove me!" } } """.stripIndent() when: def failure = executer.withTasks('test').runWithFailure() then: failure.output.contains("Test ${maybeParentheses('showsOutputWhenPassing')}(SomeTest) StdOut out passing")
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon Sep 18 20:52:40 UTC 2023 - 5.5K bytes - Viewed (0) -
platforms/documentation/docs/src/docsTest/java/org/gradle/docs/samples/IntegrationTestSamplesExecutor.java
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon Nov 27 17:53:42 UTC 2023 - 6.6K bytes - Viewed (0) -
platforms/core-runtime/launcher/src/integTest/groovy/org/gradle/launcher/daemon/server/scaninfo/DaemonScanInfoIntegrationSpec.groovy
${imports()} ${waitForExpirationTask()} """ openJpmsModulesForConfigurationCache() def waitForExpirationResult = executer.withArgument('waitForExpiration').runWithFailure() then: waitForExpirationResult.assertHasCause("Timed out waiting for expiration event") and: !file(EXPIRATION_EVENT).exists() }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri Sep 22 09:29:13 UTC 2023 - 9.2K bytes - Viewed (0) -
platforms/software/resources-sftp/src/integTest/groovy/org/gradle/integtests/resolve/resource/sftp/ivy/IvySftpRepoErrorsIntegrationTest.groovy
when: def projectA = ivySftpRepo.module('org.group.name', 'projectA', '1.2') projectA.ivy.expectMetadataRetrieveBroken() and: failure = executer.withTasks('retrieve').runWithFailure() then: assertTaskFailureDescription(":retrieve") failure.assertHasCause("Could not resolve all files for configuration ':compile'.")
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue Jan 23 11:07:23 UTC 2024 - 9.3K bytes - Viewed (0) -
testing/integ-test/src/integTest/groovy/org/gradle/integtests/BuildScriptClasspathIntegrationTest.java
ExecutionFailure failure = inTestDirectory().withTasks("test").runWithFailure(); failure.assertHasCause("broken"); } @Test public void gradleImplementationClassesDoNotLeakOntoBuildScriptClassPathWhenUsingBuildSrc() {
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Apr 04 07:21:38 UTC 2024 - 9K bytes - Viewed (0)