Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for assertSequence (0.08 sec)

  1. compat/maven-resolver-provider/src/test/java/org/apache/maven/repository/internal/VersionTest.java

                    "1.0.1-SNAPSHOT",
                    "1.0.1",
                    "1.1-SNAPSHOT",
                    "1.1");
    
            assertSequence("1.0-alpha", "1.0", "1.0-1");
            assertSequence("1.0.alpha", "1.0", "1.0-1");
            assertSequence("1.0-alpha", "1.0", "1.0.1");
            assertSequence("1.0.alpha", "1.0", "1.0.1");
        }
    
        @Test
        void testMinimumSegment() {
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 17.1K bytes
    - Viewed (0)
  2. compat/maven-resolver-provider/src/test/java/org/apache/maven/repository/internal/AbstractVersionTest.java

                assertEquals(v2, v1, "expected " + v2 + " == " + v1);
                assertEquals(v1.hashCode(), v2.hashCode(), "expected #(" + v1 + ") == #(" + v1 + ")");
            }
        }
    
        protected void assertSequence(String... versions) {
            for (int i = 0; i < versions.length - 1; i++) {
                for (int j = i + 1; j < versions.length; j++) {
                    assertOrder(X_LT_Y, versions[i], versions[j]);
                }
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 2.8K bytes
    - Viewed (0)
Back to top