Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for testGetSource (0.17 sec)

  1. compat/maven-builder-support/src/test/java/org/apache/maven/building/DefaultProblemTest.java

            Exception e = new Exception();
            problem = new DefaultProblem(null, null, null, -1, -1, e);
            assertSame(e, problem.getException());
        }
    
        @Test
        void testGetSource() {
            DefaultProblem problem = new DefaultProblem(null, null, null, -1, -1, null);
            assertEquals("", problem.getSource());
    
            problem = new DefaultProblem(null, null, "", -1, -1, null);
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 4.9K bytes
    - Viewed (0)
  2. compat/maven-builder-support/src/test/java/org/apache/maven/building/DefaultProblemCollectorTest.java

            assertEquals("", p2.getMessage());
            assertEquals(42, p2.getLineNumber());
            assertEquals(127, p2.getColumnNumber());
            assertEquals(e2, p2.getException());
        }
    
        @Test
        void testSetSource() {
            DefaultProblemCollector collector = new DefaultProblemCollector(null);
    
            collector.add(null, "PROBLEM1", -1, -1, null);
    
            collector.setSource("SOURCE_PROBLEM2");
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 2.7K bytes
    - Viewed (0)
Back to top