Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for assertVerificationError (0.27 sec)

  1. platforms/software/dependency-management/src/integTest/groovy/org/gradle/integtests/resolve/verification/DependencyVerificationSignatureCheckIntegTest.groovy

                dependencies {
                    implementation "org:foo:1.0"
                }
            """
    
            when:
            serveValidKey()
            fails ":compileJava"
    
            then:
    
            assertVerificationError(terse) {
                whenTerse """Dependency verification failed for configuration ':compileClasspath'
    One artifact failed verification: foo-1.0.jar (org:foo:1.0) from repository maven
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Mar 21 14:42:50 UTC 2024
    - 75.1K bytes
    - Viewed (0)
  2. platforms/software/dependency-management/src/integTest/groovy/org/gradle/integtests/resolve/verification/DependencyVerificationIntegrityCheckIntegTest.groovy

                addChecksum("org:bar:1.0", "sha1", "also invalid")
                addChecksum(baz, "sha1")
            }
    
            when:
            fails ":compileJava"
    
            then:
            assertVerificationError(terse) {
                whenTerse """Dependency verification failed for configuration ':compileClasspath'
    5 artifacts failed verification:
      - bar-1.0.jar (org:bar:1.0) from repository maven
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Feb 02 07:31:22 UTC 2024
    - 41.4K bytes
    - Viewed (0)
Back to top