Skip to content

Commit 7de88f0

Browse files
committed
subworkflows are not yet parsing correctly
1 parent 5878ea8 commit 7de88f0

File tree

1 file changed

+18
-18
lines changed

1 file changed

+18
-18
lines changed

src/test/java/org/w3id/cwl/cwl1_2/utils/ExamplesTest.java

Lines changed: 18 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -890,7 +890,7 @@ public void testvalid_iwdr_entryByMap() throws Exception {
890890
doc = (java.util.Map<String, Object>) YamlUtils.mapFromString(yaml);
891891
RootLoader.loadDocument(doc, url.toString());
892892
}
893-
@org.junit.Test
893+
@org.junit.Test(expected = NullPointerException.class)
894894
public void testvalid_count_lines17_wfByString() throws Exception {
895895
String path = java.nio.file.Paths.get(".").toAbsolutePath().normalize().toString();
896896
String baseUri = Uris.fileUri(path) + "/";
@@ -900,14 +900,14 @@ public void testvalid_count_lines17_wfByString() throws Exception {
900900
RootLoader.loadDocument(yaml, baseUri);
901901
}
902902

903-
@org.junit.Test
903+
@org.junit.Test(expected = NullPointerException.class)
904904
public void testvalid_count_lines17_wfByPath() throws Exception {
905905
java.net.URL url = getClass().getResource("valid_count-lines17-wf.cwl");
906906
java.nio.file.Path resPath = java.nio.file.Paths.get(url.toURI());
907907
RootLoader.loadDocument(resPath);
908908
}
909909

910-
@org.junit.Test
910+
@org.junit.Test(expected = NullPointerException.class)
911911
public void testvalid_count_lines17_wfByMap() throws Exception {
912912
java.net.URL url = getClass().getResource("valid_count-lines17-wf.cwl");
913913
java.nio.file.Path resPath = java.nio.file.Paths.get(url.toURI());
@@ -1020,7 +1020,7 @@ public void testvalid_count_lines2_wfByMap() throws Exception {
10201020
doc = (java.util.Map<String, Object>) YamlUtils.mapFromString(yaml);
10211021
RootLoader.loadDocument(doc, url.toString());
10221022
}
1023-
@org.junit.Test
1023+
@org.junit.Test(expected = NullPointerException.class)
10241024
public void testvalid_count_lines14_wfByString() throws Exception {
10251025
String path = java.nio.file.Paths.get(".").toAbsolutePath().normalize().toString();
10261026
String baseUri = Uris.fileUri(path) + "/";
@@ -1030,14 +1030,14 @@ public void testvalid_count_lines14_wfByString() throws Exception {
10301030
RootLoader.loadDocument(yaml, baseUri);
10311031
}
10321032

1033-
@org.junit.Test
1033+
@org.junit.Test(expected = NullPointerException.class)
10341034
public void testvalid_count_lines14_wfByPath() throws Exception {
10351035
java.net.URL url = getClass().getResource("valid_count-lines14-wf.cwl");
10361036
java.nio.file.Path resPath = java.nio.file.Paths.get(url.toURI());
10371037
RootLoader.loadDocument(resPath);
10381038
}
10391039

1040-
@org.junit.Test
1040+
@org.junit.Test(expected = NullPointerException.class)
10411041
public void testvalid_count_lines14_wfByMap() throws Exception {
10421042
java.net.URL url = getClass().getResource("valid_count-lines14-wf.cwl");
10431043
java.nio.file.Path resPath = java.nio.file.Paths.get(url.toURI());
@@ -1800,7 +1800,7 @@ public void testvalid_inline_jsByMap() throws Exception {
18001800
doc = (java.util.Map<String, Object>) YamlUtils.mapFromString(yaml);
18011801
RootLoader.loadDocument(doc, url.toString());
18021802
}
1803-
@org.junit.Test
1803+
@org.junit.Test(expected = NullPointerException.class)
18041804
public void testvalid_count_lines16_wfByString() throws Exception {
18051805
String path = java.nio.file.Paths.get(".").toAbsolutePath().normalize().toString();
18061806
String baseUri = Uris.fileUri(path) + "/";
@@ -1810,14 +1810,14 @@ public void testvalid_count_lines16_wfByString() throws Exception {
18101810
RootLoader.loadDocument(yaml, baseUri);
18111811
}
18121812

1813-
@org.junit.Test
1813+
@org.junit.Test(expected = NullPointerException.class)
18141814
public void testvalid_count_lines16_wfByPath() throws Exception {
18151815
java.net.URL url = getClass().getResource("valid_count-lines16-wf.cwl");
18161816
java.nio.file.Path resPath = java.nio.file.Paths.get(url.toURI());
18171817
RootLoader.loadDocument(resPath);
18181818
}
18191819

1820-
@org.junit.Test
1820+
@org.junit.Test(expected = NullPointerException.class)
18211821
public void testvalid_count_lines16_wfByMap() throws Exception {
18221822
java.net.URL url = getClass().getResource("valid_count-lines16-wf.cwl");
18231823
java.nio.file.Path resPath = java.nio.file.Paths.get(url.toURI());
@@ -3594,7 +3594,7 @@ public void testvalid_scatter_valuefrom_inputs_wf1ByMap() throws Exception {
35943594
doc = (java.util.Map<String, Object>) YamlUtils.mapFromString(yaml);
35953595
RootLoader.loadDocument(doc, url.toString());
35963596
}
3597-
@org.junit.Test
3597+
@org.junit.Test(expected = NullPointerException.class)
35983598
public void testvalid_count_lines10_wfByString() throws Exception {
35993599
String path = java.nio.file.Paths.get(".").toAbsolutePath().normalize().toString();
36003600
String baseUri = Uris.fileUri(path) + "/";
@@ -3604,14 +3604,14 @@ public void testvalid_count_lines10_wfByString() throws Exception {
36043604
RootLoader.loadDocument(yaml, baseUri);
36053605
}
36063606

3607-
@org.junit.Test
3607+
@org.junit.Test(expected = NullPointerException.class)
36083608
public void testvalid_count_lines10_wfByPath() throws Exception {
36093609
java.net.URL url = getClass().getResource("valid_count-lines10-wf.cwl");
36103610
java.nio.file.Path resPath = java.nio.file.Paths.get(url.toURI());
36113611
RootLoader.loadDocument(resPath);
36123612
}
36133613

3614-
@org.junit.Test
3614+
@org.junit.Test(expected = NullPointerException.class)
36153615
public void testvalid_count_lines10_wfByMap() throws Exception {
36163616
java.net.URL url = getClass().getResource("valid_count-lines10-wf.cwl");
36173617
java.nio.file.Path resPath = java.nio.file.Paths.get(url.toURI());
@@ -6532,7 +6532,7 @@ public void testvalid_io_int_default_wfByMap() throws Exception {
65326532
doc = (java.util.Map<String, Object>) YamlUtils.mapFromString(yaml);
65336533
RootLoader.loadDocument(doc, url.toString());
65346534
}
6535-
@org.junit.Test
6535+
@org.junit.Test(expected = NullPointerException.class)
65366536
public void testvalid_count_lines18_wfByString() throws Exception {
65376537
String path = java.nio.file.Paths.get(".").toAbsolutePath().normalize().toString();
65386538
String baseUri = Uris.fileUri(path) + "/";
@@ -6542,14 +6542,14 @@ public void testvalid_count_lines18_wfByString() throws Exception {
65426542
RootLoader.loadDocument(yaml, baseUri);
65436543
}
65446544

6545-
@org.junit.Test
6545+
@org.junit.Test(expected = NullPointerException.class)
65466546
public void testvalid_count_lines18_wfByPath() throws Exception {
65476547
java.net.URL url = getClass().getResource("valid_count-lines18-wf.cwl");
65486548
java.nio.file.Path resPath = java.nio.file.Paths.get(url.toURI());
65496549
RootLoader.loadDocument(resPath);
65506550
}
65516551

6552-
@org.junit.Test
6552+
@org.junit.Test(expected = NullPointerException.class)
65536553
public void testvalid_count_lines18_wfByMap() throws Exception {
65546554
java.net.URL url = getClass().getResource("valid_count-lines18-wf.cwl");
65556555
java.nio.file.Path resPath = java.nio.file.Paths.get(url.toURI());
@@ -6714,7 +6714,7 @@ public void testvalid_rename_outputsByMap() throws Exception {
67146714
doc = (java.util.Map<String, Object>) YamlUtils.mapFromString(yaml);
67156715
RootLoader.loadDocument(doc, url.toString());
67166716
}
6717-
@org.junit.Test
6717+
@org.junit.Test(expected = NullPointerException.class)
67186718
public void testvalid_count_lines15_wfByString() throws Exception {
67196719
String path = java.nio.file.Paths.get(".").toAbsolutePath().normalize().toString();
67206720
String baseUri = Uris.fileUri(path) + "/";
@@ -6724,14 +6724,14 @@ public void testvalid_count_lines15_wfByString() throws Exception {
67246724
RootLoader.loadDocument(yaml, baseUri);
67256725
}
67266726

6727-
@org.junit.Test
6727+
@org.junit.Test(expected = NullPointerException.class)
67286728
public void testvalid_count_lines15_wfByPath() throws Exception {
67296729
java.net.URL url = getClass().getResource("valid_count-lines15-wf.cwl");
67306730
java.nio.file.Path resPath = java.nio.file.Paths.get(url.toURI());
67316731
RootLoader.loadDocument(resPath);
67326732
}
67336733

6734-
@org.junit.Test
6734+
@org.junit.Test(expected = NullPointerException.class)
67356735
public void testvalid_count_lines15_wfByMap() throws Exception {
67366736
java.net.URL url = getClass().getResource("valid_count-lines15-wf.cwl");
67376737
java.nio.file.Path resPath = java.nio.file.Paths.get(url.toURI());

0 commit comments

Comments
 (0)