Search in sources :

Example 1 with ResultsTestFixture

use of org.apache.qpid.disttest.results.ResultsTestFixture in project qpid-broker-j by apache.

the class CSVFormatterTest method testResultsFileWithWithOneRow.

@Test
public void testResultsFileWithWithOneRow() throws Exception {
    ResultsTestFixture resultsTestFixture = new ResultsTestFixture();
    ResultsForAllTests resultsForAllTests = resultsTestFixture.createResultsForAllTests();
    String output = _formatter.format(resultsForAllTests.getTestResults());
    String expectedOutput = readCsvOutputFileAsString("expectedOutput.csv");
    assertEquals(expectedOutput, output);
}
Also used : ResultsTestFixture(org.apache.qpid.disttest.results.ResultsTestFixture) ResultsForAllTests(org.apache.qpid.disttest.controller.ResultsForAllTests) Test(org.junit.Test)

Aggregations

ResultsForAllTests (org.apache.qpid.disttest.controller.ResultsForAllTests)1 ResultsTestFixture (org.apache.qpid.disttest.results.ResultsTestFixture)1 Test (org.junit.Test)1