Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for getFatals (0.1 sec)

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

            SimpleProblemCollector result = validateRaw("incomplete-parent.xml");
    
            assertViolations(result, 3, 0, 0);
            assertTrue(result.getFatals().get(0).contains("parent.groupId"));
            assertTrue(result.getFatals().get(1).contains("parent.artifactId"));
            assertTrue(result.getFatals().get(2).contains("parent.version"));
        }
    
        @Test
        void testHardCodedSystemPath() throws Exception {
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 32.8K bytes
    - Viewed (0)
  2. compat/maven-model-builder/src/test/java/org/apache/maven/model/building/SimpleProblemCollector.java

            return model;
        }
    
        public List<String> getWarnings() {
            return warnings;
        }
    
        public List<String> getErrors() {
            return errors;
        }
    
        public List<String> getFatals() {
            return fatals;
        }
    
        public void add(ModelProblemCollectorRequest req) {
            switch (req.getSeverity()) {
                case FATAL:
                    if (!fatals.contains(req.getMessage())) {
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 2.3K bytes
    - Viewed (0)
  3. compat/maven-model-builder/src/test/java/org/apache/maven/model/interpolation/AbstractModelInterpolatorTest.java

            assertEquals(0, collector.getErrors().size(), "Expected no errors");
            assertEquals(0, collector.getWarnings().size(), "Expected no warnings");
            assertEquals(0, collector.getFatals().size(), "Expected no fatals");
        }
    
        protected void assertCollectorState(
                int numFatals, int numErrors, int numWarnings, SimpleProblemCollector collector) {
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 22.2K bytes
    - Viewed (0)
Back to top