diff --git a/src/scratchpad/testcases/org/apache/poi/hdf/model/TestHDFDocument.java b/src/scratchpad/testcases/org/apache/poi/hdf/model/TestHDFDocument.java index 42f79caf4..52ceda1c9 100644 --- a/src/scratchpad/testcases/org/apache/poi/hdf/model/TestHDFDocument.java +++ b/src/scratchpad/testcases/org/apache/poi/hdf/model/TestHDFDocument.java @@ -33,17 +33,13 @@ import org.apache.poi.POIDataSamples; public final class TestHDFDocument extends TestCase { private static final POIDataSamples _samples = POIDataSamples.getDocumentInstance(); - public void testStopJUnitComplainintAboutNoTests() { - // TODO - fix these junits - } - /** * OBJECTIVE: Test that HDF can read an empty document (empty.doc).

* SUCCESS: HDF reads the document. Matches values in their particular positions.

* FAILURE: HDF does not read the document or excepts. HDF cannot identify values * in the document in their known positions.

*/ - public void fixme_testEmpty() throws IOException { + public void testEmpty() throws IOException { InputStream stream = _samples.openResourceAsStream("empty.doc"); new HDFDocument(stream); } @@ -54,7 +50,7 @@ public final class TestHDFDocument extends TestCase { * FAILURE: HDF does not read the document or excepts. HDF cannot identify values * in the document in their known positions.

*/ - public void fixme_testSimple() throws IOException { + public void testSimple() throws IOException { InputStream stream = _samples.openResourceAsStream("simple.doc"); new HDFDocument(stream); } @@ -66,7 +62,7 @@ public final class TestHDFDocument extends TestCase { * in the document in their known positions.

* */ - public void fixme_testSimpleList() throws IOException { + public void testSimpleList() throws IOException { InputStream stream = _samples.openResourceAsStream("simple-list.doc"); new HDFDocument(stream); } @@ -77,7 +73,7 @@ public final class TestHDFDocument extends TestCase { * FAILURE: HDF does not read the document or excepts. HDF cannot identify values * in the document in their known positions.

*/ - public void fixme_testSimpleTable() throws IOException { + public void testSimpleTable() throws IOException { InputStream stream = _samples.openResourceAsStream("simple-table.doc"); new HDFDocument(stream); } diff --git a/test-data/document/empty.doc b/test-data/document/empty.doc index 1b4ac2d92..ceb841ce6 100644 Binary files a/test-data/document/empty.doc and b/test-data/document/empty.doc differ diff --git a/test-data/document/simple-list.doc b/test-data/document/simple-list.doc index 8ff94b21e..75ed42e07 100644 Binary files a/test-data/document/simple-list.doc and b/test-data/document/simple-list.doc differ diff --git a/test-data/document/simple-table.doc b/test-data/document/simple-table.doc index 524933417..6453e45b4 100644 Binary files a/test-data/document/simple-table.doc and b/test-data/document/simple-table.doc differ diff --git a/test-data/document/simple.doc b/test-data/document/simple.doc index 11262f996..ac0384ac2 100644 Binary files a/test-data/document/simple.doc and b/test-data/document/simple.doc differ