content.txt 2.21 KB
!1 !-User Story 9: Download pour TimeTable, un fichier par paramètre par intervalle-!

!define path {../test/FitNesseRoot/ReleaseS/SecondPart/ReLease1/SprinT4/UserStory9/}
!define executable {amdaXMLRequestorTool }
!2 Description du test
!- Execution d'une requête de download pour TimeTable (plusieurs intervalles de temps, output d'un fichier par paramètre par intervalle -!

!2 Test

!|script|ConnectToDDServer|
|check|login|1|

!|script|TestAmdaCommandLine|
|set|${path}|path|

!|script|TestAmdaCommandLine|
|set|${path}|path|
 
!|script|TestAmdaCommandLine|
|reference|US 9: id 81|id test|
|note|!- 3 Download sur 3 paramètres DST, IMF, EFIELD, sans ré-échantillonnage -!|
|check|execute|${executable}|command|${path}request_us9_81.xml|args|0|
|check|diffOutputFile|REF_output-imf_tt_1_2008000000000000.txt|file1|output-imf_tt_1_0.txt|file2|0|
|check|diffOutputFile|REF_output-imf_tt_1_2008000080000000.txt|file1|output-imf_tt_1_1.txt|file2|0|
|check|diffOutputFile|REF_output-imf_tt_1_2008000160000000.txt|file1|output-imf_tt_1_2.txt|file2|0|
|check|diffOutputFile|REF_output-imf_tt_1_2008000230000000.txt|file1|output-imf_tt_1_3.txt|file2|0|
|check|diffOutputFile|REF_output-dst_tt_1_2008000000000000.txt|file1|output-dst_tt_1_0.txt|file2|0|
|check|diffOutputFile|REF_output-dst_tt_1_2008000080000000.txt|file1|output-dst_tt_1_1.txt|file2|0|
|check|diffOutputFile|REF_output-dst_tt_1_2008000160000000.txt|file1|output-dst_tt_1_2.txt|file2|0|
|check|diffOutputFile|REF_output-dst_tt_1_2008000230000000.txt|file1|output-dst_tt_1_3.txt|file2|0|
|check|diffOutputFile|REF_output-imf_tt_1_2008000000000000.txt|file1|output-imf_tt_1_0.txt|file2|0|
|check|diffOutputFile|REF_output-imf_tt_1_2008000080000000.txt|file1|output-imf_tt_1_1.txt|file2|0|
|check|diffOutputFile|REF_output-imf_tt_1_2008000160000000.txt|file1|output-imf_tt_1_2.txt|file2|0|
|check|diffOutputFile|REF_output-imf_tt_1_2008000230000000.txt|file1|output-imf_tt_1_3.txt|file2|0|


!|script|TestAmdaCommandLine|
|set|${path}|path|
|note|!- Suppression des fichiers créés -!|
|check|execute|!- rm  -!|command| output-dst_*.txt |args|0|
|check|execute|!- rm  -!|command| output-imf_*.txt |args|0|
|check|execute|!- rm  -!|command| output-efield_*.txt |args|0|

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