Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 1 of 1 for assertViolations (0.06 seconds)

  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);
    
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Wed Sep 17 10:01:14 GMT 2025
    - 33.9K bytes
    - Click Count (0)
Back to Top