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
This commit is contained in:
parent
dc0f6c0a93
commit
41419d44eb
@ -39,9 +39,6 @@ import org.junit.Test;
|
|||||||
|
|
||||||
/**
|
/**
|
||||||
* Unit tests for HSSFDataFormatter.java
|
* Unit tests for HSSFDataFormatter.java
|
||||||
*
|
|
||||||
* @author James May (james dot may at fmr dot com)
|
|
||||||
*
|
|
||||||
*/
|
*/
|
||||||
public final class TestHSSFDataFormatter {
|
public final class TestHSSFDataFormatter {
|
||||||
|
|
||||||
@ -128,6 +125,8 @@ public final class TestHSSFDataFormatter {
|
|||||||
"0.000E+00",
|
"0.000E+00",
|
||||||
"0.00E+00",
|
"0.00E+00",
|
||||||
"[BLACK]0.00;[COLOR 5]##.##",
|
"[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
|
// invalid date formats -- will throw exception in DecimalFormat ctor
|
||||||
|
Loading…
Reference in New Issue
Block a user