Add test tool demonstrating/testing type inheritance.

This commit is contained in:
John Chilton
2015-04-09 09:41:43 -04:00
parent e84d3225ec
commit fe461599d6
2 changed files with 25 additions and 0 deletions
@@ -0,0 +1,24 @@
<tool id="inheritance_simple" name="inheritance_simple" version="1.0.0">
<description>(demonstrates subtypes are usable for parent format)</description>
<command>
cat $input1 > $out_file1
</command>
<inputs>
<param name="input1" type="data" label="Copy FASTQ" format="fastq" />
</inputs>
<outputs>
<data name="out_file1" format_source="input1" metadata_source="input1"/>
</outputs>
<tests>
<test>
<param name="input1" value="1.fastqsanger" ftype="fastqsanger" />
<output name="out_file1" file="1.fastqsanger" ftype="fastqsanger" />
</test>
<test>
<param name="input1" value="1.fastqsolexa" ftype="fastqsolexa" />
<output name="out_file1" file="1.fastqsolexa" ftype="fastqsolexa" />
</test>
</tests>
<help>
</help>
</tool>
@@ -2,6 +2,7 @@
<toolbox tool_path="${tool_conf_dir}">
<tool file="upload.xml"/>
<tool file="simple_constructs.xml" />
<tool file="inheritance_simple.xml" />
<tool file="composite.xml" />
<tool file="compare_bam_as_sam.xml" />
<tool file="code_file.xml" />