Skip to content

Commit

Permalink
Update RDFTest.java
Browse files Browse the repository at this point in the history
  • Loading branch information
NicoLaval committed Sep 18, 2024
1 parent abe79ca commit d53797d
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions vtl-prov/src/test/java/fr/insee/vtl/prov/RDFTest.java
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@
import org.junit.jupiter.api.BeforeEach;
import org.junit.jupiter.api.Test;

import java.io.File;
import java.io.IOException;
import java.util.Properties;

Expand Down Expand Up @@ -42,6 +43,15 @@ void loadBlueprintConfig() {
RDFUtils.loadModelWithCredentials(model, sparqlEndpoint, sparqlEndpointUser, sparlqEndpointPassword);
}

@BeforeEach
void createFolderIfNotExists() {
String path = "src/test/resources/output";
File folder = new File(path);
if (!folder.exists()) {
folder.mkdirs();
}
}

@Test
public void simpleTest() throws IOException {

Expand Down

0 comments on commit d53797d

Please sign in to comment.