commit/galaxy-central: jmchilton: Clean up tool framework test tools.
1 new commit in galaxy-central: https://bitbucket.org/galaxy/galaxy-central/commits/1c306a40b1c3/ Changeset: 1c306a40b1c3 User: jmchilton Date: 2013-11-22 04:17:04 Summary: Clean up tool framework test tools. Add example of nested conditional disambiugation. Affected #: 3 files diff -r 4615f7424dcb4d2b61be5f388c761f45a1302a03 -r 1c306a40b1c3f6f3abc51f44d2bc77a5bb1d6695 test/functional/tools/composite.xml --- a/test/functional/tools/composite.xml +++ b/test/functional/tools/composite.xml @@ -1,5 +1,4 @@ -<tool id="velvet_inspired" name="velvet_inspired" version="1.0.0"> - <description>Velvet sequence assembler for very short reads</description> +<tool id="composite" version="1.0.0"><command>cat '$input.extra_files_path/Sequences' > $output</command><inputs><param name="input" type="data" format="velvet" label="Velvet Dataset" help="Prepared by velveth."/> diff -r 4615f7424dcb4d2b61be5f388c761f45a1302a03 -r 1c306a40b1c3f6f3abc51f44d2bc77a5bb1d6695 test/functional/tools/disambiguate_cond.xml --- a/test/functional/tools/disambiguate_cond.xml +++ b/test/functional/tools/disambiguate_cond.xml @@ -1,6 +1,4 @@ -<tool id="handle_cond" name="handle_cond"> - <description>tail-to-head</description> - <!-- --> +<tool id="disambiguate_cond" name="disambiguate_cond"><command> echo "$p1.p1v $p2.p2v $p3.p3v" > $out_file1; cat "$files.p4.file" >> $out_file1; </command> @@ -61,5 +59,29 @@ </assert_contents></output></test> + <test> + <conditional name="p1"> + <param name="use" value="False"/> + </conditional> + <conditional name="p2"> + <param name="use" value="True"/> + </conditional> + <conditional name="p3"> + <param name="use" value="False"/> + </conditional> + <conditional name="files"> + <param name="attach_files" value="True" /> + <conditional name="p4"> + <param name="use" value="True"/> + <param name="file" value="simple_line_alternative.txt" /> + </conditional> + </conditional> + <output name="out_file1"> + <assert_contents> + <has_line line="7 4 7" /> + <has_line line="This is a different line of text." /> + </assert_contents> + </output> + </test></tests></tool> diff -r 4615f7424dcb4d2b61be5f388c761f45a1302a03 -r 1c306a40b1c3f6f3abc51f44d2bc77a5bb1d6695 test/functional/tools/multi_repeats.xml --- a/test/functional/tools/multi_repeats.xml +++ b/test/functional/tools/multi_repeats.xml @@ -1,5 +1,4 @@ -<tool id="multirepeat" name="multirepeat"> - <description>tail-to-head</description> +<tool id="multi_repeats" name="multi_repeats"><command> cat $input1 #for $q in $queries# ${q.input2} #end for# #for $q in $more_queries# ${q.more_queries_input} #end for# > $out_file1 </command> Repository URL: https://bitbucket.org/galaxy/galaxy-central/ -- This is a commit notification from bitbucket.org. You are receiving this because you have the service enabled, addressing the recipient of this email.
participants (1)
-
commits-noreply@bitbucket.org