protected static final List<String> EXCLUDED = new ArrayList<String>();
- @Parameters(name="{index}: {0} using {1}")
+ @Parameters(name="{index}: {0}")
public static Iterable<Object[]> files() {
String dataDirName = System.getProperty(POIDataSamples.TEST_PROPERTY);
if(dataDirName == null) {
EXCLUDED.add("46904.xls");
EXCLUDED.add("testEXCEL_3.xls"); // Biff 3 / Excel 3, pre-OLE2
EXCLUDED.add("testEXCEL_4.xls"); // old unsupported format
+ EXCLUDED.add("testEXCEL_5.xls"); // Biff 5 / Excel 5
+ EXCLUDED.add("testEXCEL_95.xls"); // Biff 5 / Excel 95
}
@Override
System.setOut(save);
}
}
+
+ //@Test
+ public void testFile() throws IOException {
+ RecordLister viewer = new RecordLister();
+ viewer.setFile(new File("test-data/spreadsheet/testEXCEL_95.xls").getAbsolutePath());
+ viewer.run();
+ }
}