File tree Expand file tree Collapse file tree 1 file changed +13
-0
lines changed
src/test/java/org/commonwl/view/cwl Expand file tree Collapse file tree 1 file changed +13
-0
lines changed Original file line number Diff line number Diff line change @@ -87,6 +87,19 @@ public ResultSet answer(InvocationOnMock invocation) throws Throwable {
87
87
@ Rule
88
88
public ExpectedException thrown = ExpectedException .none ();
89
89
90
+ @ Test
91
+ public void parsePackedWorkflowNative () throws Exception {
92
+ CWLService cwlService = new CWLService (rdfService , Mockito .mock (CWLTool .class ), 5242880 );
93
+ Workflow dna = cwlService .parseWorkflowNative (
94
+ new File ("src/test/resources/cwl/make_to_cwl/dna.cwl" ), "main" );
95
+ assertNotNull (dna );
96
+ assertEquals ("dna.cwl" , dna .getLabel ());
97
+ assertEquals (1 , dna .getInputs ().size ());
98
+ assertEquals (1 , dna .getOutputs ().size ());
99
+ assertEquals (3 , dna .getSteps ().size ());
100
+
101
+ }
102
+
90
103
/**
91
104
* Test native loading parsing of a the LobSTR workflow CWL version draft-3
92
105
*/
You can’t perform that action at this time.
0 commit comments