Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 5 of 5 for expectArtifact (0.31 sec)

  1. platforms/software/ivy/src/integTest/groovy/org/gradle/api/publish/ivy/IvyPublishArtifactCustomizationIntegTest.groovy

            and:
            def ivy = module.parsedIvy
            ivy.expectArtifact('ivyPublish', 'txt').hasType("txt").hasConf(null)
            ivy.expectArtifact('ivyPublish', 'html').hasType("html").hasConf(null)
            ivy.expectArtifact('ivyPublish', 'jar').hasType("jar").hasConf(null)
            ivy.expectArtifact('ivyPublish', 'reg').hasType("reg").hasConf(null)
            ivy.expectArtifact('ivyPublish', 'foo').hasType("foo").hasConf(null)
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Oct 12 14:02:46 UTC 2023
    - 18.3K bytes
    - Viewed (0)
  2. testing/internal-integ-testing/src/main/groovy/org/gradle/test/fixtures/ivy/IvyDescriptor.groovy

            }
        }
    
        IvyDescriptorArtifact expectArtifact(String name, String ext, String classifier = null) {
            return oneResult(artifacts.findAll({
                it.name == name && it.ext == ext && it.classifier == classifier
            }), [name, ext, classifier])
        }
    
        IvyDescriptorArtifact expectArtifact(String name) {
            return oneResult(artifacts.findAll({
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 07:21:38 UTC 2024
    - 5.8K bytes
    - Viewed (0)
  3. testing/internal-integ-testing/src/main/groovy/org/gradle/test/fixtures/ivy/IvyFileModule.groovy

            }
            assertArtifactsPublished(*expectedArtifacts)
            parsedIvy.expectArtifact(module, "jar").hasAttributes("jar", "jar", ["compile", "runtime"], null)
        }
    
        void assertPublishedAsWebModule() {
            assertPublished()
            assertArtifactsPublished("${module}-${revision}.war", "ivy-${revision}.xml")
            parsedIvy.expectArtifact(module, "war").hasAttributes("war", "war", ["master"])
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 07:21:38 UTC 2024
    - 23.9K bytes
    - Viewed (0)
  4. platforms/software/ivy/src/integTest/groovy/org/gradle/api/publish/ivy/IvyPublishDescriptorCustomizationIntegTest.groovy

            succeeds 'generateDescriptorFileForIvyPublication'
    
            then:
            file('generated-ivy.xml').assertIsFile()
            IvyDescriptor ivy = new IvyDescriptor(file('generated-ivy.xml'))
            ivy.expectArtifact(moduleName).hasAttributes("jar", "jar", ["compile", "runtime"])
            module.ivyFile.assertDoesNotExist()
        }
    
        def "produces sensible error when withXML fails"() {
            when:
            buildFile << """
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Oct 12 14:02:46 UTC 2023
    - 8.3K bytes
    - Viewed (0)
  5. platforms/software/ivy/src/integTest/groovy/org/gradle/api/publish/ivy/IvyPublishJavaIntegTest.groovy

                }
                configurations["runtime"].extend == null
                configurations["optionalFeatureRuntimeElements"].extend == null
    
                expectArtifact("publishTest", "jar").hasConf(["compile", "runtime"])
                expectArtifact("publishTest", "jar", "optional-feature").hasConf(["optionalFeatureRuntimeElements"])
                assertConfigurationDependsOn("optionalFeatureRuntimeElements", "org:foo:4.0")
            }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Nov 15 16:36:23 UTC 2023
    - 49.8K bytes
    - Viewed (0)
Back to top