@Test public void shouldWarnWhenFileAttributeDoesNotExist() throws Exception { final TestSuites suites = parser.parse(new File("src/test/resources/" + PhpTestUtils.PHPUNIT_REPORT_DIR + "phpunit-no-file.xml")); assertThat(suites.arrangeSuitesIntoTestFileReports().size()).isEqualTo(0); assertThat(logTester.logs()).contains("Test cases must always be descendants of a file-based suite, skipping : HelloWorldTest.testFoo2 in HelloWorldTest"); }
public TestSuites parse(File report) { try { return processRoot(report, inputFactory()); } catch (XMLStreamException e) { throw new IllegalStateException("Can't read PhpUnit report : " + report.getAbsolutePath(), e); } }
JUnitLogParserForPhpUnit { public TestSuites parse(File report) { try { return processRoot(report, inputFactory()); } catch (XMLStreamException e) { throw new IllegalStateException("Can't read PhpUnit report : " + report.getAbsolutePath(), e); } } }
JUnitLogParserForPhpUnit { public TestSuites parse(File report) { try { return processRoot(report, inputFactory()); } catch (XMLStreamException e) { throw new IllegalStateException("Can't read PhpUnit report : " + report.getAbsolutePath(), e); } }  }
JUnitLogParserForPhpUnit { public TestSuites parse(File report) { try { return processRoot(report, inputFactory()); } catch (XMLStreamException e) { throw new IllegalStateException("Can't read PhpUnit report : " + report.getAbsolutePath(), e); } }  TestSuites parse(File report); static SMInputFactory inputFactory(); }
JUnitLogParserForPhpUnit { public TestSuites parse(File report) { try { return processRoot(report, inputFactory()); } catch (XMLStreamException e) { throw new IllegalStateException("Can't read PhpUnit report : " + report.getAbsolutePath(), e); } }  TestSuites parse(File report); static SMInputFactory inputFactory();  }