Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 51 for expectGetMissing (0.43 sec)

  1. testing/internal-integ-testing/src/main/groovy/org/gradle/test/fixtures/server/http/MavenHttpPluginRepository.groovy

            server.stop()
        }
    
        @Override
        void expectPluginMarkerMissing(String pluginId, String pluginVersion) {
            module(pluginId, pluginId + PLUGIN_MARKER_SUFFIX, pluginVersion).with {
                pom.expectGetMissing()
                artifact.expectHeadMissing()
            }
        }
    
        @Override
        void expectPluginMarkerBroken(String pluginId, String pluginVersion) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 07:21:38 UTC 2024
    - 4.6K bytes
    - Viewed (0)
  2. platforms/software/dependency-management/src/integTest/groovy/org/gradle/integtests/resolve/ivy/IvyGradleMetadataRedirectionIntegrationTest.groovy

            buildFile << """
                dependencies {
                    api "org:main:1.0"
                }
            """
    
            when:
            mainModule.ivy.expectGet()
            mainModule.moduleMetadata.expectGetMissing()
            mainModule.artifact.expectGet()
    
            run ':checkDeps'
    
            then:
            // falls back to Ivy file, since we have one
            resolve.expectGraph {
                root(":", ":test:") {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Oct 10 21:10:11 UTC 2023
    - 5.1K bytes
    - Viewed (0)
  3. platforms/software/dependency-management/src/integTest/groovy/org/gradle/integtests/resolve/maven/MavenHttpRepoResolveIntegrationTest.groovy

            def missingProjectB = repo1.module('group', 'projectB')
            def projectB = repo2.module('group', 'projectB').publish()
    
            when:
            projectA.pom.expectGet()
    
            missingProjectB.pom.expectGetMissing()
            projectB.pom.expectGet()
    
            projectA.artifact.expectGet()
            projectB.artifact.expectGet()
    
            then:
            succeeds 'retrieve'
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Oct 10 21:10:11 UTC 2023
    - 13.6K bytes
    - Viewed (0)
  4. platforms/software/maven/src/integTest/groovy/org/gradle/api/publish/maven/MavenPublishHttpsIntegTest.groovy

            failure.assertHasCause("Could not write to resource '${module.artifact.uri}")
        }
    
        def expectPublication() {
            module.artifact.expectPublish()
            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.4K bytes
    - Viewed (0)
  5. platforms/software/dependency-management/src/integTest/groovy/org/gradle/integtests/resolve/ivy/IvyBrokenDescriptorIntegrationTest.groovy

            def module = ivyHttpRepo.module('group', 'projectA', '1.2').extendsFrom(organisation: 'group', module: 'parent', revision: 'a').publish()
    
            when:
            module.ivy.expectGet()
            parent.ivy.expectGetMissing()
    
            then:
            fails "checkDeps"
            failedResolve.assertFailurePresent(failure)
            failure
                .assertResolutionFailure(":compile")
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Oct 10 21:10:11 UTC 2023
    - 5.5K bytes
    - Viewed (0)
  6. platforms/software/dependency-management/src/integTest/groovy/org/gradle/integtests/resolve/maven/MavenGradleMetadataRedirectionIntegrationTest.groovy

            buildFile << """
                dependencies {
                    api "org:main:1.0"
                }
            """
    
            when:
            mainModule.pom.expectGet()
            mainModule.moduleMetadata.expectGetMissing()
            mainModule.artifact.expectGet()
    
            run ':checkDeps'
    
            then:
            // falls back to POM file, since we have one
            resolve.expectGraph {
                root(":", ":test:") {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Oct 10 21:10:11 UTC 2023
    - 5.1K bytes
    - Viewed (0)
  7. platforms/software/dependency-management/src/integTest/groovy/org/gradle/integtests/resolve/maven/BadPomFileResolveIntegrationTest.groovy

    }
    configurations { compile }
    dependencies { compile 'org:child:1.0' }
    """
            failedResolve.prepare()
    
            when:
            child.pom.expectGet()
            parent.pom.expectGetMissing()
    
            and:
            fails 'checkDeps'
    
            then:
            failedResolve.assertFailurePresent(failure)
            failure.assertResolutionFailure(':compile')
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Oct 26 18:31:50 UTC 2023
    - 7.2K bytes
    - Viewed (0)
  8. platforms/software/dependency-management/src/integTest/groovy/org/gradle/integtests/resolve/RepositoryContentFilteringIntegrationTest.groovy

                    conf "org:foo:1.0"
                    conf "org:bar:1.0"
                }
            """
    
            when:
            mod1.ivy.expectGet()
            mod1.artifact.expectGet()
    
            mod2Maven.pom.expectGetMissing()
    
            mod2Ivy.ivy.expectGet()
            mod2Ivy.artifact.expectGet()
    
            run 'checkDeps'
    
            then:
            resolve.expectGraph {
                root(':', ':test:') {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Oct 10 21:10:11 UTC 2023
    - 20.5K bytes
    - Viewed (0)
  9. platforms/software/dependency-management/src/integTest/groovy/org/gradle/integtests/resolve/ivy/IvyHttpRepoResolveIntegrationTest.groovy

            failureHasCause("Could not GET '$repo1.uri/group/projectA/1.0/ivy-1.0.xml'")
            failureHasCause('Read timed out')
    
            when:
            server.resetExpectations()
            module1.ivy.expectGetMissing()
            module2.ivy.expectGet()
            module2.jar.expectDownload()
    
            then:
            succeeds('checkDeps')
            resolve.expectGraph {
                root(":", ":test:") {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Oct 10 21:10:11 UTC 2023
    - 7.3K bytes
    - Viewed (0)
  10. platforms/software/dependency-management/src/integTest/groovy/org/gradle/integtests/resolve/api/ResolvedFilesApiIntegrationTest.groovy

        compile 'org:test2:2.0'
    }
    
    task show {
        doLast {
            ${expression}.collect { it.name }
        }
    }
    """
    
            given:
            mavenHttpRepo.getModuleMetaData('org', 'test').expectGetMissing()
            def m = mavenHttpRepo.module('org', 'test2', '2.0').publish()
            m.pom.expectGetBroken()
    
            when:
            maybeExpectDeprecation(expression)
            fails 'show'
    
            then:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Apr 05 17:10:15 UTC 2024
    - 32.9K bytes
    - Viewed (0)
Back to top