diff options
author | Dominik Stadler <centic@apache.org> | 2015-08-27 06:32:33 +0000 |
---|---|---|
committer | Dominik Stadler <centic@apache.org> | 2015-08-27 06:32:33 +0000 |
commit | 1f40d2a3c64ac1dc2bba5a0bfb0dc2c6531c0069 (patch) | |
tree | 516e2199d7242ee54fa68e76688ead0485ce0c1d /src/testcases/org/apache/poi/hssf/dev | |
parent | 945f390dbb5b80b959aacf9748e048f452fd348f (diff) | |
download | poi-1f40d2a3c64ac1dc2bba5a0bfb0dc2c6531c0069.tar.gz poi-1f40d2a3c64ac1dc2bba5a0bfb0dc2c6531c0069.zip |
Adjust excludes for TestRecordLister
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1698081 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'src/testcases/org/apache/poi/hssf/dev')
-rw-r--r-- | src/testcases/org/apache/poi/hssf/dev/BaseXLSIteratingTest.java | 2 | ||||
-rw-r--r-- | src/testcases/org/apache/poi/hssf/dev/TestRecordLister.java | 9 |
2 files changed, 10 insertions, 1 deletions
diff --git a/src/testcases/org/apache/poi/hssf/dev/BaseXLSIteratingTest.java b/src/testcases/org/apache/poi/hssf/dev/BaseXLSIteratingTest.java index ca15d74ddc..48c65895cf 100644 --- a/src/testcases/org/apache/poi/hssf/dev/BaseXLSIteratingTest.java +++ b/src/testcases/org/apache/poi/hssf/dev/BaseXLSIteratingTest.java @@ -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) { diff --git a/src/testcases/org/apache/poi/hssf/dev/TestRecordLister.java b/src/testcases/org/apache/poi/hssf/dev/TestRecordLister.java index 6c40b8b5ce..4c0ad1add0 100644 --- a/src/testcases/org/apache/poi/hssf/dev/TestRecordLister.java +++ b/src/testcases/org/apache/poi/hssf/dev/TestRecordLister.java @@ -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(); + } } |