Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for testMissingType (0.08 sec)

  1. compat/maven-model-builder/src/test/java/org/apache/maven/model/validation/DefaultModelValidatorTest.java

            assertEquals(
                    "'artifactId' with value 'm$-do$' does not match a valid coordinate id pattern.",
                    result.getErrors().get(1));
        }
    
        @Test
        void testMissingType() throws Exception {
            SimpleProblemCollector result = validate("missing-type-pom.xml");
    
            assertViolations(result, 0, 1, 0);
    
            assertEquals("'packaging' is missing.", result.getErrors().get(0));
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 32.8K bytes
    - Viewed (0)
Back to top