-
Notifications
You must be signed in to change notification settings - Fork 1k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
3 changed files
with
59 additions
and
12 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,43 @@ | ||
<tool id="section_24_2" name="section_24_2" version="1.0.0" profile="24.2"> | ||
<command><![CDATA[ | ||
echo $int.inttest > '$out_file1' && | ||
echo $float.floattest >> '$out_file1' | ||
]]></command> | ||
<inputs> | ||
<section name="int" title="Integer Section" expanded="true"> | ||
<param name="inttest" value="1" type="integer" /> | ||
</section> | ||
<section name="float" title="Float Section" expanded="false"> | ||
<param name="floattest" value="1.0" type="float" /> | ||
</section> | ||
</inputs> | ||
<outputs> | ||
<data name="out_file1" format="txt" /> | ||
</outputs> | ||
<tests> | ||
<test> | ||
<param name="int|inttest" value="12456" /> | ||
<param name="float|floattest" value="6.789" /> | ||
<output name="out_file1"> | ||
<assert_contents> | ||
<has_line line="12456" /> | ||
<has_line line="6.789" /> | ||
</assert_contents> | ||
</output> | ||
</test> | ||
<test> | ||
<section name="int"> | ||
<param name="inttest" value="12456" /> | ||
</section> | ||
<section name="float"> | ||
<param name="floattest" value="6.789" /> | ||
</section> | ||
<output name="out_file1"> | ||
<assert_contents> | ||
<has_line line="12456" /> | ||
<has_line line="6.789" /> | ||
</assert_contents> | ||
</output> | ||
</test> | ||
</tests> | ||
</tool> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters