Files
galaxy/test/functional/tools/top_level_data.xml
T
John Chilton 3d7e5230d4 Test tool fixes.
- Fix filename spelling to top_level_data parameter test tool.
 - Fix for composite test tool (toolbox won't load it without a name).
2015-03-15 09:53:05 -04:00

35 lines
1.1 KiB
XML

<tool id="top_level_data" name="top_level_data" version="0.1.0">
<command>
cat '${f1}' >> $out1;
echo '${library.f2}' >> $out2; <!-- cannot use just f2 here -->
</command>
<inputs>
<conditional name="library">
<param name="type" type="select" label="Parameter Settings">
<option value="no">Use defaults</option>
<option value="yes">Full parameter list</option>
</param>
<when value="yes">
<param name="f1" type="data" format="txt" label="Data 1" />
<param name="f2" type="text" label="Text 1" />
</when>
<when value="no">
<param name="f1" type="data" format="txt" label="Data 1" />
<param name="f2" type="text" label="TExt 1" />
</when>
</conditional>
</inputs>
<outputs>
<data format="txt" name="out1" />
<data format="txt" name="out2" />
</outputs>
<tests>
<test>
<param name="f1" value="simple_line.txt" />
<param name="f2" value="This is a line of text." />
<output name="out1" file="simple_line.txt" />
<output name="out2" file="simple_line.txt" />
</test>
</tests>
</tool>