Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for testVersionComparing (0.07 sec)

  1. compat/maven-artifact/src/test/java/org/apache/maven/artifact/versioning/DefaultArtifactVersionTest.java

            checkVersionParsing("1.2.3.200705301630", 0, 0, 0, 0, "1.2.3.200705301630");
            checkVersionParsing("1.2.3-200705301630", 1, 2, 3, 0, "200705301630");
        }
    
        @Test
        void testVersionComparing() {
            assertVersionEqual("1", "1");
            assertVersionOlder("1", "2");
            assertVersionOlder("1.5", "2");
            assertVersionOlder("1", "2.5");
            assertVersionEqual("1", "1.0");
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 9.5K bytes
    - Viewed (0)
  2. compat/maven-artifact/src/test/java/org/apache/maven/artifact/versioning/ComparableVersionTest.java

            checkVersionsHaveSameOrder("1Final", "1");
            checkVersionsHaveSameOrder("1FinaL", "1");
            checkVersionsHaveSameOrder("1FINAL", "1");
        }
    
        @Test
        void testVersionComparing() {
            checkVersionsOrder("1", "2");
            checkVersionsOrder("1.5", "2");
            checkVersionsOrder("1", "2.5");
            checkVersionsOrder("1.0", "1.1");
            checkVersionsOrder("1.1", "1.2");
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 14K bytes
    - Viewed (0)
Back to top