Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 4 of 4 for assertFailurePresent (0.66 sec)

  1. 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)
  2. 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)
  3. subprojects/composite-builds/src/integTest/groovy/org/gradle/integtests/composite/plugins/PluginBuildsIntegrationTest.groovy

                    conf("${build.group}:${build.buildName}")
                }
            """
            fixture.prepare("conf")
    
            then:
            fails("checkDeps")
            fixture.assertFailurePresent(failure)
            failureCauseContains("Cannot resolve external dependency com.example:included-build")
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Jan 06 08:15:28 UTC 2023
    - 18.4K bytes
    - Viewed (0)
  4. 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)
Back to top