From: Sergey Vladimirov Date: Sun, 2 Oct 2011 08:37:15 +0000 (+0000) Subject: update testSectionMethods() test (due to padding) X-Git-Tag: REL_3_8_BETA5~97 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=4b7aaa37d2e9a211fab420ee93f1078c3f588aa0;p=poi.git update testSectionMethods() test (due to padding) git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1178148 13f79535-47bb-0310-9956-ffa450edef68 --- diff --git a/src/testcases/org/apache/poi/hpsf/basic/TestBasic.java b/src/testcases/org/apache/poi/hpsf/basic/TestBasic.java index b773bd6fd7..5e4beccb8f 100644 --- a/src/testcases/org/apache/poi/hpsf/basic/TestBasic.java +++ b/src/testcases/org/apache/poi/hpsf/basic/TestBasic.java @@ -27,7 +27,7 @@ import java.util.List; import junit.framework.Assert; import junit.framework.TestCase; - +import org.apache.poi.POIDataSamples; import org.apache.poi.hpsf.DocumentSummaryInformation; import org.apache.poi.hpsf.HPSFException; import org.apache.poi.hpsf.MarkUnsupportedException; @@ -37,7 +37,6 @@ import org.apache.poi.hpsf.PropertySetFactory; import org.apache.poi.hpsf.Section; import org.apache.poi.hpsf.SummaryInformation; import org.apache.poi.hpsf.wellknown.SectionIDMap; -import org.apache.poi.POIDataSamples; /** *

Tests the basic HPSF functionality.

@@ -194,6 +193,6 @@ public final class TestBasic extends TestCase { Assert.assertNotNull(s.getProperties()); Assert.assertEquals(17, s.getPropertyCount()); Assert.assertEquals("Titel", s.getProperty(2)); - Assert.assertEquals(1748, s.getSize()); + Assert.assertEquals(1764, s.getSize()); } }