]> source.dussan.org Git - poi.git/commitdiff
Adjust excludes for TestRecordLister
authorDominik Stadler <centic@apache.org>
Thu, 27 Aug 2015 06:32:33 +0000 (06:32 +0000)
committerDominik Stadler <centic@apache.org>
Thu, 27 Aug 2015 06:32:33 +0000 (06:32 +0000)
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1698081 13f79535-47bb-0310-9956-ffa450edef68

src/testcases/org/apache/poi/hssf/dev/BaseXLSIteratingTest.java
src/testcases/org/apache/poi/hssf/dev/TestRecordLister.java

index ca15d74ddc953c5ec980784cb2f1345cb04a07d2..48c65895cf20acc13361656c0a48648f132415dd 100644 (file)
@@ -47,7 +47,7 @@ public abstract class BaseXLSIteratingTest {
 
        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) {
index 6c40b8b5ce031f8e3ef5c91685308fdedea34ae4..4c0ad1add06910db7cbb381da190b2f2625b3b02 100644 (file)
@@ -26,6 +26,8 @@ public class TestRecordLister extends BaseXLSIteratingTest {
                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
@@ -42,4 +44,11 @@ public class TestRecordLister extends BaseXLSIteratingTest {
                        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();
+       }
 }