Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 13 for byReasons (0.21 sec)

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

            checkDependencies {
                resolve.expectGraph {
                    root(":", ":test:") {
                        edge("org.utils:api:${selector}", "org.utils:${chosenModule}:${chosenVersion}") {
                            byReasons(reasons)
                            maybeRequested()
                        }
                    }
                }
            }
    
            when:
            resetExpectations()
    
            then:
            checkDependencies()
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Oct 10 21:10:11 UTC 2023
    - 17.9K bytes
    - Viewed (0)
  2. testing/internal-integ-testing/src/main/groovy/org/gradle/integtests/fixtures/resolve/ResolveTestFixture.groovy

            }
    
            /**
             * Marks that this node was selected by the given reason
             */
            NodeBuilder byReasons(List<String> reasons) {
                this.reasons.addAll(reasons)
                this
            }
    
            NodeBuilder variant(String name, Map<String, ?> attributes = [:]) {
                configuration(name)
                checkVariant = true
                String variantName = name
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 07:21:38 UTC 2024
    - 37.8K bytes
    - Viewed (0)
  3. platforms/software/dependency-management/src/integTest/groovy/org/gradle/integtests/resolve/ivy/IvyDynamicRevisionResolveIntegrationTest.groovy

            then:
            resolve.expectGraph {
                root(":", ":test:") {
                    edge("org.test:projectA:latest.milestone", "org.test:projectA:1.1") {
                        notRequested()
                        byReason("didn't match version 1.3")
                    }
                }
            }
    
            when:
            resetExpectations()
            repository {
                'org.test:projectA:1.2' {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Oct 10 21:10:11 UTC 2023
    - 18.9K bytes
    - Viewed (0)
  4. platforms/software/dependency-management/src/integTest/groovy/org/gradle/integtests/resolve/rules/ComponentAttributesRulesIntegrationTest.groovy

                            byReason("rejection: version 5:   - Attribute 'org.gradle.status' didn't match. Requested 'release', was: 'integration'")
                        } else if (status == 'milestone') {
                            byReason("rejection: version 5:   - Attribute 'org.gradle.status' didn't match. Requested 'milestone', was: 'integration'")
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue May 28 15:10:53 UTC 2024
    - 16.7K bytes
    - Viewed (0)
  5. platforms/software/dependency-management/src/integTest/groovy/org/gradle/integtests/resolve/attributes/ComponentAttributesDynamicVersionIntegrationTest.groovy

            resolve.expectGraph {
                root(":", ":test:") {
                    edge("org.test:module:${requested}", 'org.test:module:1.1') {
                        byReason("rejection: version 1.3:   - Attribute 'quality' didn't match. Requested 'qa', was: 'rc'")
                        byReason("rejection: version 1.2:   - Attribute 'quality' didn't match. Requested 'qa', was: 'rc'")
                    }
                }
            }
    
            where:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Oct 10 21:10:11 UTC 2023
    - 10.2K bytes
    - Viewed (0)
  6. platforms/software/dependency-management/src/integTest/groovy/org/gradle/integtests/resolve/versions/AbstractRichVersionConstraintsIntegrationTest.groovy

                    constraint("org:foo:{prefer 1.1.0}", "org:foo:1.1.0")
                    edge("org:foo:[1.0.0,2.0.0)", "org:foo:1.1.0") {
                        notRequested()
                        byConstraint()
                        byReason("didn't match version 2.0.0")
                    }
                }
            }
        }
    
        def "should choose highest special version when multiple prefer versions disagree"() {
            repository {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Jan 23 15:37:32 UTC 2024
    - 30.9K bytes
    - Viewed (0)
  7. platforms/software/dependency-management/src/integTest/groovy/org/gradle/integtests/resolve/PublishedRichVersionConstraintsIntegrationTest.groovy

                        edge("org:foo:{strictly [1.1,1.3]}", "org:foo:1.2") {
                            notRequested()
                            byAncestor()
                            byReason("didn't match version 1.3")
                        }
                    }
                }
            }
        }
    
        @Issue("gradle/gradle#4186")
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Oct 10 21:10:11 UTC 2023
    - 13K bytes
    - Viewed (0)
  8. platforms/software/dependency-management/src/integTest/groovy/org/gradle/integtests/resolve/ivy/IvyDynamicRevisionRemoteResolveIntegrationTest.groovy

                        notRequested()
                        byConflictResolution("between versions 3.0, 1.2 and 2.1")
                        byReason("didn't match versions 2.1, 1.2, 1.1")
                        byReason("didn't match versions 3.0, 2.1")
                        byReason("didn't match version 3.0")
                    }
                    edge("org.test:projectA:2.+", "org.test:projectA:3.0")
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Oct 10 21:10:11 UTC 2023
    - 41.4K bytes
    - Viewed (0)
  9. platforms/software/dependency-management/src/integTest/groovy/org/gradle/integtests/resolve/rules/AbstractDependencyMetadataRulesIntegrationTest.groovy

                root(':', ':test:') {
                    module("org.test:moduleA:1.0:$expectedVariant") {
                        module("org.test:moduleB:1.0") {
                            notRequested()
                            byReason('can set a custom reason in a rule')
                        }
                    }
                }
            }
    
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Oct 10 21:10:11 UTC 2023
    - 36.5K bytes
    - Viewed (0)
  10. platforms/software/dependency-management/src/integTest/groovy/org/gradle/integtests/resolve/api/ResolutionResultApiIntegrationTest.groovy

                        edge('org.test:leaf:0.9', 'org.test:leaf:1.1')
                            .byConflictResolution("between versions 1.1 and 1.0") // conflict with the version requested by 'b'
                            .byReason('second reason') // this comes from 'b'
                            .selectedByRule("substitute 0.9 with 1.0")
                    }
                    module('org.test:b:1.0:runtime') {
                        module('org.test:leaf:1.1')
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Oct 24 06:54:47 UTC 2023
    - 30.5K bytes
    - Viewed (0)
Back to top