@Test public void testCSVFile() throws Exception { String line = readTestData(); assertNotNull("file must contain config line", line); final String[] split = line.split(" "); line = readTestData(); // get string version of format assertEquals(testName + " Expected format ", line, format.toString()); assertEquals(testName, readTestData(), count + ":" + parsed);
@Test public void testCSVUrl() throws Exception { String line = readTestData(); assertNotNull("file must contain config line", line); final String[] split = line.split(" "); line = readTestData(); // get string version of format assertEquals(testName + " Expected format ", line, format.toString()); assertEquals(testName, readTestData(), count + ":" + parsed);