diff options
author | Nick Burch <nick@apache.org> | 2014-11-30 15:54:34 +0000 |
---|---|---|
committer | Nick Burch <nick@apache.org> | 2014-11-30 15:54:34 +0000 |
commit | 2821bcaf41897f43be858cb6e153c9bbd0d26f96 (patch) | |
tree | 48b54123882a444de021d68b28a8110f58a88252 /src/testcases/org/apache/poi/hssf/extractor | |
parent | 6d1c6f391b852bca97d3c4e181445ae00218b762 (diff) | |
download | poi-2821bcaf41897f43be858cb6e153c9bbd0d26f96.tar.gz poi-2821bcaf41897f43be858cb6e153c9bbd0d26f96.zip |
Track what Biff version we are working on, and use that to work around Biff 2 and 5 having the same formula record sid for different layouts
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1642556 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'src/testcases/org/apache/poi/hssf/extractor')
-rw-r--r-- | src/testcases/org/apache/poi/hssf/extractor/TestOldExcelExtractor.java | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/src/testcases/org/apache/poi/hssf/extractor/TestOldExcelExtractor.java b/src/testcases/org/apache/poi/hssf/extractor/TestOldExcelExtractor.java index 1558a50e02..d3589b7302 100644 --- a/src/testcases/org/apache/poi/hssf/extractor/TestOldExcelExtractor.java +++ b/src/testcases/org/apache/poi/hssf/extractor/TestOldExcelExtractor.java @@ -52,7 +52,7 @@ public final class TestOldExcelExtractor extends POITestCase { assertContains(text, "11"); assertContains(text, "784"); } - public void DISABLEDtestSimpleExcel5() { + public void testSimpleExcel5() { for (String ver : new String[] {"5", "95"}) { OldExcelExtractor extractor = createExtractor("testEXCEL_"+ver+".xls"); @@ -105,7 +105,7 @@ public final class TestOldExcelExtractor extends POITestCase { // assertContains(text, "55,624"); // assertContains(text, "11,743,477"); } - public void DISABLEDtestFormattedNumbersExcel5() { + public void testFormattedNumbersExcel5() { for (String ver : new String[] {"5", "95"}) { OldExcelExtractor extractor = createExtractor("testEXCEL_"+ver+".xls"); String text = extractor.getText(); @@ -116,6 +116,9 @@ public final class TestOldExcelExtractor extends POITestCase { // Numbers which come from formulas assertContains(text, "13"); assertContains(text, "169"); + + // Formatted numbers + // TODO } } |