Skip to content

Commit

Permalink
Update testcases normal and api
Browse files Browse the repository at this point in the history
  • Loading branch information
haideriqbal committed Oct 31, 2024
1 parent cbfab3f commit f2554b3
Show file tree
Hide file tree
Showing 46 changed files with 335 additions and 288 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -63,13 +63,10 @@ public boolean diff() throws FileNotFoundException {
continue;
}

if(jsonA.equals(jsonB)) {
System.out.println(inputDir + filename + " was equal to " + expectedDir + filename);
} else {
if(!jsonA.equals(jsonB)) {
System.out.println(inputDir + filename + " differed from " + expectedDir + filename);
success = false;
}

}

return success;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -78852,7 +78852,7 @@
"type": [
"literal"
],
"value": "excluded:subClassOf"
"value": "excluded_subClassOf"
},
"directAncestor": [],
"hasDirectChildren": false,
Expand Down Expand Up @@ -78908,7 +78908,7 @@
"type": [
"literal"
],
"value": "should:conform_to"
"value": "should_conform_to"
},
"directAncestor": [],
"hasDirectChildren": false,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -76637,7 +76637,7 @@
"type": [
"literal"
],
"value": "excluded:subClassOf"
"value": "excluded_subClassOf"
},
"type": [
"property",
Expand Down Expand Up @@ -84439,7 +84439,7 @@
"type": [
"literal"
],
"value": "excluded:subClassOf"
"value": "excluded_subClassOf"
},
"type": [
"property",
Expand Down Expand Up @@ -86426,7 +86426,7 @@
"type": [
"literal"
],
"value": "excluded:subClassOf"
"value": "excluded_subClassOf"
},
"type": [
"property",
Expand Down Expand Up @@ -91845,7 +91845,7 @@
"type": [
"literal"
],
"value": "excluded:subClassOf"
"value": "excluded_subClassOf"
},
"type": [
"property",
Expand Down Expand Up @@ -100909,7 +100909,7 @@
"type": [
"literal"
],
"value": "should:conform_to"
"value": "should_conform_to"
},
"type": [
"property",
Expand Down Expand Up @@ -103239,7 +103239,7 @@
"type": [
"literal"
],
"value": "excluded:subClassOf"
"value": "excluded_subClassOf"
},
"type": [
"property",
Expand Down Expand Up @@ -106019,7 +106019,7 @@
"type": [
"literal"
],
"value": "excluded:subClassOf"
"value": "excluded_subClassOf"
},
"type": [
"property",
Expand Down Expand Up @@ -113652,7 +113652,7 @@
"type": [
"literal"
],
"value": "excluded:subClassOf"
"value": "excluded_subClassOf"
},
"type": [
"property",
Expand Down Expand Up @@ -196156,7 +196156,7 @@
"type": [
"literal"
],
"value": "excluded:subClassOf"
"value": "excluded_subClassOf"
},
"directAncestor": [],
"hasDirectChildren": false,
Expand Down Expand Up @@ -196217,7 +196217,7 @@
"type": [
"literal"
],
"value": "should:conform_to"
"value": "should_conform_to"
},
"directAncestor": [],
"hasDirectChildren": false,
Expand Down
16 changes: 8 additions & 8 deletions testcases_expected_output/duo/classes.jsonl

Large diffs are not rendered by default.

16 changes: 8 additions & 8 deletions testcases_expected_output/duo/duo_classes.csv

Large diffs are not rendered by default.

6 changes: 3 additions & 3 deletions testcases_expected_output/duo/duo_properties.csv

Large diffs are not rendered by default.

16 changes: 8 additions & 8 deletions testcases_expected_output/duo/ontologies.json
Original file line number Diff line number Diff line change
Expand Up @@ -175,7 +175,7 @@
"type": [
"literal"
],
"value": "APOLLO:SV_00000008"
"value": "APOLLO_SV:00000008"
},
"definition": {
"type": [
Expand Down Expand Up @@ -372,7 +372,7 @@
"type": [
"literal"
],
"value": "APOLLO:SV_00000032"
"value": "APOLLO_SV:00000032"
},
"definition": {
"type": [
Expand Down Expand Up @@ -525,7 +525,7 @@
"type": [
"literal"
],
"value": "APOLLO:SV_00000033"
"value": "APOLLO_SV:00000033"
},
"definition": {
"type": [
Expand Down Expand Up @@ -686,7 +686,7 @@
"type": [
"literal"
],
"value": "APOLLO:SV_00000522"
"value": "APOLLO_SV:00000522"
},
"definition": [
{
Expand Down Expand Up @@ -918,7 +918,7 @@
"type": [
"literal"
],
"value": "APOLLO:SV_00000524"
"value": "APOLLO_SV:00000524"
},
"definition": [
{
Expand Down Expand Up @@ -1138,7 +1138,7 @@
"type": [
"literal"
],
"value": "APOLLO:SV_00000796"
"value": "APOLLO_SV:00000796"
},
"definition": {
"type": [
Expand Down Expand Up @@ -78590,7 +78590,7 @@
"type": [
"literal"
],
"value": "created:by"
"value": "created_by"
},
"directAncestor": [],
"hasDirectChildren": false,
Expand Down Expand Up @@ -78646,7 +78646,7 @@
"type": [
"literal"
],
"value": "creation:date"
"value": "creation_date"
},
"directAncestor": [],
"hasDirectChildren": false,
Expand Down
28 changes: 14 additions & 14 deletions testcases_expected_output/duo/ontologies_linked.json
Original file line number Diff line number Diff line change
Expand Up @@ -177,7 +177,7 @@
"type": [
"literal"
],
"value": "APOLLO:SV_00000008"
"value": "APOLLO_SV:00000008"
},
"definition": {
"type": [
Expand Down Expand Up @@ -653,7 +653,7 @@
"type": [
"literal"
],
"value": "APOLLO:SV_00000032"
"value": "APOLLO_SV:00000032"
},
"definition": {
"type": [
Expand Down Expand Up @@ -1017,7 +1017,7 @@
"type": [
"literal"
],
"value": "APOLLO:SV_00000033"
"value": "APOLLO_SV:00000033"
},
"type": [
"class",
Expand Down Expand Up @@ -1079,7 +1079,7 @@
"type": [
"literal"
],
"value": "APOLLO:SV_00000033"
"value": "APOLLO_SV:00000033"
},
"definition": {
"type": [
Expand Down Expand Up @@ -1457,7 +1457,7 @@
"type": [
"literal"
],
"value": "APOLLO:SV_00000032"
"value": "APOLLO_SV:00000032"
},
"type": [
"class",
Expand Down Expand Up @@ -1497,7 +1497,7 @@
"type": [
"literal"
],
"value": "APOLLO:SV_00000522"
"value": "APOLLO_SV:00000522"
},
"definition": [
{
Expand Down Expand Up @@ -2046,7 +2046,7 @@
"type": [
"literal"
],
"value": "APOLLO:SV_00000524"
"value": "APOLLO_SV:00000524"
},
"definition": [
{
Expand Down Expand Up @@ -2366,7 +2366,7 @@
"type": [
"literal"
],
"value": "APOLLO:SV_00000008"
"value": "APOLLO_SV:00000008"
},
"type": [
"class",
Expand Down Expand Up @@ -2583,7 +2583,7 @@
"type": [
"literal"
],
"value": "APOLLO:SV_00000796"
"value": "APOLLO_SV:00000796"
},
"definition": {
"type": [
Expand Down Expand Up @@ -49533,7 +49533,7 @@
"type": [
"literal"
],
"value": "APOLLO:SV_00000522"
"value": "APOLLO_SV:00000522"
},
"type": [
"class",
Expand Down Expand Up @@ -61396,7 +61396,7 @@
"type": [
"literal"
],
"value": "APOLLO:SV_00000522"
"value": "APOLLO_SV:00000522"
},
"type": [
"class",
Expand Down Expand Up @@ -174717,7 +174717,7 @@
"type": [
"literal"
],
"value": "created:by"
"value": "created_by"
},
"type": [
"property",
Expand Down Expand Up @@ -184244,7 +184244,7 @@
"type": [
"literal"
],
"value": "created:by"
"value": "created_by"
},
"directAncestor": [],
"hasDirectChildren": false,
Expand Down Expand Up @@ -184305,7 +184305,7 @@
"type": [
"literal"
],
"value": "creation:date"
"value": "creation_date"
},
"directAncestor": [],
"hasDirectChildren": false,
Expand Down
Loading

0 comments on commit f2554b3

Please sign in to comment.