Search Options

Results per page
Sort
Preferred Languages
Advance

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

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

            assertOrder(X_EQ_Y, "1", "1-ga.ga");
            assertOrder(X_EQ_Y, "1", "1-ga-ga");
            assertOrder(X_EQ_Y, "A", "A.ga.ga");
            assertOrder(X_EQ_Y, "A", "A-ga-ga");
            assertOrder(X_EQ_Y, "1", "1-final");
            assertOrder(X_EQ_Y, "1", "1-release");
            assertOrder(X_LT_Y, "1", "1-sp");
    
            assertOrder(X_LT_Y, "A.rc.1", "A.ga.1");
            assertOrder(X_GT_Y, "A.sp.1", "A.ga.1");
    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

        protected static final int X_LT_Y = -1;
    
        protected static final int X_EQ_Y = 0;
    
        protected static final int X_GT_Y = 1;
    
        protected abstract Version newVersion(String version);
    
        protected void assertOrder(int expected, String version1, String version2) {
            Version v1 = newVersion(version1);
            Version v2 = newVersion(version2);
    
            if (expected > 0) {
    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