- Sort Score
- Result 10 results
- Languages All
Results 31 - 38 of 38 for assertThatCause (0.58 sec)
-
platforms/native/language-native/src/integTest/groovy/org/gradle/language/swift/AbstractSwiftIntegrationTest.groovy
expect: fails "assemble" failure.assertHasDescription("Execution failed for task '$developmentBinaryCompileTask'.") failure.assertHasCause("A build operation failed.") failure.assertThatCause(Matchers.containsText("Swift compiler failed while compiling swift file(s)")) } // TODO Move this to AbstractSwiftComponentIntegrationTest when xcode test works properly with architecture
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Nov 16 20:20:03 UTC 2023 - 5K bytes - Viewed (0) -
platforms/native/language-native/src/integTest/groovy/org/gradle/language/cpp/CppLanguageIntegrationTest.groovy
expect: fails "mainExecutable" failure.assertHasDescription("Execution failed for task ':compileMainExecutableMainCpp'.") failure.assertHasCause("A build operation failed.") failure.assertThatCause(containsText("C++ compiler failed while compiling broken.cpp")) } @ToBeFixedForConfigurationCache def "finds C and C++ standard library headers"() {
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Nov 16 20:20:03 UTC 2023 - 5.1K bytes - Viewed (0) -
platforms/native/language-native/src/integTest/groovy/org/gradle/language/rc/WindowsResourcesIntegrationTest.groovy
expect: fails "mainExecutable" failure.assertHasDescription("Execution failed for task ':compileMainExecutableMainRc'.") failure.assertHasCause("A build operation failed.") failure.assertThatCause(containsText("Windows resource compiler failed while compiling broken.rc")) } def "can create resources-only shared library"() { given: buildFile << """ model { components {
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Nov 16 20:20:03 UTC 2023 - 5.4K bytes - Viewed (0) -
platforms/core-runtime/base-services/src/integTest/groovy/org/gradle/internal/operations/BuildOperationExecutorIntegrationTest.groovy
} """ when: fails("causeErrors") then: failure.assertHasCause("There was a failure while populating the build operation queue:") failure.assertThatCause(Matchers.containsText("Multiple build operations failed")); } // This is the current behavior: // We need to make sure that the build operation ids of nested builds started by a GradleBuild task do not overlap.
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Wed Apr 03 12:12:49 UTC 2024 - 5.4K bytes - Viewed (0) -
platforms/jvm/testing-jvm/src/integTest/groovy/org/gradle/testing/TestVerificationFailureHandlingIntegrationTest.groovy
tasks.named('test', Test).configure { jvmArgs '-XX:UnknownArgument' } ''' } void assertFatalTestExecutionError() { failure.assertThatCause(Matchers.matchesRegexp("Process 'Gradle Test Executor \\d+' finished with non-zero exit value \\d+")) } def withTestVerificationFailure() {
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon Sep 18 20:52:40 UTC 2023 - 6.1K bytes - Viewed (0) -
testing/internal-integ-testing/src/main/groovy/org/gradle/integtests/fixtures/executer/ExecutionFailure.java
* Asserts that there is a failure present with the given cause (ie the bit after the description). * * <p>Error messages are normalized to use new-line char as line separator. */ ExecutionFailure assertThatCause(Matcher<? super String> matcher); /** * Asserts that there is a failure present with the given description (ie the bit after '* What went wrong'). *
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Apr 11 09:21:25 UTC 2024 - 4.4K bytes - Viewed (0) -
subprojects/core/src/integTest/groovy/org/gradle/api/internal/model/ObjectFactoryNamedTypeIntegrationTest.groovy
then: failure.assertHasCause("Cannot set readonly property: name for class: Thing\$Impl") when: fails("changeDynProp") then: failure.assertThatCause(allOf( startsWith("No signature of method: Thing\$Impl"), containsString(".setProperty() is applicable for argument types: (String, String) values: [name, 123]") )) when:
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Wed Apr 17 05:39:53 UTC 2024 - 6.2K bytes - Viewed (0) -
platforms/ide/tooling-api/src/crossVersionTest/groovy/org/gradle/integtests/tooling/CancellationSpec.groovy
def failure = OutputScrapingExecutionFailure.from(stdout.toString(), stderr.toString()) failure.assertHasDescription("Execution failed for task '${taskPath}'.") failure.assertThatCause(cancelledMessageMatcher(taskPath)) } else { // Verify that there is some logging output that explains that the build was cancelled, for versions that do not include any context in the message
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue Sep 26 14:49:20 UTC 2023 - 6.1K bytes - Viewed (0)