- Sort Score
- Result 10 results
- Languages All
Results 41 - 50 of 236 for assertHasDescription (0.25 sec)
-
testing/internal-integ-testing/src/main/groovy/org/gradle/integtests/fixtures/resolve/ResolveFailureTestFixture.groovy
""" } void assertFailurePresent(ExecutionFailure failure) { if (GradleContextualExecuter.configCache) { failure.assertHasDescription("Configuration cache state could not be cached") } else { failure.assertHasDescription("Execution failed for task") } }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Apr 04 07:21:38 UTC 2024 - 2.1K bytes - Viewed (0) -
platforms/enterprise/enterprise/src/integTest/groovy/org/gradle/internal/enterprise/DevelocityPluginEndOfBuildCallbackIntegrationTest.groovy
then: plugin.assertEndOfBuildWithFailure(output, null) failure.assertHasDescription("broken") when: fails succeedingTaskName, "-Dbuild-listener-failure" then: plugin.assertEndOfBuildWithFailure(output, null) failure.assertHasDescription("broken") }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue May 21 11:17:11 UTC 2024 - 2.9K bytes - Viewed (0) -
platforms/software/dependency-management/src/integTest/groovy/org/gradle/integtests/internal/component/ResolutionFailureHandlerIntegrationTest.groovy
expect: assertResolutionFailsAsExpected(ambiguousGraphVariantForProjectWithSingleDisambiguatingAttribute) and: "Has error output" failure.assertHasDescription("Could not determine the dependencies of task ':forceResolution'.") failure.assertHasCause("Could not resolve all dependencies for configuration ':resolveMe'.")
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue May 28 15:55:38 UTC 2024 - 45K bytes - Viewed (0) -
platforms/core-runtime/launcher/src/integTest/groovy/org/gradle/launcher/StacktraceIntegrationTest.groovy
} private void assertCauseWithoutStacktrace(String cause, String description = "A problem occurred evaluating root project 'stacktrace-integration-test-sample'") { failure.assertHasDescription(description) failure.assertHasCause(cause) failure.assertNotOutput('Exception is:') }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri Sep 22 09:29:13 UTC 2023 - 3.3K bytes - Viewed (0) -
platforms/core-runtime/launcher/src/integTest/groovy/org/gradle/launcher/daemon/DaemonToolchainInvalidCriteriaIntegrationTest.groovy
given: daemonJvmPropertiesFile.writeProperties((DaemonJvmPropertiesDefaults.TOOLCHAIN_VERSION_PROPERTY): "stringVersion") when: fails 'help' then: failure.assertHasDescription("Value 'stringVersion' given for toolchainVersion is an invalid Java version") } def "Given negative toolchain version When execute any task Then fails with expected exception message"() { given:
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Apr 25 13:41:21 UTC 2024 - 3.2K bytes - Viewed (0) -
platforms/jvm/language-java/src/integTest/groovy/org/gradle/jvm/toolchain/JavaToolchainDownloadIntegrationTest.groovy
.requireOwnGradleUserHomeDir() .withToolchainDetectionEnabled() .withToolchainDownloadEnabled() .runWithFailure() then: failure.assertHasDescription("Could not determine the dependencies of task ':compileJava'.") .assertHasCause("Failed to calculate the value of task ':compileJava' property 'javaCompiler'")
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Wed Feb 28 10:53:57 UTC 2024 - 7.4K bytes - Viewed (0) -
platforms/native/platform-native/src/integTest/groovy/org/gradle/nativeplatform/PrebuiltLibrariesIntegrationTest.groovy
cpp.lib library: 'hello', linkage: 'static' } } } } """ when: fails "mainExecutable" then: failure.assertHasDescription("Execution failed for task ':linkMainExecutable'.") failure.assertHasCause("Static library file not set for prebuilt static library 'hello:${NativePlatformsTestFixture.defaultPlatformName}DebugDefaultStatic'.") }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Nov 16 20:20:03 UTC 2023 - 10.8K bytes - Viewed (0) -
platforms/core-configuration/model-core/src/integTest/groovy/org/gradle/api/provider/PropertyIntegrationTest.groovy
then: failure.assertHasDescription("Execution failed for task ':wrongValueTypeDsl'.") failure.assertHasCause("Cannot set the value of extension 'custom' property 'prop' of type java.lang.String using an instance of type java.lang.Integer.") when: fails("wrongValueTypeApi") then: failure.assertHasDescription("Execution failed for task ':wrongValueTypeApi'.")
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue May 28 09:03:53 UTC 2024 - 30.3K bytes - Viewed (0) -
platforms/native/platform-native/src/integTest/groovy/org/gradle/nativeplatform/toolchain/VisualCppToolChainDiscoveryIntegrationTest.groovy
model { toolChains { ${toolChain.id} { installDir "does-not-exist" } } } """ fails "mainExecutable" then: failure.assertHasDescription("Execution failed for task ':compileMainExecutableMainC'.") failure.assertHasCause("""No tool chain is available to build for platform '${NativePlatformsTestFixture.defaultPlatformName}':
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Nov 16 20:20:03 UTC 2023 - 2.9K bytes - Viewed (0) -
testing/internal-integ-testing/src/main/groovy/org/gradle/integtests/fixtures/executer/ErrorsOnStdoutScrapingExecutionFailure.java
delegate.assertThatCause(matcher); return this; } @Override public ExecutionFailure assertHasDescription(String context) { delegate.assertHasDescription(context); return this; } @Override public ExecutionFailure assertThatDescription(Matcher<? super String> matcher) {
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Apr 11 09:21:25 UTC 2024 - 3.5K bytes - Viewed (0)