From: Josh Micich Date: Wed, 5 Nov 2008 23:45:42 +0000 (+0000) Subject: Fixed mistake in test case. Constant value was 4 bytes too large (should be max... X-Git-Tag: trunk_20081106~3 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=5d9cf8661840aac54ae7a1eba0c198b29913700c;p=poi.git Fixed mistake in test case. Constant value was 4 bytes too large (should be max *data* size not max *record* size). git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@711746 13f79535-47bb-0310-9956-ffa450edef68 --- diff --git a/src/testcases/org/apache/poi/hssf/record/TestUnicodeString.java b/src/testcases/org/apache/poi/hssf/record/TestUnicodeString.java index d3b3155bc1..2d64002017 100755 --- a/src/testcases/org/apache/poi/hssf/record/TestUnicodeString.java +++ b/src/testcases/org/apache/poi/hssf/record/TestUnicodeString.java @@ -25,7 +25,7 @@ import junit.framework.TestCase; * @author Jason Height (jheight at apache.org) */ public final class TestUnicodeString extends TestCase { - private static final int MAX_DATA_SIZE = SSTRecord.MAX_RECORD_SIZE; + private static final int MAX_DATA_SIZE = RecordInputStream.MAX_RECORD_DATA_SIZE; /** a 4 character string requiring 16 bit encoding */ private static final String STR_16_BIT = "A\u591A\u8A00\u8A9E";