Files
galaxy/test/functional/tools/collection_paired_test.xml
T
John Chilton ef1877b468 Small tweaks to some functional test tools.
Add data labels so the tools works in the workflow editor and added a conditional switches to some with collection params and multiple input data parameters to test some state-y logic in workflow editor.
2014-09-03 08:43:25 -04:00

28 lines
813 B
XML

<tool id="collection_paired_test" name="paired_test" version="0.1.0">
<command>
cat $f1.forward $f1['reverse'] >> $out1;
</command>
<inputs>
<param name="f1" type="data_collection" collection_type="paired" label="Input pair" />
</inputs>
<outputs>
<data format="txt" name="out1" />
</outputs>
<tests>
<test>
<param name="f1">
<collection type="paired">
<element name="forward" value="simple_line.txt" />
<element name="reverse" value="simple_line_alternative.txt" />
</collection>
</param>
<output name="out1">
<assert_contents>
<has_line line="This is a line of text." />
<has_line line="This is a different line of text." />
</assert_contents>
</output>
</test>
</tests>
</tool>