Search Options

Results per page
Sort
Preferred Languages
Advance

Results 61 - 70 of 280 for newId (0.24 sec)

  1. platforms/software/dependency-management/src/test/groovy/org/gradle/api/internal/artifacts/ivyservice/ivyresolve/DefaultVersionedComponentChooserTest.groovy

            }
            def two = Stub(ModuleComponentGraphResolveMetadata) {
                getModuleVersionId() >> DefaultModuleVersionIdentifier.newId("group", "name", "1.1")
            }
            def three = Stub(ModuleComponentGraphResolveMetadata) {
                getModuleVersionId() >> DefaultModuleVersionIdentifier.newId("group", "name", "1.2")
            }
    
            when:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed May 15 17:38:42 UTC 2024
    - 17.1K bytes
    - Viewed (0)
  2. platforms/software/dependency-management/src/test/groovy/org/gradle/internal/component/external/model/MavenDependencyDescriptorTest.groovy

        }
    
        def "applies exclude rules when traversing a configuration"() {
            def exclude1 = new DefaultExclude(DefaultModuleIdentifier.newId("group1", "*"), ["from"] as String[], PatternMatchers.EXACT)
            def exclude2 = new DefaultExclude(DefaultModuleIdentifier.newId("group2", "*"), ["from"] as String[], PatternMatchers.EXACT)
            def dep = createWithExcludes(requested, [exclude1, exclude2])
    
            expect:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Mar 19 19:13:04 UTC 2024
    - 3.9K bytes
    - Viewed (0)
  3. platforms/software/dependency-management/src/test/groovy/org/gradle/internal/component/local/model/PublishArtifactLocalArtifactMetadataTest.groovy

            metadata != different2
            metadata.hashCode() != different2.hashCode()
        }
    
        ComponentIdentifier newComponentId(String id) {
            DefaultModuleComponentIdentifier.newId(DefaultModuleIdentifier.newId(id, id), id);
        }
    
        PublishArtifact newPublishArtifact(String name, String type, String extension, String classifier, String fileName) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Nov 07 18:43:42 UTC 2023
    - 2.8K bytes
    - Viewed (0)
  4. platforms/software/dependency-management/src/test/groovy/org/gradle/api/internal/artifacts/verification/verifier/DependencyVerifierBuilderTest.groovy

        def "ComponentVerificationsBuilder should fail if trusted GPG key is not a fingerprint but a #name"() {
            given:
            def moduleComponentIdentifier = DefaultModuleComponentIdentifier::newId(
                DefaultModuleVersionIdentifier::newId("test.group", "test-module", "0.0.0")
            )
            def componentArtifactIdentified = new DefaultModuleComponentArtifactIdentifier(
                moduleComponentIdentifier, "artifact", "jar", ".jar"
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Oct 10 21:10:11 UTC 2023
    - 3.3K bytes
    - Viewed (0)
  5. platforms/software/dependency-management/src/test/groovy/org/gradle/api/internal/artifacts/ivyservice/resolutionstrategy/DefaultComponentSelectionRulesTest.groovy

            and:
            rules.rules.size() == 1
            rules.rules[0].action == ruleAction
            rules.rules[0].spec.target == DefaultModuleIdentifier.newId(GROUP, MODULE)
        }
    
        def "add action rule that applies to all components"() {
            Action<ComponentSelection> action = Mock()
    
            when:
            rules.all action
    
            then:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Oct 10 21:10:11 UTC 2023
    - 8.7K bytes
    - Viewed (0)
  6. platforms/software/dependency-management/src/main/java/org/gradle/api/internal/artifacts/DefaultImmutableModuleIdentifierFactory.java

            }
            ModuleIdentifier moduleIdentifier = byName.get(name);
            if (moduleIdentifier == null) {
                moduleIdentifier = DefaultModuleIdentifier.newId(group, name);
                byName.put(name, moduleIdentifier);
            }
            return moduleIdentifier;
        }
    
        @Override
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Dec 11 13:37:56 UTC 2023
    - 2.5K bytes
    - Viewed (0)
  7. platforms/software/dependency-management/src/test/groovy/org/gradle/internal/component/external/model/AbstractLazyModuleComponentResolveMetadataTest.groovy

    abstract class AbstractLazyModuleComponentResolveMetadataTest extends Specification {
    
        def id = DefaultModuleComponentIdentifier.newId(DefaultModuleIdentifier.newId("group", "module"), "version")
        def configurations = []
        def dependencies = []
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Oct 10 21:10:11 UTC 2023
    - 2.5K bytes
    - Viewed (0)
  8. platforms/software/dependency-management/src/test/groovy/org/gradle/api/internal/artifacts/ivyservice/ivyresolve/parser/AbstractGradlePomModuleDescriptorParserTest.groovy

            DefaultModuleComponentIdentifier.newId(DefaultModuleIdentifier.newId(group, name), version)
        }
    
        protected static ModuleComponentSelector moduleId(String group, String name, String version) {
            DefaultModuleComponentSelector.newSelector(DefaultModuleIdentifier.newId(group, name), new DefaultMutableVersionConstraint(version))
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Oct 10 21:10:11 UTC 2023
    - 5.3K bytes
    - Viewed (0)
  9. platforms/software/dependency-management/src/test/groovy/org/gradle/internal/locking/LockEntryFilterFactoryTest.groovy

        }
    
        private static ModuleComponentIdentifier id(String notation) {
            String[] parts = notation.split(':')
            DefaultModuleComponentIdentifier.newId(DefaultModuleIdentifier.newId(parts[0], parts[1]), parts[2])
        }
    
        def "fails for invalid filter #filters"() {
            when:
            LockEntryFilterFactory.forParameter(filters, "Update lock", true)
    
            then:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Oct 10 21:10:11 UTC 2023
    - 2.9K bytes
    - Viewed (0)
  10. platforms/software/dependency-management/src/test/groovy/org/gradle/api/internal/artifacts/ivyservice/dependencysubstitution/DefaultDependencySubstitutionsSpec.groovy

            when:
            substitutions.ruleAction.execute(moduleDetails)
    
            then:
            _ * moduleDetails.requested >> DefaultModuleComponentSelector.newSelector(DefaultModuleIdentifier.newId("org.utils", "api"), new DefaultMutableVersionConstraint("1.5"))
            1 * action.execute(moduleDetails)
            0 * _
    
            def projectDetails = Mock(DependencySubstitutionInternal)
    
            when:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Oct 10 21:10:11 UTC 2023
    - 11.3K bytes
    - Viewed (0)
Back to top