]> source.dussan.org Git - poi.git/commitdiff
Test to check that #58532 formats are seen as valid
authorNick Burch <nick@apache.org>
Sat, 24 Oct 2015 22:09:08 +0000 (22:09 +0000)
committerNick Burch <nick@apache.org>
Sat, 24 Oct 2015 22:09:08 +0000 (22:09 +0000)
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1710394 13f79535-47bb-0310-9956-ffa450edef68

src/testcases/org/apache/poi/hssf/usermodel/TestHSSFDataFormatter.java

index dbb99c0a86f80746d7a8b97289b6906ed573547a..425a56627dedd28cc366f69b8c560b8ff9aff4ba 100644 (file)
@@ -39,9 +39,6 @@ import org.junit.Test;
 
 /**
  * Unit tests for HSSFDataFormatter.java
- *
- * @author James May (james dot may at fmr dot com)
- *
  */
 public final class TestHSSFDataFormatter {
 
@@ -128,6 +125,8 @@ public final class TestHSSFDataFormatter {
                                "0.000E+00",
                                "0.00E+00",
                                "[BLACK]0.00;[COLOR 5]##.##",
+                               "[>999999]#,,\"M\";[>999]#,\"K\";#", // num/K/M
+                               "[>999999]#.000,,\"M\";[>999]#.000,\"K\";#.000", // with decimals
                };
 
                // invalid date formats -- will throw exception in DecimalFormat ctor