update EcherContainerRecord.toString() test case
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1151891 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
493aa8c30d
commit
2bb80b559c
@ -20,7 +20,6 @@ package org.apache.poi.ddf;
|
|||||||
import java.util.List;
|
import java.util.List;
|
||||||
|
|
||||||
import junit.framework.TestCase;
|
import junit.framework.TestCase;
|
||||||
|
|
||||||
import org.apache.poi.POIDataSamples;
|
import org.apache.poi.POIDataSamples;
|
||||||
import org.apache.poi.util.HexDump;
|
import org.apache.poi.util.HexDump;
|
||||||
import org.apache.poi.util.HexRead;
|
import org.apache.poi.util.HexRead;
|
||||||
@ -95,12 +94,13 @@ public final class TestEscherContainerRecord extends TestCase {
|
|||||||
" numchildren: 1" + nl +
|
" numchildren: 1" + nl +
|
||||||
" children: " + nl +
|
" children: " + nl +
|
||||||
" Child 0:" + nl +
|
" Child 0:" + nl +
|
||||||
"org.apache.poi.ddf.EscherOptRecord:" + nl +
|
" org.apache.poi.ddf.EscherOptRecord:" + nl +
|
||||||
" isContainer: false" + nl +
|
" isContainer: false" + nl +
|
||||||
" options: 0x0003" + nl +
|
" options: 0x0003" + nl +
|
||||||
" recordId: 0xF00B" + nl +
|
" recordId: 0xF00B" + nl +
|
||||||
" numchildren: 0" + nl +
|
" numchildren: 0" + nl +
|
||||||
" properties:" + nl;
|
" properties:" + nl +
|
||||||
|
" " + nl;
|
||||||
assertEquals(expected, r.toString());
|
assertEquals(expected, r.toString());
|
||||||
|
|
||||||
r.addChildRecord(r2);
|
r.addChildRecord(r2);
|
||||||
@ -111,19 +111,21 @@ public final class TestEscherContainerRecord extends TestCase {
|
|||||||
" numchildren: 2" + nl +
|
" numchildren: 2" + nl +
|
||||||
" children: " + nl +
|
" children: " + nl +
|
||||||
" Child 0:" + nl +
|
" Child 0:" + nl +
|
||||||
"org.apache.poi.ddf.EscherOptRecord:" + nl +
|
" org.apache.poi.ddf.EscherOptRecord:" + nl +
|
||||||
" isContainer: false" + nl +
|
" isContainer: false" + nl +
|
||||||
" options: 0x0003" + nl +
|
" options: 0x0003" + nl +
|
||||||
" recordId: 0xF00B" + nl +
|
" recordId: 0xF00B" + nl +
|
||||||
" numchildren: 0" + nl +
|
" numchildren: 0" + nl +
|
||||||
" properties:" + nl +
|
" properties:" + nl +
|
||||||
|
" " + nl +
|
||||||
" Child 1:" + nl +
|
" Child 1:" + nl +
|
||||||
"org.apache.poi.ddf.EscherOptRecord:" + nl +
|
" org.apache.poi.ddf.EscherOptRecord:" + nl +
|
||||||
" isContainer: false" + nl +
|
" isContainer: false" + nl +
|
||||||
" options: 0x0003" + nl +
|
" options: 0x0003" + nl +
|
||||||
" recordId: 0xF00B" + nl +
|
" recordId: 0xF00B" + nl +
|
||||||
" numchildren: 0" + nl +
|
" numchildren: 0" + nl +
|
||||||
" properties:" + nl;
|
" properties:" + nl +
|
||||||
|
" " + nl;
|
||||||
assertEquals(expected, r.toString());
|
assertEquals(expected, r.toString());
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user