Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for parseInvalid (0.09 sec)

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

            assertEquals(range, parseValid(range.toString()));
        }
    
        @Test
        void testMissingOpenCloseDelimiter() {
            parseInvalid("1.0");
        }
    
        @Test
        void testMissingOpenDelimiter() {
            parseInvalid("1.0]");
            parseInvalid("1.0)");
        }
    
        @Test
        void testMissingCloseDelimiter() {
            parseInvalid("[1.0");
            parseInvalid("(1.0");
        }
    
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 4.8K bytes
    - Viewed (0)
  2. compat/maven-resolver-provider/src/test/java/org/apache/maven/repository/internal/ModelVersionParserTest.java

            assertContains(String.format("%s: %%s should be contained\n", c.toString()), c, true, versions);
        }
    
        @Test
        void testInvalid() {
            parseInvalid("[1,");
            parseInvalid("[1,2],(3,");
            parseInvalid("[1,2],3");
        }
    
        @Test
        void testSameUpperAndLowerBound() throws VersionParserException {
            VersionConstraint c = versionParser.parseVersionConstraint("[1.0]");
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 4K bytes
    - Viewed (0)
Back to top