From: Sergey Vladimirov Date: Thu, 28 Jul 2011 15:13:37 +0000 (+0000) Subject: update EcherContainerRecord.toString() test case X-Git-Tag: REL_3_8_BETA4~50 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=c9c353b0ed8247d25825d9344c9dd4aa98e9634a;p=poi.git update EcherContainerRecord.toString() test case git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1151891 13f79535-47bb-0310-9956-ffa450edef68 --- diff --git a/src/testcases/org/apache/poi/ddf/TestEscherContainerRecord.java b/src/testcases/org/apache/poi/ddf/TestEscherContainerRecord.java index b3637b0f4b..a2fc0d7b1b 100644 --- a/src/testcases/org/apache/poi/ddf/TestEscherContainerRecord.java +++ b/src/testcases/org/apache/poi/ddf/TestEscherContainerRecord.java @@ -20,7 +20,6 @@ package org.apache.poi.ddf; import java.util.List; import junit.framework.TestCase; - import org.apache.poi.POIDataSamples; import org.apache.poi.util.HexDump; import org.apache.poi.util.HexRead; @@ -95,35 +94,38 @@ public final class TestEscherContainerRecord extends TestCase { " numchildren: 1" + nl + " children: " + nl + " Child 0:" + nl + - "org.apache.poi.ddf.EscherOptRecord:" + nl + - " isContainer: false" + nl + - " options: 0x0003" + nl + - " recordId: 0xF00B" + nl + - " numchildren: 0" + nl + - " properties:" + nl; + " org.apache.poi.ddf.EscherOptRecord:" + nl + + " isContainer: false" + nl + + " options: 0x0003" + nl + + " recordId: 0xF00B" + nl + + " numchildren: 0" + nl + + " properties:" + nl + + " " + nl; assertEquals(expected, r.toString()); r.addChildRecord(r2); expected = "org.apache.poi.ddf.EscherContainerRecord (SpContainer):" + nl + - " isContainer: true" + nl + - " options: 0x000F" + nl + - " recordId: 0xF004" + nl + - " numchildren: 2" + nl + - " children: " + nl + - " Child 0:" + nl + - "org.apache.poi.ddf.EscherOptRecord:" + nl + - " isContainer: false" + nl + - " options: 0x0003" + nl + - " recordId: 0xF00B" + nl + - " numchildren: 0" + nl + - " properties:" + nl + - " Child 1:" + nl + - "org.apache.poi.ddf.EscherOptRecord:" + nl + - " isContainer: false" + nl + - " options: 0x0003" + nl + - " recordId: 0xF00B" + nl + - " numchildren: 0" + nl + - " properties:" + nl; + " isContainer: true" + nl + + " options: 0x000F" + nl + + " recordId: 0xF004" + nl + + " numchildren: 2" + nl + + " children: " + nl + + " Child 0:" + nl + + " org.apache.poi.ddf.EscherOptRecord:" + nl + + " isContainer: false" + nl + + " options: 0x0003" + nl + + " recordId: 0xF00B" + nl + + " numchildren: 0" + nl + + " properties:" + nl + + " " + nl + + " Child 1:" + nl + + " org.apache.poi.ddf.EscherOptRecord:" + nl + + " isContainer: false" + nl + + " options: 0x0003" + nl + + " recordId: 0xF00B" + nl + + " numchildren: 0" + nl + + " properties:" + nl + + " " + nl; assertEquals(expected, r.toString()); }