content.txt 5.38 KB
!1 !-User Story 73 : Implémentation de l'option "one file / parameter"  -!

!define path {../test/FitNesseRoot/ReleaseS/ThirdPart/ReLease3/SprinT1/UserStory73/}
!define executable {amdaXMLRequestorTool }
!define dataBaseParamPath {../config/DataBaseParameters/}

!2 Description du test
!-  En tant qu'utilisateur scientifique
Je peux définir une sortie fichier avec l'option "one file / parameter"
Afin d'obtenir un fichier séparé par intervalle de temps et par paramètre
C'est fichiers peuvent être regroupés dans une archive commune par utilisation d'un post-processing
-!

!2 Test
!|script|TestAmdaCommandLine|
|reference|US 73: id 00|id test|
|note|!- Création d'un fichier ASCII par intervalle de temps et par paramètre. Un fichier info séparé par paramètre. Les fichiers sont regroupés dans une archive tar.gzip -!|
|check|execute|!-rm-!|command| -f download_*.tar.gz |args|0|
|check|executeWithInfo|${executable}|command|${path}request_us73_00.xml|args|0|
|check|execute|!-rm-!|command| -f output-*.txt |args|0|
|check|execute|!-tar xvzf -!|command| download_*.tar.gz |args|0|
|check|execute|diff|command|output-imf_tt_1_0.txt ${path}/download_73_00_imf_0_REF.txt|args|0|
|check|execute|diff|command|output-imf_tt_1_1.txt ${path}/download_73_00_imf_1_REF.txt|args|0|
|check|execute|diff|command|output-imf_tt_1_2.txt ${path}/download_73_00_imf_2_REF.txt|args|0|
|check|execute|diff|command|output-imf_tt_1_3.txt ${path}/download_73_00_imf_3_REF.txt|args|0|
|check|execute|diff|command|output-imf_info.txt ${path}/download_73_00_imf_info_REF.txt|args|0|
|check|execute|diff|command|output-dst_tt_1_0.txt ${path}/download_73_00_dst_0_REF.txt|args|0|
|check|execute|diff|command|output-dst_tt_1_1.txt ${path}/download_73_00_dst_1_REF.txt|args|0|
|check|execute|diff|command|output-dst_tt_1_2.txt ${path}/download_73_00_dst_2_REF.txt|args|0|
|check|execute|diff|command|output-dst_tt_1_3.txt ${path}/download_73_00_dst_3_REF.txt|args|0|
|check|execute|diff|command|output-dst_info.txt ${path}/download_73_00_dst_info_REF.txt|args|0|
|check|execute|diff|command|output-efield_tt_1_0.txt ${path}/download_73_00_efield_0_REF.txt|args|0|
|check|execute|diff|command|output-efield_tt_1_1.txt ${path}/download_73_00_efield_1_REF.txt|args|0|
|check|execute|diff|command|output-efield_tt_1_2.txt ${path}/download_73_00_efield_2_REF.txt|args|0|
|check|execute|diff|command|output-efield_tt_1_3.txt ${path}/download_73_00_efield_3_REF.txt|args|0|
|check|execute|diff|command|output-efield_info.txt ${path}/download_73_00_efield_info_REF.txt|args|0|

!|script|TestAmdaCommandLine|
|reference|US 73: id 01|id test|
|note|!- Création d'un fichier CDF par intervalle de temps et par paramètre. Les fichiers sont regroupés dans une archive zip -!|
|check|execute|!-rm-!|command| -f download_*.zip |args|0|
|check|executeWithInfo|${executable}|command|${path}request_us73_01.xml|args|0|
|check|execute|!-rm-!|command| -f output-*.cdf |args|0|
|check|execute|!-unzip -!|command| download_*.zip |args|0|
|check|execute|cdfdump|command|-output output-imf_tt_1_0.cdf.dump output-imf_tt_1_0.cdf |args|1|
|check|execute|cdfdump|command|-output output-imf_tt_1_1.cdf.dump output-imf_tt_1_1.cdf |args|1|
|check|execute|cdfdump|command|-output output-imf_tt_1_2.cdf.dump output-imf_tt_1_2.cdf |args|1|
|check|execute|cdfdump|command|-output output-imf_tt_1_3.cdf.dump output-imf_tt_1_3.cdf |args|1|
|check|execute|cdfdump|command|-output output-dst_tt_1_0.cdf.dump output-dst_tt_1_0.cdf |args|1|
|check|execute|cdfdump|command|-output output-dst_tt_1_1.cdf.dump output-dst_tt_1_1.cdf |args|1|
|check|execute|cdfdump|command|-output output-dst_tt_1_2.cdf.dump output-dst_tt_1_2.cdf |args|1|
|check|execute|cdfdump|command|-output output-dst_tt_1_3.cdf.dump output-dst_tt_1_3.cdf |args|1|
|check|execute|cdfdump|command|-output output-efield_tt_1_0.cdf.dump output-efield_tt_1_0.cdf |args|1|
|check|execute|cdfdump|command|-output output-efield_tt_1_1.cdf.dump output-efield_tt_1_1.cdf |args|1|
|check|execute|cdfdump|command|-output output-efield_tt_1_2.cdf.dump output-efield_tt_1_2.cdf |args|1|
|check|execute|cdfdump|command|-output output-efield_tt_1_3.cdf.dump output-efield_tt_1_3.cdf |args|1|
|check|execute|diff|command|output-imf_tt_1_0.cdf.dump ${path}/download_73_01_imf_0_REF.cdf.dump|args|0|
|check|execute|diff|command|output-imf_tt_1_1.cdf.dump ${path}/download_73_01_imf_1_REF.cdf.dump|args|0|
|check|execute|diff|command|output-imf_tt_1_2.cdf.dump ${path}/download_73_01_imf_2_REF.cdf.dump|args|0|
|check|execute|diff|command|output-imf_tt_1_3.cdf.dump ${path}/download_73_01_imf_3_REF.cdf.dump|args|0|
|check|execute|diff|command|output-dst_tt_1_0.cdf.dump ${path}/download_73_01_dst_0_REF.cdf.dump|args|0|
|check|execute|diff|command|output-dst_tt_1_1.cdf.dump ${path}/download_73_01_dst_1_REF.cdf.dump|args|0|
|check|execute|diff|command|output-dst_tt_1_2.cdf.dump ${path}/download_73_01_dst_2_REF.cdf.dump|args|0|
|check|execute|diff|command|output-dst_tt_1_3.cdf.dump ${path}/download_73_01_dst_3_REF.cdf.dump|args|0|
|check|execute|diff|command|output-efield_tt_1_0.cdf.dump ${path}/download_73_01_efield_0_REF.cdf.dump|args|0|
|check|execute|diff|command|output-efield_tt_1_1.cdf.dump ${path}/download_73_01_efield_1_REF.cdf.dump|args|0|
|check|execute|diff|command|output-efield_tt_1_2.cdf.dump ${path}/download_73_01_efield_2_REF.cdf.dump|args|0|
|check|execute|diff|command|output-efield_tt_1_3.cdf.dump ${path}/download_73_01_efield_3_REF.cdf.dump|args|0|


-----
!contents -R2 -g -p -f -h