mirror of
https://github.com/galaxyproject/galaxy.git
synced 2026-09-24 16:30:27 +08:00
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.
30 lines
706 B
XML
30 lines
706 B
XML
<tool id="multi_page" name="Multi_Page" description="multi_page" version="0.1.0">
|
|
<configfiles>
|
|
<configfile name="config">${p1} ${p2}</configfile>
|
|
</configfiles>
|
|
<command>cat $config > $output</command>
|
|
<inputs>
|
|
<page>
|
|
<param name="p1" type="integer" value="1" />
|
|
</page>
|
|
<page>
|
|
<param name="p2" type="integer" value="2" />
|
|
</page>
|
|
</inputs>
|
|
<outputs>
|
|
<data format="txt" name="output" />
|
|
</outputs>
|
|
<tests>
|
|
<test>
|
|
<param name="p1" value="3" />
|
|
<param name="p2" value="4" />
|
|
|
|
<output name="output">
|
|
<assert_contents>
|
|
<has_line line="3 4" />
|
|
</assert_contents>
|
|
</output>
|
|
</test>
|
|
</tests>
|
|
</tool>
|