]> source.dussan.org Git - poi.git/commitdiff
update testSectionMethods() test (due to padding)
authorSergey Vladimirov <sergey@apache.org>
Sun, 2 Oct 2011 08:37:15 +0000 (08:37 +0000)
committerSergey Vladimirov <sergey@apache.org>
Sun, 2 Oct 2011 08:37:15 +0000 (08:37 +0000)
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1178148 13f79535-47bb-0310-9956-ffa450edef68

src/testcases/org/apache/poi/hpsf/basic/TestBasic.java

index b773bd6fd799e2835d2dfe3d7c90669da729c1df..5e4beccb8f06e6f5e06397fa5b4ce60ba74cf62d 100644 (file)
@@ -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());
     }
 }