aboutsummaryrefslogtreecommitdiffstats
path: root/src/testcases/org/apache/poi/hssf/usermodel
diff options
context:
space:
mode:
authorNick Burch <nick@apache.org>2015-10-24 22:09:08 +0000
committerNick Burch <nick@apache.org>2015-10-24 22:09:08 +0000
commite0addf54a5bb358fe969479cbc00c7939dccfb33 (patch)
tree63454a6e90f7c5f5299080af1cfcd6f9f7e5eab6 /src/testcases/org/apache/poi/hssf/usermodel
parent1072a176edcc3d7ae0524afa10d703c242b716b6 (diff)
downloadpoi-e0addf54a5bb358fe969479cbc00c7939dccfb33.tar.gz
poi-e0addf54a5bb358fe969479cbc00c7939dccfb33.zip
Test to check that #58532 formats are seen as valid
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1710394 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'src/testcases/org/apache/poi/hssf/usermodel')
-rw-r--r--src/testcases/org/apache/poi/hssf/usermodel/TestHSSFDataFormatter.java5
1 files changed, 2 insertions, 3 deletions
diff --git a/src/testcases/org/apache/poi/hssf/usermodel/TestHSSFDataFormatter.java b/src/testcases/org/apache/poi/hssf/usermodel/TestHSSFDataFormatter.java
index dbb99c0a86..425a56627d 100644
--- a/src/testcases/org/apache/poi/hssf/usermodel/TestHSSFDataFormatter.java
+++ b/src/testcases/org/apache/poi/hssf/usermodel/TestHSSFDataFormatter.java
@@ -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