Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for assertVerificationError (0.19 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)
  3. platforms/software/dependency-management/src/integTest/groovy/org/gradle/integtests/resolve/verification/AbstractDependencyVerificationIntegTest.groovy

            if (GradleContextualExecuter.isConfigCache()) {
                failure.assertOutputContains("Configuration cache entry discarded")
            }
        }
    
        protected void assertVerificationError(boolean terse, @DelegatesTo(value = VerificationErrorHelper, strategy = Closure.DELEGATE_FIRST) Closure<?> verification) {
            def helper = new VerificationErrorHelper(terse)
            verification.delegate = helper
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Oct 10 21:10:11 UTC 2023
    - 4.8K bytes
    - Viewed (0)
Back to top