aboutsummaryrefslogtreecommitdiffstats
path: root/src/testcases
diff options
context:
space:
mode:
authorSergey Vladimirov <sergey@apache.org>2011-10-02 08:37:15 +0000
committerSergey Vladimirov <sergey@apache.org>2011-10-02 08:37:15 +0000
commit4b7aaa37d2e9a211fab420ee93f1078c3f588aa0 (patch)
tree06b6f9992a1fff03b6553f57c93cc0563584656e /src/testcases
parent30bec5e76b60331f0b8c7acca5ab18cf24673df6 (diff)
downloadpoi-4b7aaa37d2e9a211fab420ee93f1078c3f588aa0.tar.gz
poi-4b7aaa37d2e9a211fab420ee93f1078c3f588aa0.zip
update testSectionMethods() test (due to padding)
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1178148 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'src/testcases')
-rw-r--r--src/testcases/org/apache/poi/hpsf/basic/TestBasic.java5
1 files changed, 2 insertions, 3 deletions
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;
/**
* <p>Tests the basic HPSF functionality.</p>
@@ -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());
}
}