Files
galaxy/test/functional/tools/composite_output.xml
T
John Chilton a0d6d113ab Add more sample tools for tool testing framework.
Adding multi_select.xml, which demonstrates twill cannot deal with - at the beginning of select param values - this test works immediately with API interactor.

Also adding a multi_output.xml, this is a tool using variable number of outputs (force_refresh=True), both interactors pass this but it is a good test to verify that.

Also adding example to test multi-page tools (multi_page.xml) - both interactors pass this test. Though the API needed to be adjusted to allow its use (in a previous changeset).

Also adding example tool demonstrating extra_files output.

Finally, a tool simple_constructs.xml that just tests the basics, various parameter types, simple conditional, and simple repeat.
2013-11-21 19:17:12 -06:00

25 lines
1.0 KiB
XML

<tool id="composite_output" name="composite_output" version="1.0.0">
<command>mkdir $output.extra_files_path; cp $input.extra_files_path/* $output.extra_files_path</command>
<inputs>
<param name="input" type="data" format="velvet" label="Velvet Dataset" help="Prepared by velveth."/>
</inputs>
<outputs>
<data format="velvet" name="output" label="">
</data>
</outputs>
<tests>
<test>
<param name="input" value="velveth_test1/output.html" ftype="velvet" >
<composite_data value='velveth_test1/Sequences' ftype="Sequences"/>
<composite_data value='velveth_test1/Roadmaps' ftype="Roadmaps"/>
<composite_data value='velveth_test1/Log'/>
</param>
<output name="output" file="velveth_test1/output.html">
<extra_files type="file" name="Sequences" value="velveth_test1/Sequences" />
<extra_files type="file" name="Roadmaps" value="velveth_test1/Roadmaps" />
<extra_files type="file" name="Log" value="velveth_test1/Log" />
</output>
</test>
</tests>
</tool>