Skip to content

Commit

Permalink
do not skip testcases without reference alignment for Popconference0 …
Browse files Browse the repository at this point in the history
…(because the track has no reference alignments)
  • Loading branch information
sven-h committed Sep 15, 2023
1 parent e8af93e commit 1f9b601
Show file tree
Hide file tree
Showing 2 changed files with 19 additions and 8 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -231,6 +231,8 @@ public <T> T getTargetOntology(Class<T> clazz, Properties parameters){
*/
public Alignment getParsedReferenceAlignment() {
if(parsedReference == null){
if(getReference() == null)
return new Alignment();
try {
parsedReference = new Alignment(getReference().toURL());
} catch (SAXException | IOException ex) {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -73,12 +73,12 @@ public static class Conference {
/**
* Conference Testsuite V1 which is used all the time.
*/
public static Track V1 = new SealsTrack("http://oaei.webdatacommons.org/tdrs/", "conference", "conference-v1");//new SealsTrack("http://repositories.seals-project.eu/tdrs/", "conference", "conference-v1");
public final static Track V1 = new SealsTrack("http://oaei.webdatacommons.org/tdrs/", "conference", "conference-v1");//new SealsTrack("http://repositories.seals-project.eu/tdrs/", "conference", "conference-v1");

/**
* Conference Testsuite V1 with all test cases ( even without reference alignment
*/
public static Track V1_ALL_TESTCASES = new SealsTrack("http://oaei.webdatacommons.org/tdrs/", "conference", "conference-v1-all");
public final static Track V1_ALL_TESTCASES = new SealsTrack("http://oaei.webdatacommons.org/tdrs/", "conference", "conference-v1-all");

static {
V1_ALL_TESTCASES.setSkipTestCasesWithoutRefAlign(false);
Expand Down Expand Up @@ -265,12 +265,21 @@ public static class Complex {
/**
* Popconference
**/
public static Track Popconference0 = new SealsTrack("http://oaei.webdatacommons.org/tdrs/", "popconference", "popconference-0-v1");
public static Track Popconference20 = new SealsTrack("http://oaei.webdatacommons.org/tdrs/", "popconference", "popconference-20-v1");
public static Track Popconference40 = new SealsTrack("http://oaei.webdatacommons.org/tdrs/", "popconference", "popconference-40-v1");
public static Track Popconference60 = new SealsTrack("http://oaei.webdatacommons.org/tdrs/", "popconference", "popconference-60-v1");
public static Track Popconference80 = new SealsTrack("http://oaei.webdatacommons.org/tdrs/", "popconference", "popconference-80-v1");
public static Track Popconference100 = new SealsTrack("http://oaei.webdatacommons.org/tdrs/", "popconference", "popconference-100-v1");
public final static Track Popconference0 = new SealsTrack("http://oaei.webdatacommons.org/tdrs/", "popconference", "popconference-0-v1");
public final static Track Popconference20 = new SealsTrack("http://oaei.webdatacommons.org/tdrs/", "popconference", "popconference-20-v1");
public final static Track Popconference40 = new SealsTrack("http://oaei.webdatacommons.org/tdrs/", "popconference", "popconference-40-v1");
public final static Track Popconference60 = new SealsTrack("http://oaei.webdatacommons.org/tdrs/", "popconference", "popconference-60-v1");
public final static Track Popconference80 = new SealsTrack("http://oaei.webdatacommons.org/tdrs/", "popconference", "popconference-80-v1");
public final static Track Popconference100 = new SealsTrack("http://oaei.webdatacommons.org/tdrs/", "popconference", "popconference-100-v1");

static {
Popconference0.setSkipTestCasesWithoutRefAlign(false);
Popconference20.setSkipTestCasesWithoutRefAlign(false);
Popconference40.setSkipTestCasesWithoutRefAlign(false);
Popconference60.setSkipTestCasesWithoutRefAlign(false);
Popconference80.setSkipTestCasesWithoutRefAlign(false);
Popconference100.setSkipTestCasesWithoutRefAlign(false);
}
}


Expand Down

0 comments on commit 1f9b601

Please sign in to comment.