Skip to content

Commit

Permalink
Changing location of tmp folder, not assuming we are on a unix system…
Browse files Browse the repository at this point in the history
… (second test) -- see #266
  • Loading branch information
enridaga committed Jun 17, 2022
1 parent 754b58d commit ba17609
Showing 1 changed file with 4 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -133,7 +133,10 @@ public void testTab() throws IOException, TriplifierHTTPException {
public void testWithOnDiskGraph1 () throws IOException, TriplifierHTTPException {
Properties properties = new Properties();
properties.setProperty("namespace", "http://www.example.org#");
properties.setProperty("ondisk", "/tmp");
// properties.setProperty("ondisk", "/tmp");
File tmp = new File(getClass().getClassLoader().getResource(".").getPath(), "/tmp/");
tmp.mkdirs();
properties.setProperty("ondisk", tmp.getAbsolutePath());
URL csv1 = getClass().getClassLoader().getResource("./test3.csv");
properties.setProperty(IRIArgument.LOCATION.toString(), csv1.toString());

Expand Down

0 comments on commit ba17609

Please sign in to comment.