aboutsummaryrefslogtreecommitdiffstats
path: root/src/testcases
diff options
context:
space:
mode:
authorDominik Stadler <centic@apache.org>2016-12-11 21:13:51 +0000
committerDominik Stadler <centic@apache.org>2016-12-11 21:13:51 +0000
commit4eb1f2cb5f071584ee6c77167ad0634082fac76d (patch)
treef972a0f92bf7139d9e84bc9c69d25da40dafc4a2 /src/testcases
parent9f68c40e345aabf655c37eb402ad63d5e173e03f (diff)
downloadpoi-4eb1f2cb5f071584ee6c77167ad0634082fac76d.tar.gz
poi-4eb1f2cb5f071584ee6c77167ad0634082fac76d.zip
Revert "Adjust local test class run with Gradle-Build as well"
This reverts commit 76be95541fa6ac22bf0746d864404a84868ab1c6. git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1773663 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'src/testcases')
-rw-r--r--src/testcases/org/apache/poi/hssf/dev/TestOneFile.java5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/testcases/org/apache/poi/hssf/dev/TestOneFile.java b/src/testcases/org/apache/poi/hssf/dev/TestOneFile.java
index c3aa26422d..16952dd80c 100644
--- a/src/testcases/org/apache/poi/hssf/dev/TestOneFile.java
+++ b/src/testcases/org/apache/poi/hssf/dev/TestOneFile.java
@@ -16,7 +16,8 @@
==================================================================== */
package org.apache.poi.hssf.dev;
-import org.apache.poi.POIDataSamples;
+import java.io.File;
+
import org.junit.Test;
public class TestOneFile {
@@ -24,7 +25,7 @@ public class TestOneFile {
public void test() throws Exception {
//Biff8EncryptionKey.setCurrentUserPassword("blabla");
TestEFBiffViewer test = new TestEFBiffViewer();
- test.file = POIDataSamples.getSpreadSheetInstance().getFile("50833.xls");
+ test.file = new File("test-data/spreadsheet/50833.xls");
test.testMain();
}
}