update testSectionMethods() test (due to padding)

git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1178148 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Sergey Vladimirov 2011-10-02 08:37:15 +00:00
parent 30bec5e76b
commit 4b7aaa37d2
1 changed files with 2 additions and 3 deletions

View File

@ -27,7 +27,7 @@ import java.util.List;
import junit.framework.Assert; import junit.framework.Assert;
import junit.framework.TestCase; import junit.framework.TestCase;
import org.apache.poi.POIDataSamples;
import org.apache.poi.hpsf.DocumentSummaryInformation; import org.apache.poi.hpsf.DocumentSummaryInformation;
import org.apache.poi.hpsf.HPSFException; import org.apache.poi.hpsf.HPSFException;
import org.apache.poi.hpsf.MarkUnsupportedException; 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.Section;
import org.apache.poi.hpsf.SummaryInformation; import org.apache.poi.hpsf.SummaryInformation;
import org.apache.poi.hpsf.wellknown.SectionIDMap; import org.apache.poi.hpsf.wellknown.SectionIDMap;
import org.apache.poi.POIDataSamples;
/** /**
* <p>Tests the basic HPSF functionality.</p> * <p>Tests the basic HPSF functionality.</p>
@ -194,6 +193,6 @@ public final class TestBasic extends TestCase {
Assert.assertNotNull(s.getProperties()); Assert.assertNotNull(s.getProperties());
Assert.assertEquals(17, s.getPropertyCount()); Assert.assertEquals(17, s.getPropertyCount());
Assert.assertEquals("Titel", s.getProperty(2)); Assert.assertEquals("Titel", s.getProperty(2));
Assert.assertEquals(1748, s.getSize()); Assert.assertEquals(1764, s.getSize());
} }
} }