Skip to content

Commit

Permalink
Rename inputFile into inputPath in ConvertTest
Browse files Browse the repository at this point in the history
  • Loading branch information
remiceres committed Jul 23, 2024
1 parent 10c3b7b commit 4726d8a
Showing 1 changed file with 43 additions and 43 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ public class ConvertTest {
private StringWriter out = new StringWriter();
private StringWriter err = new StringWriter();

private String inputFile = ConvertTest.class
private String inputPath = ConvertTest.class
.getResource("/fr/inria/corese/command/programs/convert/input/")
.getPath();
private String referencesPath = ConvertTest.class
Expand Down Expand Up @@ -61,7 +61,7 @@ public void setUp() {

@Test
public void testConvertTurtleToxml() {
String pathinputBeatlesTTL = Paths.get(inputFile, "beatles.ttl").toString();
String pathinputBeatlesTTL = Paths.get(inputPath, "beatles.ttl").toString();
String pathRefBeatlesXML = Paths.get(referencesPath, "ttl.beatles.rdf").toString();
String pathOutBeatlesXML = Paths.get(resultPath, "ttl.beatles.rdf").toString();

Expand All @@ -77,7 +77,7 @@ public void testConvertTurtleToxml() {

@Test
public void testConvertTurtleToJsonld() {
String pathInputBeatlesTTL = Paths.get(inputFile, "beatles.ttl").toString();
String pathInputBeatlesTTL = Paths.get(inputPath, "beatles.ttl").toString();
String pathRefBeatlesJSON = Paths.get(referencesPath, "ttl.beatles.jsonld").toString();
String pathOutBeatlesJSON = Paths.get(resultPath, "ttl.beatles.jsonld").toString();

Expand All @@ -93,7 +93,7 @@ public void testConvertTurtleToJsonld() {

@Test
public void testConvertTurtleToTrig() {
String pathInputBeatlesTTL = Paths.get(inputFile, "beatles.ttl").toString();
String pathInputBeatlesTTL = Paths.get(inputPath, "beatles.ttl").toString();
String pathRefBeatlesTRIG = Paths.get(referencesPath, "ttl.beatles.trig").toString();
String pathOutBeatlesTRIG = Paths.get(resultPath, "ttl.beatles.trig").toString();

Expand All @@ -109,7 +109,7 @@ public void testConvertTurtleToTrig() {

@Test
public void testConvertTurtleToTurtle() {
String pathInputBeatlesTTL = Paths.get(inputFile, "beatles.ttl").toString();
String pathInputBeatlesTTL = Paths.get(inputPath, "beatles.ttl").toString();
String pathRefBeatlesTTL = Paths.get(referencesPath, "ttl.beatles.ttl").toString();
String pathOutBeatlesTTL = Paths.get(resultPath, "ttl.beatles.ttl").toString();

Expand All @@ -125,7 +125,7 @@ public void testConvertTurtleToTurtle() {

@Test
public void testConvertTurtleToNt() {
String pathInputBeatlesTTL = Paths.get(inputFile, "beatles.ttl").toString();
String pathInputBeatlesTTL = Paths.get(inputPath, "beatles.ttl").toString();
String pathRefBeatlesNT = Paths.get(referencesPath, "ttl.beatles.nt").toString();
String pathOutBeatlesNT = Paths.get(resultPath, "ttl.beatles.nt").toString();

Expand All @@ -141,7 +141,7 @@ public void testConvertTurtleToNt() {

@Test
public void testConvertTurtleToNq() {
String pathInputBeatlesTTL = Paths.get(inputFile, "beatles.ttl").toString();
String pathInputBeatlesTTL = Paths.get(inputPath, "beatles.ttl").toString();
String pathRefBeatlesNQ = Paths.get(referencesPath, "ttl.beatles.nq").toString();
String pathOutBeatlesNQ = Paths.get(resultPath, "ttl.beatles.nq").toString();

Expand All @@ -157,7 +157,7 @@ public void testConvertTurtleToNq() {

@Test
public void testConvertXmltoXml() {
String pathInputBeatlesXML = Paths.get(inputFile, "beatles.rdf").toString();
String pathInputBeatlesXML = Paths.get(inputPath, "beatles.rdf").toString();
String pathRefBeatlesXML = Paths.get(referencesPath, "rdf.beatles.rdf").toString();
String pathOutBeatlesXML = Paths.get(resultPath, "rdf.beatles.rdf").toString();

Expand All @@ -173,7 +173,7 @@ public void testConvertXmltoXml() {

@Test
public void testConvertXmlToJsonld() {
String pathInputBeatlesXML = Paths.get(inputFile, "beatles.rdf").toString();
String pathInputBeatlesXML = Paths.get(inputPath, "beatles.rdf").toString();
String pathRefBeatlesJSON = Paths.get(referencesPath, "rdf.beatles.jsonld").toString();
String pathOutBeatlesJSON = Paths.get(resultPath, "rdf.beatles.jsonld").toString();

Expand All @@ -189,7 +189,7 @@ public void testConvertXmlToJsonld() {

@Test
public void testConvertXmlToTrig() {
String pathInputBeatlesXML = Paths.get(inputFile, "beatles.rdf").toString();
String pathInputBeatlesXML = Paths.get(inputPath, "beatles.rdf").toString();
String pathRefBeatlesTRIG = Paths.get(referencesPath, "rdf.beatles.trig").toString();
String pathOutBeatlesTRIG = Paths.get(resultPath, "rdf.beatles.trig").toString();

Expand All @@ -205,7 +205,7 @@ public void testConvertXmlToTrig() {

@Test
public void testConvertXmlTiTurtle() {
String pathInputBeatlesXML = Paths.get(inputFile, "beatles.rdf").toString();
String pathInputBeatlesXML = Paths.get(inputPath, "beatles.rdf").toString();
String pathRefBeatlesTTL = Paths.get(referencesPath, "rdf.beatles.ttl").toString();
String pathOutBeatlesTTL = Paths.get(resultPath, "rdf.beatles.ttl").toString();

Expand All @@ -221,7 +221,7 @@ public void testConvertXmlTiTurtle() {

@Test
public void testConvertXmlToNt() {
String pathInputBeatlesXML = Paths.get(inputFile, "beatles.rdf").toString();
String pathInputBeatlesXML = Paths.get(inputPath, "beatles.rdf").toString();
String pathRefBeatlesNT = Paths.get(referencesPath, "rdf.beatles.nt").toString();
String pathOutBeatlesNT = Paths.get(resultPath, "rdf.beatles.nt").toString();

Expand All @@ -237,7 +237,7 @@ public void testConvertXmlToNt() {

@Test
public void testConvertXmlToNq() {
String pathInputBeatlesXML = Paths.get(inputFile, "beatles.rdf").toString();
String pathInputBeatlesXML = Paths.get(inputPath, "beatles.rdf").toString();
String pathRefBeatlesNQ = Paths.get(referencesPath, "rdf.beatles.nq").toString();
String pathOutBeatlesNQ = Paths.get(resultPath, "rdf.beatles.nq").toString();

Expand All @@ -253,7 +253,7 @@ public void testConvertXmlToNq() {

@Test
public void testConvertTrigToXml() {
String pathInputBeatlesTRIG = Paths.get(inputFile, "beatles.trig").toString();
String pathInputBeatlesTRIG = Paths.get(inputPath, "beatles.trig").toString();
String pathRefBeatlesXML = Paths.get(referencesPath, "trig.beatles.rdf").toString();
String pathOutBeatlesXML = Paths.get(resultPath, "trig.beatles.rdf").toString();

Expand All @@ -269,7 +269,7 @@ public void testConvertTrigToXml() {

@Test
public void testConvertTrigToJsonld() {
String pathInputBeatlesTRIG = Paths.get(inputFile, "beatles.trig").toString();
String pathInputBeatlesTRIG = Paths.get(inputPath, "beatles.trig").toString();
String pathRefBeatlesJSON = Paths.get(referencesPath, "trig.beatles.jsonld").toString();
String pathOutBeatlesJSON = Paths.get(resultPath, "trig.beatles.jsonld").toString();

Expand All @@ -285,7 +285,7 @@ public void testConvertTrigToJsonld() {

@Test
public void testConvertTrigToTrig() {
String pathInputBeatlesTRIG = Paths.get(inputFile, "beatles.trig").toString();
String pathInputBeatlesTRIG = Paths.get(inputPath, "beatles.trig").toString();
String pathExpectBeatlesTRIG = Paths.get(referencesPath, "trig.beatles.trig").toString();
String pathOutBeatlesTRIG = Paths.get(resultPath, "trig.beatles.trig").toString();

Expand All @@ -301,7 +301,7 @@ public void testConvertTrigToTrig() {

@Test
public void testConvertTrigToTurtle() {
String pathInputBeatlesTRIG = Paths.get(inputFile, "beatles.trig").toString();
String pathInputBeatlesTRIG = Paths.get(inputPath, "beatles.trig").toString();
String pathRefBeatlesTTL = Paths.get(referencesPath, "trig.beatles.ttl").toString();
String pathOutBeatlesTTL = Paths.get(resultPath, "trig.beatles.ttl").toString();

Expand All @@ -317,7 +317,7 @@ public void testConvertTrigToTurtle() {

@Test
public void testConvertTrigToNt() {
String pathInputBeatlesTRIG = Paths.get(inputFile, "beatles.trig").toString();
String pathInputBeatlesTRIG = Paths.get(inputPath, "beatles.trig").toString();
String pathRefBeatlesNT = Paths.get(referencesPath, "trig.beatles.nt").toString();
String pathOutBeatlesNT = Paths.get(resultPath, "trig.beatles.nt").toString();

Expand All @@ -333,7 +333,7 @@ public void testConvertTrigToNt() {

@Test
public void testConvertTrigToNq() {
String pathInputBeatlesTRIG = Paths.get(inputFile, "beatles.trig").toString();
String pathInputBeatlesTRIG = Paths.get(inputPath, "beatles.trig").toString();
String pathRefBeatlesNQ = Paths.get(referencesPath, "trig.beatles.nq").toString();
String pathOutBeatlesNQ = Paths.get(resultPath, "trig.beatles.nq").toString();

Expand All @@ -349,7 +349,7 @@ public void testConvertTrigToNq() {

@Test
public void testConvertJsonldToXml() {
String pathInputBeatlesJSONLD = Paths.get(inputFile, "beatles.jsonld").toString();
String pathInputBeatlesJSONLD = Paths.get(inputPath, "beatles.jsonld").toString();
String pathRefBeatlesXML = Paths.get(referencesPath, "jsonld.beatles.rdf").toString();
String pathOutBeatlesXML = Paths.get(resultPath, "jsonld.beatles.rdf").toString();

Expand All @@ -365,7 +365,7 @@ public void testConvertJsonldToXml() {

@Test
public void testConvertJsonldToJsonld() {
String pathInputBeatlesJSONLD = Paths.get(inputFile, "beatles.jsonld").toString();
String pathInputBeatlesJSONLD = Paths.get(inputPath, "beatles.jsonld").toString();
String pathRefBeatlesJSON = Paths.get(referencesPath, "jsonld.beatles.jsonld").toString();
String pathOutBeatlesJSON = Paths.get(resultPath, "jsonld.beatles.jsonld").toString();

Expand All @@ -381,7 +381,7 @@ public void testConvertJsonldToJsonld() {

@Test
public void testConvertJsonldToTrig() {
String pathInputBeatlesJSONLD = Paths.get(inputFile, "beatles.jsonld").toString();
String pathInputBeatlesJSONLD = Paths.get(inputPath, "beatles.jsonld").toString();
String pathRefBeatlesTRIG = Paths.get(referencesPath, "jsonld.beatles.trig").toString();
String pathOutBeatlesTRIG = Paths.get(resultPath, "jsonld.beatles.trig").toString();

Expand All @@ -397,7 +397,7 @@ public void testConvertJsonldToTrig() {

@Test
public void testConvertJsonldToTurtle() {
String pathInputBeatlesJSONLD = Paths.get(inputFile, "beatles.jsonld").toString();
String pathInputBeatlesJSONLD = Paths.get(inputPath, "beatles.jsonld").toString();
String pathRefBeatlesTTL = Paths.get(referencesPath, "jsonld.beatles.ttl").toString();
String pathOutBeatlesTTL = Paths.get(resultPath, "jsonld.beatles.ttl").toString();

Expand All @@ -413,7 +413,7 @@ public void testConvertJsonldToTurtle() {

@Test
public void testConvertJsonldToNt() {
String pathInputBeatlesJSONLD = Paths.get(inputFile, "beatles.jsonld").toString();
String pathInputBeatlesJSONLD = Paths.get(inputPath, "beatles.jsonld").toString();
String pathRefBeatlesNT = Paths.get(referencesPath, "jsonld.beatles.nt").toString();
String pathOutBeatlesNT = Paths.get(resultPath, "jsonld.beatles.nt").toString();

Expand All @@ -429,7 +429,7 @@ public void testConvertJsonldToNt() {

@Test
public void testConvertJsonldToNq() {
String pathInputBeatlesJSONLD = Paths.get(inputFile, "beatles.jsonld").toString();
String pathInputBeatlesJSONLD = Paths.get(inputPath, "beatles.jsonld").toString();
String pathRefBeatlesNQ = Paths.get(referencesPath, "jsonld.beatles.nq").toString();
String pathOutBeatlesNQ = Paths.get(resultPath, "jsonld.beatles.nq").toString();

Expand All @@ -445,7 +445,7 @@ public void testConvertJsonldToNq() {

@Test
public void testConvertNtToXml() {
String pathInputBeatlesNT = Paths.get(inputFile, "beatles.nt").toString();
String pathInputBeatlesNT = Paths.get(inputPath, "beatles.nt").toString();
String pathRefBeatlesXML = Paths.get(referencesPath, "nt.beatles.rdf").toString();
String pathOutBeatlesXML = Paths.get(resultPath, "nt.beatles.rdf").toString();

Expand All @@ -461,7 +461,7 @@ public void testConvertNtToXml() {

@Test
public void testConvertNtToJsonld() {
String pathInputBeatlesNT = Paths.get(inputFile, "beatles.nt").toString();
String pathInputBeatlesNT = Paths.get(inputPath, "beatles.nt").toString();
String pathRefBeatlesJSON = Paths.get(referencesPath, "nt.beatles.jsonld").toString();
String pathOutBeatlesJSON = Paths.get(resultPath, "nt.beatles.jsonld").toString();

Expand All @@ -477,7 +477,7 @@ public void testConvertNtToJsonld() {

@Test
public void testConvertNtToTrig() {
String pathInputBeatlesNT = Paths.get(inputFile, "beatles.nt").toString();
String pathInputBeatlesNT = Paths.get(inputPath, "beatles.nt").toString();
String pathRefBeatlesTRIG = Paths.get(referencesPath, "nt.beatles.trig").toString();
String pathOutBeatlesTRIG = Paths.get(resultPath, "nt.beatles.trig").toString();

Expand All @@ -493,7 +493,7 @@ public void testConvertNtToTrig() {

@Test
public void testConvertNtToTurtle() {
String pathInputBeatlesNT = Paths.get(inputFile, "beatles.nt").toString();
String pathInputBeatlesNT = Paths.get(inputPath, "beatles.nt").toString();
String pathRefBeatlesTTL = Paths.get(referencesPath, "nt.beatles.ttl").toString();
String pathOutBeatlesTTL = Paths.get(resultPath, "nt.beatles.ttl").toString();

Expand All @@ -509,7 +509,7 @@ public void testConvertNtToTurtle() {

@Test
public void testConvertNtToNt() {
String pathInputBeatlesNT = Paths.get(inputFile, "beatles.nt").toString();
String pathInputBeatlesNT = Paths.get(inputPath, "beatles.nt").toString();
String pathRefBeatlesNT = Paths.get(referencesPath, "nt.beatles.nt").toString();
String pathOutBeatlesNT = Paths.get(resultPath, "nt.beatles.nt").toString();

Expand All @@ -525,7 +525,7 @@ public void testConvertNtToNt() {

@Test
public void testConvertNtToNq() {
String pathInputBeatlesNT = Paths.get(inputFile, "beatles.nt").toString();
String pathInputBeatlesNT = Paths.get(inputPath, "beatles.nt").toString();
String pathRefBeatlesNQ = Paths.get(referencesPath, "nt.beatles.nq").toString();
String pathOutBeatlesNQ = Paths.get(resultPath, "nt.beatles.nq").toString();

Expand All @@ -541,7 +541,7 @@ public void testConvertNtToNq() {

@Test
public void testConvertNqToXml() {
String pathInputBeatlesNQ = Paths.get(inputFile, "beatles.nq").toString();
String pathInputBeatlesNQ = Paths.get(inputPath, "beatles.nq").toString();
String pathRefBeatlesXML = Paths.get(referencesPath, "nq.beatles.rdf").toString();
String pathOutBeatlesXML = Paths.get(resultPath, "nq.beatles.rdf").toString();

Expand All @@ -557,7 +557,7 @@ public void testConvertNqToXml() {

@Test
public void testConvertNqToJsonld() {
String pathInputBeatlesNQ = Paths.get(inputFile, "beatles.nq").toString();
String pathInputBeatlesNQ = Paths.get(inputPath, "beatles.nq").toString();
String pathRefBeatlesJSON = Paths.get(referencesPath, "nq.beatles.jsonld").toString();
String pathOutBeatlesJSON = Paths.get(resultPath, "nq.beatles.jsonld").toString();

Expand All @@ -573,7 +573,7 @@ public void testConvertNqToJsonld() {

@Test
public void testConvertNqToTrig() {
String pathInputBeatlesNQ = Paths.get(inputFile, "beatles.nq").toString();
String pathInputBeatlesNQ = Paths.get(inputPath, "beatles.nq").toString();
String pathRefBeatlesTRIG = Paths.get(referencesPath, "nq.beatles.trig").toString();
String pathOutBeatlesTRIG = Paths.get(resultPath, "nq.beatles.trig").toString();

Expand All @@ -589,7 +589,7 @@ public void testConvertNqToTrig() {

@Test
public void testConvertNqToTurtle() {
String pathInputBeatlesNQ = Paths.get(inputFile, "beatles.nq").toString();
String pathInputBeatlesNQ = Paths.get(inputPath, "beatles.nq").toString();
String pathRefBeatlesTTL = Paths.get(referencesPath, "nq.beatles.ttl").toString();
String pathOutBeatlesTTL = Paths.get(resultPath, "nq.beatles.ttl").toString();

Expand All @@ -605,7 +605,7 @@ public void testConvertNqToTurtle() {

@Test
public void testConvertNqToNt() {
String pathInputBeatlesNQ = Paths.get(inputFile, "beatles.nq").toString();
String pathInputBeatlesNQ = Paths.get(inputPath, "beatles.nq").toString();
String pathRefBeatlesNT = Paths.get(referencesPath, "nq.beatles.nt").toString();
String pathOutBeatlesNT = Paths.get(resultPath, "nq.beatles.nt").toString();

Expand All @@ -621,7 +621,7 @@ public void testConvertNqToNt() {

@Test
public void testConvertNqToNq() {
String pathInputBeatlesNQ = Paths.get(inputFile, "beatles.nq").toString();
String pathInputBeatlesNQ = Paths.get(inputPath, "beatles.nq").toString();
String pathRefBeatlesNQ = Paths.get(referencesPath, "nq.beatles.nq").toString();
String pathOutBeatlesNQ = Paths.get(resultPath, "nq.beatles.nq").toString();

Expand All @@ -637,7 +637,7 @@ public void testConvertNqToNq() {

@Test
public void testConvertRdfaToXml() {
String pathInputStringHtml = Paths.get(inputFile, "beatles.html").toString();
String pathInputStringHtml = Paths.get(inputPath, "beatles.html").toString();
String pathRefBeatlesXML = Paths.get(referencesPath, "html.beatles.rdf").toString();
String pathOutBeatlesXML = Paths.get(resultPath, "html.beatles.rdf").toString();

Expand All @@ -653,7 +653,7 @@ public void testConvertRdfaToXml() {

@Test
public void testConvertRdfaToJsonld() {
String pathInputStringHtml = Paths.get(inputFile, "beatles.html").toString();
String pathInputStringHtml = Paths.get(inputPath, "beatles.html").toString();
String pathRefBeatlesJSON = Paths.get(referencesPath, "html.beatles.jsonld").toString();
String pathOutBeatlesJSON = Paths.get(resultPath, "html.beatles.jsonld").toString();

Expand All @@ -669,7 +669,7 @@ public void testConvertRdfaToJsonld() {

@Test
public void testConvertRdfaToTrig() {
String pathInputStringHtml = Paths.get(inputFile, "beatles.html").toString();
String pathInputStringHtml = Paths.get(inputPath, "beatles.html").toString();
String pathRefBeatlesTRIG = Paths.get(referencesPath, "html.beatles.trig").toString();
String pathOutBeatlesTRIG = Paths.get(resultPath, "html.beatles.trig").toString();

Expand All @@ -685,7 +685,7 @@ public void testConvertRdfaToTrig() {

@Test
public void testConvertRdfaToTurtle() {
String pathInputStringHtml = Paths.get(inputFile, "beatles.html").toString();
String pathInputStringHtml = Paths.get(inputPath, "beatles.html").toString();
String pathRefBeatlesTTL = Paths.get(referencesPath, "html.beatles.ttl").toString();
String pathOutBeatlesTTL = Paths.get(resultPath, "html.beatles.ttl").toString();

Expand All @@ -701,7 +701,7 @@ public void testConvertRdfaToTurtle() {

@Test
public void testConvertRdfaToNt() {
String pathInputStringHtml = Paths.get(inputFile, "beatles.html").toString();
String pathInputStringHtml = Paths.get(inputPath, "beatles.html").toString();
String pathRefBeatlesNT = Paths.get(referencesPath, "html.beatles.nt").toString();
String pathOutBeatlesNT = Paths.get(resultPath, "html.beatles.nt").toString();

Expand All @@ -717,7 +717,7 @@ public void testConvertRdfaToNt() {

@Test
public void testConvertRdfaToNq() {
String pathInputStringHtml = Paths.get(inputFile, "beatles.html").toString();
String pathInputStringHtml = Paths.get(inputPath, "beatles.html").toString();
String pathRefBeatlesNQ = Paths.get(referencesPath, "html.beatles.nq").toString();
String pathOutBeatlesNQ = Paths.get(resultPath, "html.beatles.nq").toString();

Expand Down

0 comments on commit 4726d8a

Please sign in to comment.