From 5c08e67cd0055d09e267719098ffe73015ced326 Mon Sep 17 00:00:00 2001 From: Yegor Kozlov Date: Mon, 28 Dec 2009 13:45:10 +0000 Subject: [PATCH] removed svn:eol-style=native from binary files, uncommented related tests; see Bugzilla 48427 git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@894173 13f79535-47bb-0310-9956-ffa450edef68 --- .../apache/poi/hdf/model/TestHDFDocument.java | 12 ++++-------- test-data/document/empty.doc | Bin 19456 -> 19456 bytes test-data/document/simple-list.doc | Bin 19456 -> 19456 bytes test-data/document/simple-table.doc | Bin 19456 -> 19456 bytes test-data/document/simple.doc | Bin 19456 -> 19456 bytes 5 files changed, 4 insertions(+), 8 deletions(-) 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 42f79caf40..52ceda1c95 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 1b4ac2d922b9b461325b854b640dbb760dd98da8..ceb841ce68e4bc0d4961cdad97a467e84bfb8165 100644 GIT binary patch delta 63 zcmZpe!Pqc^aRD16?`B4}*E~S#t&k2gBk$z5Leda&^CIQ-+>?}M0HtOsF$(~xxki)u Kfs~=sc}@UpT@y$E delta 63 zcmZpe!Pqc^aRD16*Jehx*E~S#t&k2gBiH1&Leda&^CIQ-+>?}M0HtOsF$(~xxki)u Kfs~=sc}@Um+Y>VY diff --git a/test-data/document/simple-list.doc b/test-data/document/simple-list.doc index 8ff94b21e87e026d10c567ded674f9fe86905395..75ed42e07e7ace39517d5a70c1f7044d3d0cb80a 100644 GIT binary patch delta 138 zcmZpe!Pqc^aYHVf2(MdaQE`bvW=U$ULS~*qPG)fl@8m`{VFTWfjLf1GR0*I^u>ug4 zWTYzOBm%V+Bo-y67bO;C=<#kAug4 zWTYzOBm%V+Bo-y67bO;C=y7cp2~?l-oR0 TiCF+h%{7|L52Os8&T|3)DYF$# delta 76 zcmZpe!Pqc^al=eDMy|=T*g_e(HVbkHGHzz%;N}L391xS2~?l-oR0 TiCF+h%{7|L52Os8&T|3)CTJBk diff --git a/test-data/document/simple.doc b/test-data/document/simple.doc index 11262f996ed8b66722c5924bb5265f4eefe70622..ac0384ac25269d12d778a0d65ce48e74e0541462 100644 GIT binary patch delta 72 zcmZpe!Pqc^af3b^BkyKGj*E<&89BJQ8F?r33QGe;G==k+VH}Xq=JR4FfwG%tDlrQH Pskugz`GJ(7(|Jw+d6p5; delta 72 zcmZpe!Pqc^af3b^BiCj@j*E<&89BJQ8M!9&3QGe;G==k+VH}Xq=JR4FfwG%tDlrQH Pskugz`GJ(7(|Jw+c7YMO -- 2.39.5