Mercurial > repos > vimalkumarvelayudhan > html_export
changeset 1:da900b5a0bda
Add input, test, citations parameters and test-data
author | Vimalkumar Velayudhan <vimal@biotechcoder.com> |
---|---|
date | Fri, 03 Jul 2015 12:24:49 +0100 |
parents | 6423c038695d |
children | ebd2c7b56d10 |
files | html_export.xml test-data/html_export.html |
diffstat | 2 files changed, 23 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/html_export.xml Fri Jul 03 11:59:29 2015 +0100 +++ b/html_export.xml Fri Jul 03 12:24:49 2015 +0100 @@ -8,9 +8,18 @@ --html_file "${html_file}" --output_path "${html_file.files_path}" </command> + <inputs> + <param name="sample" type="text" value="a simple text input" help="Just a placeholder. This isn't required for the program to work"/> + </inputs> <outputs> <data format="html" name="html_file" label="Test HTML export"/> </outputs> + <tests> + <test> + <param name="sample" value="test"/> + <output name="html_file" file="html_export.html"/> + </test> + </tests> <help> Test HTML export with included files ------------------------------------ @@ -20,4 +29,5 @@ The output will be a HTML file with link to a sample text file. </help> -</tool> \ No newline at end of file +<citations /> +</tool>
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/test-data/html_export.html Fri Jul 03 12:24:49 2015 +0100 @@ -0,0 +1,12 @@ +<!DOCTYPE html> +<html lang="en"> +<head> + <meta charset="utf-8"> + <title>HTML export</title> + </head> +<body> +<h3>HTML output file with link to sample text file</h3> +<p>Download: <a href="paths.txt">paths.txt</a></p> +</body> +</html> +