- Sort Score
- Result 10 results
- Languages All
Results 41 - 50 of 74 for assertThatCause (0.42 sec)
-
platforms/software/dependency-management/src/integTest/groovy/org/gradle/integtests/resolve/http/DeprecatedTLSVersionDependencyResolutionIntegrationTest.groovy
executer.withStackTraceChecksDisabled() fails('checkDeps') and: failedResolve.assertFailurePresent(failure) failure.assertHasCause("Could not GET '$server.uri") failure.assertThatCause( allOf( anyOf( startsWith("The server does not support the client's requested TLS protocol versions:"),
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue Oct 10 21:10:11 UTC 2023 - 3.8K bytes - Viewed (0) -
platforms/native/language-native/src/integTest/groovy/org/gradle/language/cpp/CppLibraryIntegrationTest.groovy
""" expect: fails "assemble" failure.assertHasDescription("Execution failed for task ':compileDebugCpp'.") 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"() { given: buildFile << """
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Nov 16 20:20:03 UTC 2023 - 19.8K bytes - Viewed (0) -
testing/internal-integ-testing/src/main/groovy/org/gradle/integtests/fixtures/executer/OutputScrapingExecutionFailure.java
} return this; } @Override public ExecutionFailure assertHasCause(String description) { assertThatCause(startsWith(description)); return this; } @Override public ExecutionFailure assertThatCause(Matcher<? super String> matcher) { Set<String> seen = new LinkedHashSet<>(); for (Problem problem : problems) {
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Apr 11 09:21:25 UTC 2024 - 12.5K bytes - Viewed (0) -
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/software/dependency-management/src/integTest/groovy/org/gradle/integtests/resolve/verification/DependencyVerificationIntegrityCheckIntegTest.groovy
then: failure.assertThatCause(containsText(""" 2 artifacts failed verification: - monitor-1.0.jar (org:monitor:1.0) from repository maven - monitor-1.0.pom (org:monitor:1.0) from repository maven""")) when: executer.requireIsolatedDaemons() fails "resolveCompileClasspath" then: failure.assertThatCause(containsText("""
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri Feb 02 07:31:22 UTC 2024 - 41.4K 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/extensibility/test-kit/src/integTest/groovy/org/gradle/testkit/runner/GradleRunnerPluginClasspathInjectionIntegrationTest.groovy
.withPluginClasspath(plugin.implClasspath) .buildAndFail() then: // This is how the class not being visible will manifest execFailure(result).assertThatCause( anyOf( containsString("Could not get unknown property 'org' for task ':echo1' of type org.gradle.api.DefaultTask."),
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon Jan 15 03:45:31 UTC 2024 - 13K 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)