From: Said Ryan Ackley Date: Thu, 17 Jul 2003 02:44:19 +0000 (+0000) Subject: uses property from build file now X-Git-Tag: PERF_BEFORE_MERGE~258 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=719a15d05c9781ea2f6528896e2efd177495481f;p=poi.git uses property from build file now git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@353216 13f79535-47bb-0310-9956-ffa450edef68 --- diff --git a/src/scratchpad/testcases/org/apache/poi/hwpf/HWPFDocFixture.java b/src/scratchpad/testcases/org/apache/poi/hwpf/HWPFDocFixture.java index abee2dbb58..dd6a0ffe35 100644 --- a/src/scratchpad/testcases/org/apache/poi/hwpf/HWPFDocFixture.java +++ b/src/scratchpad/testcases/org/apache/poi/hwpf/HWPFDocFixture.java @@ -23,6 +23,12 @@ public class HWPFDocFixture { try { + + String filename = System.getProperty("HSSF.testdata.path"); + + filename = filename + "/test.doc"; + + POIFSFileSystem filesystem = new POIFSFileSystem(new FileInputStream( "C:\\test.doc"));