Search Options

Results per page
Sort
Preferred Languages
Advance

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

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

            assertViolations(result, 0, 1, 0);
    
            assertEquals("'modelVersion' is missing.", result.getErrors().get(0));
        }
    
        @Test
        void testBadModelVersion() throws Exception {
            SimpleProblemCollector result =
                    validateRaw("bad-modelVersion.xml", ModelBuildingRequest.VALIDATION_LEVEL_STRICT);
    
            assertViolations(result, 1, 0, 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