Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 5 of 5 for assertResolveConflict (0.17 sec)

  1. compat/maven-compat/src/test/java/org/apache/maven/repository/legacy/resolver/conflict/NewestConflictResolverTest.java

        @Test
        void testDepth() {
            ResolutionNode a1n = createResolutionNode(a1);
            ResolutionNode b1n = createResolutionNode(b1);
            ResolutionNode a2n = createResolutionNode(a2, b1n);
    
            assertResolveConflict(a2n, a1n, a2n);
        }
    
        /**
         * Tests that <code>a:2.0</code> wins in the scenario:
         * <pre>
         * b:1.0 -&gt; a:2.0
         * a:1.0
         * </pre>
         */
        @Test
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 2.8K bytes
    - Viewed (0)
  2. compat/maven-compat/src/test/java/org/apache/maven/repository/legacy/resolver/conflict/FarthestConflictResolverTest.java

        @Test
        void testDepth() {
            ResolutionNode a1n = createResolutionNode(a1);
            ResolutionNode b1n = createResolutionNode(b1);
            ResolutionNode a2n = createResolutionNode(a2, b1n);
    
            assertResolveConflict(a2n, a1n, a2n);
        }
    
        /**
         * Tests that <code>a:2.0</code> wins in the scenario:
         * <pre>
         * b:1.0 -&gt; a:2.0
         * a:1.0
         * </pre>
         */
        @Test
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 2.8K bytes
    - Viewed (0)
  3. compat/maven-compat/src/test/java/org/apache/maven/repository/legacy/resolver/conflict/NearestConflictResolverTest.java

        @Test
        void testDepth() {
            ResolutionNode a1n = createResolutionNode(a1);
            ResolutionNode b1n = createResolutionNode(b1);
            ResolutionNode a2n = createResolutionNode(a2, b1n);
    
            assertResolveConflict(a1n, a1n, a2n);
        }
    
        /**
         * Tests that <code>a:1.0</code> wins in the scenario:
         * <pre>
         * b:1.0 -&gt; a:2.0
         * a:1.0
         * </pre>
         */
        @Test
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 2.8K bytes
    - Viewed (0)
  4. compat/maven-compat/src/test/java/org/apache/maven/repository/legacy/resolver/conflict/OldestConflictResolverTest.java

        @Test
        void testDepth() {
            ResolutionNode a1n = createResolutionNode(a1);
            ResolutionNode b1n = createResolutionNode(b1);
            ResolutionNode a2n = createResolutionNode(a2, b1n);
    
            assertResolveConflict(a1n, a1n, a2n);
        }
    
        /**
         * Tests that <code>a:1.0</code> wins in the scenario:
         * <pre>
         * b:1.0 -&gt; a:2.0
         * a:1.0
         * </pre>
         */
        @Test
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 2.8K bytes
    - Viewed (0)
  5. compat/maven-compat/src/test/java/org/apache/maven/repository/legacy/resolver/conflict/AbstractConflictResolverTest.java

        }
    
        // protected methods ------------------------------------------------------
    
        protected ConflictResolver getConflictResolver() {
            return conflictResolver;
        }
    
        protected void assertResolveConflict(
                ResolutionNode expectedNode, ResolutionNode actualNode1, ResolutionNode actualNode2) {
            ResolutionNode resolvedNode = getConflictResolver().resolveConflict(actualNode1, actualNode2);
    
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 4.4K bytes
    - Viewed (0)
Back to top