Skip to content

Commit 5d00643

Browse files
Fixing static resource loading
1 parent c929bdc commit 5d00643

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/test/groovy/edu/ie3/datamodel/io/source/csv/CsvTestDataMeta.groovy

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,8 +12,8 @@ import edu.ie3.datamodel.io.naming.FileNamingStrategy
1212
*/
1313
trait CsvTestDataMeta {
1414

15-
static String testParticipantsBaseFolderPath = new File(getClass().getResource('/testGridFiles').toURI()).absolutePath
16-
static String testTimeSeriesBaseFolderPath = new File(getClass().getResource('/testTimeSeriesFiles').toURI()).absolutePath
15+
static String testParticipantsBaseFolderPath = new File(CsvTestDataMeta.class.getResource('/testGridFiles').toURI()).absolutePath
16+
static String testTimeSeriesBaseFolderPath = new File(CsvTestDataMeta.class.getResource('/testTimeSeriesFiles').toURI()).absolutePath
1717
static String graphicsFolderPath = testParticipantsBaseFolderPath.concat(File.separator).concat("graphics")
1818
static String typeFolderPath = testParticipantsBaseFolderPath.concat(File.separator).concat("types")
1919
static String gridFolderPath = testParticipantsBaseFolderPath.concat(File.separator).concat("grid")

0 commit comments

Comments
 (0)