- Sort Score
- Result 10 results
- Languages All
Results 1 - 4 of 4 for assertFailurePresent (0.66 sec)
-
platforms/software/dependency-management/src/integTest/groovy/org/gradle/integtests/resolve/http/HttpAuthenticationDependencyResolutionIntegrationTest.groovy
server.allowGetOrHead('/repo/group/projectA/1.2/ivy-1.2.xml', 'username', 'password', module.ivyFile) then: fails 'checkDeps' and: failedResolve.assertFailurePresent(failure) failure .assertResolutionFailure(':compile') .assertThatCause(CoreMatchers.containsString('Received status code 401 from server: Unauthorized')) where:
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue Oct 10 21:10:11 UTC 2023 - 18.7K bytes - Viewed (0) -
platforms/software/dependency-management/src/integTest/groovy/org/gradle/integtests/resolve/ResolveConfigurationDependenciesBuildOperationIntegrationTest.groovy
m1.allowAll() m2.allowAll() m3.pom.expectGetBroken() m4.allowAll() when: fails "checkDeps" then: failedResolve.assertFailurePresent(failure) def op = operations.first(ResolveConfigurationDependenciesBuildOperationType) op.details.configurationName == "compileClasspath" op.details.projectPath == ":"
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu May 09 11:33:46 UTC 2024 - 28.6K bytes - Viewed (0) -
subprojects/composite-builds/src/integTest/groovy/org/gradle/integtests/composite/plugins/PluginBuildsIntegrationTest.groovy
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri Jan 06 08:15:28 UTC 2023 - 18.4K bytes - Viewed (0) -
platforms/software/dependency-management/src/integTest/groovy/org/gradle/integtests/resolve/ArtifactSelectionIntegrationTest.groovy
files.each { println it } } } } """ expect: fails(":app:resolve") resolve.assertFailurePresent(failure) failure.assertHasCause("Could not resolve all files for configuration ':app:compile'.") failure.assertHasCause("Could not select a variant of project :lib that matches the consumer attributes.")
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue Apr 02 20:50:18 UTC 2024 - 34.5K bytes - Viewed (0)