public void testLoad_Bougie_testrun() throws IOException {
File f = TestDataProvider.getTestFile(new Path("testData/BougieTest_testrun.xml"));
JunitResult result = JunitresultLoader.loadFromXML(f);
assertTrue("should be a Testrun instance", result instanceof Testrun);
Testrun testrun = (Testrun) result;
assertEquals("net.cars.engine.BougieTest", testrun.getName());
assertEquals(2, testrun.getTests());
assertEquals(2, testrun.getStarted());
assertEquals(0, testrun.getFailures());
assertEquals(1, testrun.getErrors());
assertEquals(0, testrun.getIgnored());
assertEquals("There should be one testsuite", 1, testrun.getTestsuites().size());
Testsuite testsuite = testrun.getTestsuites().get(0);
assertEquals("net.cars.engine.BougieTest", testsuite.getName());
assertEquals(0.017, testsuite.getTime());
assertEquals("There should be two testcases", 2, testsuite.getTestcases().size());
Testcase tc1 = testsuite.getTestcases().get(0);