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.
23 lines
612 B
XML
23 lines
612 B
XML
<tool id="multi_output" name="Multi_Output" description="multi_output" force_history_refresh="True" version="0.1.0">
|
|
<command>
|
|
echo "Hello" > $report;
|
|
echo "World" > '${__new_file_path__}/primary_${report.id}_moo_visible_?'
|
|
</command>
|
|
<inputs>
|
|
<param name="input" type="integer" value="7" />
|
|
</inputs>
|
|
<outputs>
|
|
<data format="txt" name="report" />
|
|
</outputs>
|
|
<tests>
|
|
<test>
|
|
<param name="input" value="7" />
|
|
<output name="report">
|
|
<assert_contents>
|
|
<has_line line="Hello" />
|
|
</assert_contents>
|
|
</output>
|
|
</test>
|
|
</tests>
|
|
</tool>
|