tika-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From n...@apache.org
Subject svn commit: r1225099 - /tika/trunk/tika-parsers/src/test/java/org/apache/tika/parser/microsoft/ExcelParserTest.java
Date Wed, 28 Dec 2011 05:31:11 GMT
Author: nick
Date: Wed Dec 28 05:31:10 2011
New Revision: 1225099

URL: http://svn.apache.org/viewvc?rev=1225099&view=rev
Log:
TIKA-833 Mark some more Excel formatting tests as passing (with tweaks to match what actually
gets stored)

Modified:
    tika/trunk/tika-parsers/src/test/java/org/apache/tika/parser/microsoft/ExcelParserTest.java

Modified: tika/trunk/tika-parsers/src/test/java/org/apache/tika/parser/microsoft/ExcelParserTest.java
URL: http://svn.apache.org/viewvc/tika/trunk/tika-parsers/src/test/java/org/apache/tika/parser/microsoft/ExcelParserTest.java?rev=1225099&r1=1225098&r2=1225099&view=diff
==============================================================================
--- tika/trunk/tika-parsers/src/test/java/org/apache/tika/parser/microsoft/ExcelParserTest.java
(original)
+++ tika/trunk/tika-parsers/src/test/java/org/apache/tika/parser/microsoft/ExcelParserTest.java
Wed Dec 28 05:31:10 2011
@@ -107,24 +107,25 @@ public class ExcelParserTest extends Tes
             // Date Format: d-mmm-yy
             assertTrue(content.contains("17-May-07"));
 
+            // Date Format: m/d/yy
+            assertTrue(content.contains("10/3/09"));
+            
+            // Date/Time Format: m/d/yy h:mm
+            assertTrue(content.contains("1/19/08 4:35"));
+
+            
             // Below assertions represent outstanding formatting issues to be addressed
             // they are included to allow the issues to be progressed with the Apache POI
             // team - See TIKA-103.
 
             /*************************************************************************
-            // Date Format: m/d/yy
-            assertTrue(content.contains("03/10/2009"));
-
-            // Date/Time Format
-            assertTrue(content.contains("19/01/2008 04:35"));
-
             // Custom Number (0 "dollars and" .00 "cents")
             assertTrue(content.contains("19 dollars and .99 cents"));
 
             // Custom Number ("At" h:mm AM/PM "on" dddd mmmm d"," yyyy)
             assertTrue(content.contains("At 4:20 AM on Thursday May 17, 2007"));
 
-            // Fraction (2.5): # ?/?
+            // Fraction (2.5): # ?/?  (TODO Coming in POI 3.8 beta 6)
             assertTrue(content.contains("2 1 / 2"));
             **************************************************************************/
 



Mime
View raw message