From: Dominik Stadler Date: Mon, 26 Oct 2015 20:48:38 +0000 (+0000) Subject: Fix Sonar-Maven build, correctly determine path to test-file X-Git-Tag: REL_3_14_BETA1~217 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=b7efcbaf5fe19a205d22c16f78b172f206aa3a20;p=poi.git Fix Sonar-Maven build, correctly determine path to test-file git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1710694 13f79535-47bb-0310-9956-ffa450edef68 --- diff --git a/src/ooxml/testcases/org/apache/poi/xssf/usermodel/TestXSSFWorkbook.java b/src/ooxml/testcases/org/apache/poi/xssf/usermodel/TestXSSFWorkbook.java index 199a3fe307..1378cd4fa5 100644 --- a/src/ooxml/testcases/org/apache/poi/xssf/usermodel/TestXSSFWorkbook.java +++ b/src/ooxml/testcases/org/apache/poi/xssf/usermodel/TestXSSFWorkbook.java @@ -1029,7 +1029,7 @@ public final class TestXSSFWorkbook extends BaseTestWorkbook { try { // as the file is written to, we make a copy before actually working on it - FileHelper.copyFile(new File("test-data/spreadsheet/56957.xlsx"), file); + FileHelper.copyFile(HSSFTestDataSamples.getSampleFile("56957.xlsx"), file); assertTrue(file.exists());