Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 2,531 for expectGet (3.86 sec)

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

                    doLast {
                        root.get()
                    }
                }
    """
    
            when:
            module.pom.expectGet()
            module2.pom.expectGet()
    
            then:
            succeeds("graph")
        }
    
        def "downloads only the metadata when resolved dependencies are queried"() {
            given:
            buildFile << """
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Oct 24 06:54:47 UTC 2023
    - 3.7K bytes
    - Viewed (0)
  2. testing/internal-integ-testing/src/main/groovy/org/gradle/test/fixtures/server/http/AbstractHttpResource.groovy

        abstract void expectHeadMissing()
    
        abstract void expectHeadRevalidate()
    
        abstract void expectPut()
    
        abstract void expectPutBroken()
    
        @Override
        void expectDownload() {
            expectGet()
        }
    
        @Override
        void expectDownloadBroken() {
            expectGetBroken()
        }
    
        @Override
        void expectDownloadMissing() {
            expectGetMissing()
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 07:21:38 UTC 2024
    - 2.2K bytes
    - Viewed (0)
  3. platforms/software/dependency-management/src/integTest/groovy/org/gradle/integtests/resolve/caching/ForceRealizedMetadataIntegrationTest.groovy

                }
            """
            expect:
            direct.pom.expectGet()
            direct.moduleMetadata.expectGet()
            transitive.pom.expectGet()
            transitive.moduleMetadata.expectGet()
            direct.artifact(classifier: "sources").expectGet()
            transitive.artifact(classifier: "sources").expectGet()
    
            succeeds( "resolveSources")
        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Oct 10 21:10:11 UTC 2023
    - 4.9K bytes
    - Viewed (0)
  4. platforms/software/dependency-management/src/integTest/groovy/org/gradle/integtests/resolve/api/ResolvedConfigurationApiIntegrationTest.groovy

        }
    }
    """
    
            when:
            m1.ivy.expectGet()
            // Only request once, both artifacts have the same url and only differ by type. Should probably be the same artifact
            m1.getArtifact(type: '', ext: '').expectGet()
            m1.getArtifact(type: '', ext: '', classifier: 'classy').expectGet()
    
            run 'show'
    
            then:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Jan 30 18:17:47 UTC 2024
    - 5.5K bytes
    - Viewed (0)
  5. platforms/software/maven/src/integTest/groovy/org/gradle/api/publish/maven/MavenPublishBuildOperationIntegrationTest.groovy

            m2.artifact.expectPublish()
            m2.pom.expectPublish()
            m2.moduleMetadata.expectPublish()
            m2.rootMetaData.expectGet()
            m2.rootMetaData.sha1.expectGet()
            m2.rootMetaData.md5.expectGet()
            m2.rootMetaData.expectPublish()
    
            succeeds("publish")
    
            then:
            def writes2 = buildOperations.all(ExternalResourceWriteBuildOperationType)
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Oct 12 14:02:46 UTC 2023
    - 3.3K bytes
    - Viewed (0)
  6. platforms/jvm/plugins-java-library/src/integTest/groovy/org/gradle/java/JavaLibraryPublishedTargetJvmVersionIntegrationTest.groovy

        }
    
        def "can select the most appropriate producer variant (#expected) based on target compatibility (#requested)"() {
            buildFile << """
                configurations.compileClasspath.attributes.attribute(TargetJvmVersion.TARGET_JVM_VERSION_ATTRIBUTE, $requested)
            """
    
            when:
            module.pom.expectGet()
            module.moduleMetadata.expectGet()
            module.getArtifact(classifier: "jdk${selected}").expectGet()
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Mar 28 12:37:16 UTC 2024
    - 5.8K bytes
    - Viewed (0)
  7. platforms/software/dependency-management/src/integTest/groovy/org/gradle/integtests/resolve/caching/ConcurrentBuildsCachingIntegrationTest.groovy

            // Build 1 should download module 1 and reuse cached module 2 state
            mod1.pom.expectGet()
            mod1.artifact.expectGet()
    
            // Build 2 should download module 2 and reuse cached module 1 state
            mod2.pom.expectGet()
            mod2.artifact.expectGet()
    
            // Start build 1 then wait until it has run task 'a'.
            executer.withTasks("a", "block1", "b")
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Oct 10 21:10:11 UTC 2023
    - 3K bytes
    - Viewed (0)
  8. platforms/software/dependency-management/src/integTest/groovy/org/gradle/integtests/resolve/ivy/IvyCustomStatusLatestVersionIntegrationTest.groovy

            def project3 = ivyHttpRepo.module('org.test', 'projectA', '1.3').withStatus("snapshot").publish()
    
            and:
            directoryList.allowGet()
            project3.ivy.expectGet()
            project2.ivy.expectGet()
            project2.jar.expectGet()
    
            when:
            run 'retrieve'
    
            then:
            file('libs').assertHasDescendants("projectA-1.2.jar")
    
            when:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Oct 10 21:10:11 UTC 2023
    - 6.6K bytes
    - Viewed (0)
  9. platforms/software/dependency-management/src/integTest/groovy/org/gradle/integtests/resolve/rocache/StaticVersionsReadOnlyCacheDependencyResolutionTest.groovy

                    implementation 'org.other:other:1.0'
                }
            """
    
            when:
            withReadOnlyCache()
    
            other.pom.expectGet()
            other.moduleMetadata.expectGet()
            other.artifact.expectGet()
    
            succeeds ':checkDeps'
    
            then:
            resolve.expectGraph {
                root(':', 'org.gradle:ro-test:20') {
                    module('org.readonly:core:1.0')
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Mar 22 01:27:55 UTC 2024
    - 4.6K bytes
    - Viewed (0)
  10. platforms/software/resources-s3/src/integTest/groovy/org/gradle/integtests/resource/s3/fixtures/S3DirectoryResource.groovy

        }
    
        URI getUri() {
            return new URI("s3", bucket, path, null, null)
        }
    
        @Override
        void expectDownload() {
            expectGet()
        }
    
        @Override
        void expectDownloadBroken() {
            expectGetBroken()
        }
    
        @Override
        void expectDownloadMissing() {
            expectGetMissing()
        }
    
        @Override
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Oct 12 19:38:08 UTC 2023
    - 2.5K bytes
    - Viewed (0)
Back to top