mirror of
https://github.com/apache/poi.git
synced 2026-02-27 20:40:08 +08:00
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1637977 13f79535-47bb-0310-9956-ffa450edef68
23 lines
707 B
Java
23 lines
707 B
Java
package org.apache.poi.ddf;
|
|
|
|
import java.io.ByteArrayInputStream;
|
|
|
|
import org.junit.Test;
|
|
|
|
public class TestEscherDump {
|
|
@Test
|
|
public void testSimple() throws Exception {
|
|
// simple test to at least cover some parts of the class
|
|
EscherDump.main(new String[] {});
|
|
|
|
new EscherDump().dump(0, new byte[] {}, System.out);
|
|
new EscherDump().dump(new byte[] {}, 0, 0, System.out);
|
|
new EscherDump().dumpOld(0, new ByteArrayInputStream(new byte[] {}), System.out);
|
|
}
|
|
|
|
@Test
|
|
public void testWithData() throws Exception {
|
|
new EscherDump().dumpOld(8, new ByteArrayInputStream(new byte[] { 00, 00, 00, 00, 00, 00, 00, 00 }), System.out);
|
|
}
|
|
}
|