Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 5 of 5 for someBranch (0.13 sec)

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

                        withExtraInfo((IvySpecificComponentMetadataRulesIntegrationTest.ns('foo')): "fooValue", (IvySpecificComponentMetadataRulesIntegrationTest.ns('bar')): "barValue")
                        withBranch('someBranch')
                        withStatus('release')
                    }
                }
            }
    
            buildFile <<
                """
    class IvyRule implements ComponentMetadataRule {
        static boolean ruleInvoked
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Oct 10 21:10:11 UTC 2023
    - 11.3K bytes
    - Viewed (0)
  2. platforms/software/ivy/src/test/groovy/org/gradle/api/publish/ivy/internal/publisher/ValidatingIvyPublisherTest.groovy

            "someBranch"       | ""              | "status cannot be an empty string. Use null instead"
            "someBranch\t"     | "release"       | "branch cannot contain ISO control character '\\u0009'"
            "someBranch"       | "release\t"     | "status cannot contain ISO control character '\\u0009'"
            "someBranch\n"     | "release"       | "branch cannot contain ISO control character '\\u000a'"
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Oct 12 14:02:46 UTC 2023
    - 15K bytes
    - Viewed (0)
  3. platforms/software/dependency-management/src/test/groovy/org/gradle/api/internal/artifacts/ivyservice/DefaultIvyModuleDescriptorTest.groovy

            thrown(UnsupportedOperationException)
        }
    
        def "getBranch returns branch" () {
            given:
            def ivyModuleDescriptor = new DefaultIvyModuleDescriptor([:], 'someBranch', null)
    
            expect:
            ivyModuleDescriptor.getBranch() == 'someBranch'
        }
    
        def "getIvyStatus returns status"() {
            given:
            def ivyModuleDescriptor = new DefaultIvyModuleDescriptor([:], null, 'release')
    
            expect:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Oct 10 21:10:11 UTC 2023
    - 1.6K bytes
    - Viewed (0)
  4. platforms/software/dependency-management/src/test/groovy/org/gradle/api/internal/artifacts/dsl/DefaultComponentMetadataHandlerTest.groovy

            def extraAttrs = [:]
            extraAttrs[id1] = "info1 value"
            extraAttrs[id2] = "info2 value"
            metadata.extraAttributes = extraAttrs
            metadata.branch = "someBranch"
    
            def capturedDescriptor = null
            handler.all { ComponentMetadataDetails details, IvyModuleDescriptor descriptor ->
                capturedDescriptor = descriptor
            }
    
            when:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Oct 10 21:10:11 UTC 2023
    - 20.4K bytes
    - Viewed (0)
  5. platforms/software/ivy/src/test/groovy/org/gradle/api/publish/ivy/internal/publisher/IvyDescriptorFileGeneratorTest.groovy

            then:
            ivyXml.info.@status == "my-status"
        }
    
        def "writes supplied branch"() {
            when:
            descriptor.branch = "someBranch"
    
            then:
            ivyXml.info.@branch == "someBranch"
        }
    
        def "writes supplied licenses" () {
            when:
            descriptor.license {
                name = "EPL v2.0"
            }
            descriptor.license {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Oct 12 14:02:46 UTC 2023
    - 13.7K bytes
    - Viewed (0)
Back to top