- Sort Score
- Result 10 results
- Languages All
Results 61 - 70 of 74 for assertThatCause (0.51 sec)
-
platforms/native/language-native/src/integTest/groovy/org/gradle/language/swift/SwiftLibraryIntegrationTest.groovy
expect: fails "assemble" failure.assertHasDescription("Execution failed for task ':compileDebugSwift'.") failure.assertHasCause("A build operation failed.") failure.assertThatCause(containsText("Swift compiler failed while compiling swift file(s)")) } def "can build debug and release variants of library"() { given: def lib = new SwiftLib()
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue Feb 06 15:17:55 UTC 2024 - 13.1K bytes - Viewed (0) -
platforms/native/language-native/src/testFixtures/groovy/org/gradle/language/swift/AbstractSwiftComponentIntegrationTest.groovy
expect: fails "verifyBinariesSwiftVersion" failure.assertHasDescription("A problem occurred configuring root project 'swift-project'.") failure.assertThatCause(CoreMatchers.containsString("property 'sourceCompatibility' is final and cannot be changed any further.")) } @RequiresInstalledToolChain(ToolChainRequirement.SWIFTC_4)
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Nov 16 20:20:03 UTC 2023 - 16.8K bytes - Viewed (0) -
subprojects/core/src/integTest/groovy/org/gradle/api/tasks/bundling/ArchiveIntegrationTest.groovy
} '''.stripIndent() when: def failure = runAndFail('copy') then: failure.assertHasDescription("Execution failed for task ':copy'.") failure.assertThatCause(CoreMatchers.startsWith("Cannot expand ZIP")) where: scenario | content
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Wed Apr 03 15:21:23 UTC 2024 - 30.2K bytes - Viewed (0) -
testing/internal-integ-testing/src/main/groovy/org/gradle/integtests/fixtures/AbstractIntegrationSpec.groovy
} } protected void failureHasCause(String cause) { failure.assertHasCause(cause) } protected void failureHasCause(Pattern pattern) { failure.assertThatCause(matchesRegexp(pattern)) } protected void failureDescriptionStartsWith(String description) { failure.assertThatDescription(containsNormalizedString(description)) }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue Jun 11 09:07:53 UTC 2024 - 32.9K bytes - Viewed (0) -
platforms/software/dependency-management/src/integTest/groovy/org/gradle/integtests/resolve/transform/ArtifactTransformWithDependenciesIntegrationTest.groovy
failure.assertResolutionFailure(":app:implementation") failure.assertHasFailures(1) failure.assertThatCause(CoreMatchers.containsString("Could not find unknown:not-found:4.3")) }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue Oct 24 06:54:47 UTC 2023 - 54.2K bytes - Viewed (0) -
platforms/software/dependency-management/src/integTest/groovy/org/gradle/integtests/resolve/versions/VersionConflictResolutionIntegrationTest.groovy
implementation project(':impl') } configurations.runtimeClasspath.resolutionStrategy.failOnVersionConflict() } """ expect: runAndFail("tool:dependencies") failure.assertThatCause(containsString(CONFLICT_FOUND_HEADER_MESSAGE)) failure.assertHasResolutions("Run with :tool:dependencyInsight --configuration runtimeClasspath " +
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu May 09 11:33:46 UTC 2024 - 76.2K bytes - Viewed (0) -
platforms/jvm/plugins-application/src/integTest/groovy/org/gradle/integtests/ApplicationIntegrationSpec.groovy
file('build.gradle') << """ installDist.destinationDir = buildDir """ when: runAndFail "installDist" then: result.assertThatCause(startsWith("The specified installation directory '${file('build')}' is neither empty nor does it contain an installation")) } def "startScripts respect OS dependent line separators"() {
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri Mar 08 22:15:44 UTC 2024 - 15.5K bytes - Viewed (0) -
platforms/native/language-native/src/integTest/groovy/org/gradle/language/cpp/CppLibraryPublishingIntegrationTest.groovy
dependencies { implementation 'some.group:testlib:1.2' } """ when: executer.inDirectory(consumer) fails("compileDebugCpp") then: failure.assertThatCause(CoreMatchers.containsString("C++ compiler failed while compiling main.cpp.")) when: buildFile << """ library.privateHeaders.from = [] library.publicHeaders.from 'src/main/public', 'src/main/headers'
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Wed Jan 10 12:57:50 UTC 2024 - 39.8K bytes - Viewed (0) -
platforms/jvm/plugins-test-report-aggregation/src/integTest/groovy/org/gradle/api/plugins/TestReportAggregationPluginIntegrationTest.groovy
""" when: fails(":application:testAggregateTestReport") then: failure.assertHasDescription("Execution failed for task ':direct:test'.") .assertThatCause(startsWith("There were failing tests")) result.assertTaskNotExecuted(':application:testAggregateTestReport') file("application/build/reports/tests/unit-test/aggregated-results").assertDoesNotExist() }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Wed May 22 16:00:57 UTC 2024 - 22.7K bytes - Viewed (0) -
platforms/native/language-native/src/integTest/groovy/org/gradle/language/AbstractNativePreCompiledHeaderIntegrationTest.groovy
then: fails "helloSharedLibrary" failure.assertHasDescription("Execution failed for task ':${getPCHCompileTaskName("hello", "shared")}'.") failure.assertThatCause(CoreMatchers.containsString("compiler failed while compiling prefix-headers")) } @Requires(UnitTestPreconditions.CanInstallExecutable) @ToBeFixedForConfigurationCache
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Nov 16 20:20:03 UTC 2023 - 20.9K bytes - Viewed (0)