Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 51 for expectGetMissing (0.45 sec)

  1. platforms/software/dependency-management/src/integTest/groovy/org/gradle/integtests/resolve/ivy/IvyModuleArtifactResolutionIntegrationTest.groovy

                   .createVerifyTaskModuleComponentIdentifier()
    
            // TODO - should do single request
            module.ivy.expectGetMissing()
            module.ivy.expectGetMissing()
            module.jar.expectHead()
    
            then:
            checkArtifactsResolvedAndCached()
        }
    
        @ToBeFixedForConfigurationCache
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Oct 10 21:10:11 UTC 2023
    - 7.3K bytes
    - Viewed (0)
  2. platforms/software/dependency-management/src/integTest/groovy/org/gradle/integtests/resolve/maven/MavenPomPackagingResolveIntegrationTest.groovy

            when:
            buildWithDependencies("compile 'group:projectA:1.0'")
            projectARepo2.hasPackaging("pom").publish()
    
            and:
            // First attempts to resolve in repo1
            projectARepo1.pom.expectGetMissing()
    
            projectARepo2.pom.expectGet()
            projectARepo2.artifact.expectHead()
            projectARepo2.artifact.expectGet()
    
            and:
            run 'retrieve'
    
            then:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Oct 10 21:10:11 UTC 2023
    - 9.1K bytes
    - Viewed (0)
  3. platforms/software/dependency-management/src/integTest/groovy/org/gradle/integtests/resolve/maven/MavenSnapshotResolveIntegrationTest.groovy

            module.pom.expectHead()
            module.pom.sha1.expectGetMissing()
            module.pom.expectGet()
            if (isGradleMetadataPublished()) {
                module.moduleMetadata.expectHead()
                module.moduleMetadata.sha1.expectGetMissing()
                module.moduleMetadata.expectGet()
            }
            artifact.expectHead()
            artifact.sha1.expectGetMissing()
            artifact.expectGet()
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Oct 24 06:54:47 UTC 2023
    - 39K bytes
    - Viewed (0)
  4. platforms/software/dependency-management/src/integTest/groovy/org/gradle/integtests/resolve/maven/MavenRemoteDependencyWithGradleMetadataResolutionIntegrationTest.groovy

    dependencies {
        compile 'test:a:1.2'
    }
    """
    
            m.pom.expectGet()
            m.moduleMetadata.expectGet()
            m.artifact(classifier: 'extra').expectGetMissing()
            m.getArtifact("file1.jar").expectGetMissing()
            m.getArtifact("../file2.jar").expectGetMissing()
    
            when:
            fails("checkDeps")
    
            then:
            failure.assertHasCause("Could not resolve all files for configuration ':compile'.")
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Oct 10 21:10:11 UTC 2023
    - 23.4K bytes
    - Viewed (0)
  5. platforms/software/dependency-management/src/integTest/groovy/org/gradle/integtests/resolve/maven/MavenJvmLibraryArtifactResolutionIntegrationTest.groovy

            when:
            module.pom.expectGetMissing()
    
            then:
            fails("verify")
            failure.assertHasCause("""Could not find some.group:some-artifact:1.0.
    Searched in the following locations:
      - ${module.pom.uri}""")
    
            when:
            server.resetExpectations()
            module.pom.expectGetMissing()
    
            then:
            fails("verify")
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Oct 10 21:10:11 UTC 2023
    - 10.1K bytes
    - Viewed (0)
  6. platforms/software/maven/src/integTest/groovy/org/gradle/api/publish/maven/MavenPublishBuildOperationIntegrationTest.groovy

    """
    
            when:
            def m1 = repo.module("org.test", "test", "1.2")
            m1.artifact.expectPublish()
            m1.pom.expectPublish()
            m1.moduleMetadata.expectPublish()
            m1.rootMetaData.expectGetMissing()
            m1.rootMetaData.expectPublish()
    
            succeeds("publish")
    
            then:
            def writes1 = buildOperations.all(ExternalResourceWriteBuildOperationType)
            writes1.size() == 20
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Oct 12 14:02:46 UTC 2023
    - 3.3K bytes
    - Viewed (0)
  7. platforms/software/dependency-management/src/integTest/groovy/org/gradle/integtests/resolve/ivy/IvyChangingModuleRemoteResolveIntegrationTest.groovy

            module.publishWithChangedContent()
    
            server.resetExpectations()
            module.ivy.expectHead()
            module.ivy.sha1.expectGetMissing()
            module.ivy.expectGet()
            module.jar.expectHead()
            module.jar.sha1.expectGetMissing()
            module.jar.expectGet()
    
            run 'retrieve'
    
            then:
            downloadedJar.assertHasChangedSince(snapshot)
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Oct 10 21:10:11 UTC 2023
    - 9.4K bytes
    - Viewed (0)
  8. subprojects/core/src/integTest/groovy/org/gradle/api/resource/BrokenTextResourceIntegrationTest.groovy

        }
    
        def "reports read of missing uri resource"() {
            given:
            def uuid = UUID.randomUUID()
            server.expectGetMissing("/myConfig-${uuid}.txt")
            server.start()
            buildFile << """
                text.text = resources.text.fromUri("${server.uri}/myConfig-${uuid}.txt")
    """
    
            expect:
            fails("text")
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Apr 03 15:21:23 UTC 2024
    - 2.9K bytes
    - Viewed (0)
  9. platforms/software/dependency-management/src/integTest/groovy/org/gradle/integtests/resolve/maven/MavenParentPomResolveIntegrationTest.groovy

    task retrieve(type: Sync) {
        into 'libs'
        from configurations.compile
    }
    """
    
            when:
            child.pom.expectGet()
            child.artifact.expectGet()
    
            parentInRepo1.pom.expectGetMissing()
    
            parentInRepo2.pom.expectGet()
    
            and:
            run 'retrieve'
    
            then:
            file('libs').assertHasDescendants('child-1.0.jar')
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Oct 10 21:10:11 UTC 2023
    - 14.5K bytes
    - Viewed (0)
  10. platforms/software/maven/src/integTest/groovy/org/gradle/api/publish/maven/MavenPublishJavaRetriesIntegTest.groovy

            module.artifact.sha1.expectPut()
            module.artifact.sha256.expectPut()
            module.artifact.sha512.expectPut()
            module.artifact.md5.expectPut()
            module.rootMetaData.expectGetMissing()
            module.rootMetaData.expectPublish()
            module.pom.expectPublish()
            module.moduleMetadata.expectPublish()
        }
    
        def verifyPublications() {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Oct 12 14:02:46 UTC 2023
    - 4.3K bytes
    - Viewed (0)
Back to top