]> source.dussan.org Git - poi.git/commitdiff
Revert "Adjust local test class run with Gradle-Build as well"
authorDominik Stadler <centic@apache.org>
Sun, 11 Dec 2016 21:13:51 +0000 (21:13 +0000)
committerDominik Stadler <centic@apache.org>
Sun, 11 Dec 2016 21:13:51 +0000 (21:13 +0000)
This reverts commit 76be95541fa6ac22bf0746d864404a84868ab1c6.

git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1773663 13f79535-47bb-0310-9956-ffa450edef68

src/testcases/org/apache/poi/hssf/dev/TestOneFile.java

index c3aa26422d34e6429ca9082b6bc48bb2819e9ff9..16952dd80cfa2505950592693a46533a8b4f5f31 100644 (file)
@@ -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();
     }
 }