Blame view

test/FitNesseRoot/ReleaseS/ThirdPart/ReLease2/SprinT3/UserStory37/content.txt 10.6 KB
fbe3c2bb   Benjamin Renard   First commit
1
2
3
4
!1 !-User Story 37: File output CDF -!

!define path {../test/FitNesseRoot/ReleaseS/ThirdPart/ReLease2/SprinT3/UserStory37/}
!define executable {amdaXMLRequestorTool }
fbe3c2bb   Benjamin Renard   First commit
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
!2 Description du test
!-  En tant qu'utilisateur scientifique
Je peux définir une sortie sous forme d'un fichier CDF
Afin de travailler avec mes données sur mon ordinateur ultérieurement  
-!

!2 Test

!3 Connexion au serveur 

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

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

!3 Exécution des scripts

!|script|TestAmdaCommandLine|
|reference|US 37: id 00|id test|
|note|!- Création d'un fichier CDF pour scalaire float -!|
|check|execute|${executable}|command|${path}request_us37_00.xml|args|0|
1513c203   Benjamin Renard   Modify CDF refere...
27
|check|execute|cdfdump|command|-output output-dst_2008000000000000.cdf.dump output-dst_2008000000000000.cdf |args|0|
fbe3c2bb   Benjamin Renard   First commit
28
29
30
31
32
33
|check|execute|diff|command|output-dst_2008000000000000.cdf.dump ${path}/download_37_00_REF.cdf.dump|args|0|

!|script|TestAmdaCommandLine|
|reference|US 37: id 01|id test|
|note|!- Création d'un fichier CDF pour vecteur float -!|
|check|execute|${executable}|command|${path}request_us37_01.xml|args|0|
1513c203   Benjamin Renard   Modify CDF refere...
34
|check|execute|cdfdump|command|-output output-imf_2008000000000000.cdf.dump output-imf_2008000000000000.cdf |args|0|
fbe3c2bb   Benjamin Renard   First commit
35
36
37
38
39
40
|check|execute|diff|command|output-imf_2008000000000000.cdf.dump ${path}/download_37_01_REF.cdf.dump|args|0|

!|script|TestAmdaCommandLine|
|reference|US 37: id 02|id test|
|note|!- Création d'un fichier CDF pour scalaire integer -!|
|check|execute|${executable}|command|${path}request_us37_02.xml|args|0|
1513c203   Benjamin Renard   Modify CDF refere...
41
|check|execute|cdfdump|command|-output output-qual1_sta_2008000000000000.cdf.dump output-qual1_sta_2008000000000000.cdf |args|0|
fbe3c2bb   Benjamin Renard   First commit
42
43
44
45
46
47
|check|execute|diff|command|output-qual1_sta_2008000000000000.cdf.dump ${path}/download_37_02_REF.cdf.dump|args|0|

!|script|TestAmdaCommandLine|
|reference|US 37: id 03|id test|
|note|!- Création d'un fichier CDF pour tableau integer -!|
|check|execute|${executable}|command|${path}request_us37_03.xml|args|0|
1513c203   Benjamin Renard   Modify CDF refere...
48
|check|execute|cdfdump|command|-output output-vex_els_spec_2008000030000000.cdf.dump output-vex_els_spec_2008000030000000.cdf |args|0|
fbe3c2bb   Benjamin Renard   First commit
49
50
51
52
53
54
|check|execute|diff|command|output-vex_els_spec_2008000030000000.cdf.dump ${path}/download_37_03_REF.cdf.dump|args|0|

!|script|TestAmdaCommandLine|
|reference|US 37: id 04|id test|
|note|!- Création d'un fichier CDF pour tableau float -!|
|check|execute|${executable}|command|${path}request_us37_04.xml|args|0|
1513c203   Benjamin Renard   Modify CDF refere...
55
|check|execute|cdfdump|command|-output output-e_mgs_omni_2005029230000000.cdf.dump output-e_mgs_omni_2005029230000000.cdf |args|0|
fbe3c2bb   Benjamin Renard   First commit
56
57
58
59
60
61
|check|execute|diff|command|output-e_mgs_omni_2005029230000000.cdf.dump ${path}/download_37_04_REF.cdf.dump|args|0|

!|script|TestAmdaCommandLine|
|reference|US 37: id 05|id test|
|note|!- Création d'un fichier CDF pour une magnitude calculée -!|
|check|execute|${executable}|command|${path}request_us37_05.xml|args|0|
1513c203   Benjamin Renard   Modify CDF refere...
62
|check|execute|cdfdump|command|-output output-magnitude_2008000000000000.cdf.dump output-magnitude_2008000000000000.cdf |args|0|
fbe3c2bb   Benjamin Renard   First commit
63
64
65
66
67
68
|check|execute|diff|command|output-magnitude_2008000000000000.cdf.dump ${path}/download_37_05_REF.cdf.dump|args|0|

!|script|TestAmdaCommandLine|
|reference|US 37: id 06|id test|
|note|!- Création d'un fichier CDF pour un paramètre composé système sans échantillonage -!|
|check|execute|${executable}|command|${path}request_us37_06.xml|args|0|
1513c203   Benjamin Renard   Modify CDF refere...
69
|check|execute|cdfdump|command|-output output-ram_pressure_2008000000000000.cdf.dump output-ram_pressure_2008000000000000.cdf |args|0|
fbe3c2bb   Benjamin Renard   First commit
70
71
72
73
74
75
|check|execute|diff|command|output-ram_pressure_2008000000000000.cdf.dump ${path}/download_37_06_REF.cdf.dump|args|0|

!|script|TestAmdaCommandLine|
|reference|US 37: id 07|id test|
|note|!- Création d'un fichier CDF pour un paramètre sur un grand intervalle de temps -!|
|check|execute|${executable}|command|${path}request_us37_07.xml|args|0|
1513c203   Benjamin Renard   Modify CDF refere...
76
|check|execute|cdfdump|command|-output output-imf_2008002000000000.cdf.dump output-imf_2008002000000000.cdf |args|0|
fbe3c2bb   Benjamin Renard   First commit
77
78
79
80
81
82
|check|execute|diff|command|output-imf_2008002000000000.cdf.dump ${path}/download_37_07_REF.cdf.dump|args|0|

!|script|TestAmdaCommandLine|
|reference|US 37: id 08|id test|
|note|!- Création de deux fichiers CDF pour deux paramètres (deux noeuds output définis)  -!|
|check|execute|${executable}|command|${path}request_us37_08.xml|args|0|
1513c203   Benjamin Renard   Modify CDF refere...
83
|check|execute|cdfdump|command|-output output-imf_2008000000000000.cdf.dump output-imf_2008000000000000.cdf |args|0|
fbe3c2bb   Benjamin Renard   First commit
84
|check|execute|diff|command|output-imf_2008000000000000.cdf.dump ${path}/download_37_08_imf_REF.cdf.dump|args|0|
1513c203   Benjamin Renard   Modify CDF refere...
85
|check|execute|cdfdump|command|-output output-dst_2008000000000000.cdf.dump output-dst_2008000000000000.cdf |args|0|
fbe3c2bb   Benjamin Renard   First commit
86
87
88
89
90
91
|check|execute|diff|command|output-dst_2008000000000000.cdf.dump ${path}/download_37_08_dst_REF.cdf.dump|args|0|

!|script|TestAmdaCommandLine|
|reference|US 37: id 09|id test|
|note|!- Création de deux fichiers CDF pour un paramètre avec sortie différente (deux noeuds output définis)  -!|
|check|execute|${executable}|command|${path}request_us37_09.xml|args|0|
1513c203   Benjamin Renard   Modify CDF refere...
92
|check|execute|cdfdump|command|-output output-imf_2008000000000000.cdf.dump output-imf_2008000000000000.cdf |args|0|
fbe3c2bb   Benjamin Renard   First commit
93
|check|execute|diff|command|output-imf_2008000000000000.cdf.dump ${path}/download_37_09_imf_REF.cdf.dump|args|0|
1513c203   Benjamin Renard   Modify CDF refere...
94
|check|execute|cdfdump|command|-output output-imf_1_2008000000000000.cdf.dump output-imf_1_2008000000000000.cdf |args|0|
fbe3c2bb   Benjamin Renard   First commit
95
96
97
98
99
100
|check|execute|diff|command|output-imf_1_2008000000000000.cdf.dump ${path}/download_37_09_imf_1_REF.cdf.dump|args|0|

!|script|TestAmdaCommandLine|
|reference|US 37: id 10|id test|
|note|!- Création d'un fichier CDF à partir d'une expression logique -!|
|check|execute|${executable}|command|${path}request_us37_10.xml|args|0|
1513c203   Benjamin Renard   Modify CDF refere...
101
|check|execute|cdfdump|command|-output output-expression_logical_1_2008000003000000.cdf.dump output-expression_logical_1_2008000003000000.cdf |args|0|
fbe3c2bb   Benjamin Renard   First commit
102
103
104
105
106
107
|check|execute|diff|command|output-expression_logical_1_2008000003000000.cdf.dump ${path}/download_37_10_REF.cdf.dump|args|0|

!|script|TestAmdaCommandLine|
|reference|US 37: id 11|id test|
|note|!- Création d'un fichier CDF avec plusieurs paramètres dans un même fichier -!|
|check|execute|${executable}|command|${path}request_us37_11.xml|args|0|
1513c203   Benjamin Renard   Modify CDF refere...
108
|check|execute|cdfdump|command|-output output-imf_dst_2008000000000000.cdf.dump output-imf_dst_2008000000000000.cdf |args|0|
fbe3c2bb   Benjamin Renard   First commit
109
110
111
112
113
114
|check|execute|diff|command|output-imf_dst_2008000000000000.cdf.dump ${path}/download_37_11_REF.cdf.dump|args|0|

!|script|TestAmdaCommandLine|
|reference|US 37: id 12|id test|
|note|!- Création d'un fichier CDF par intervalle de temps et par paramètre -!|
|check|execute|${executable}|command|${path}request_us37_12.xml|args|0|
1513c203   Benjamin Renard   Modify CDF refere...
115
|check|execute|cdfdump|command|-output output-imf_tt_1_0.cdf.dump output-imf_tt_1_0.cdf |args|0|
74a3e762   Benjamin Renard   Update tests for ...
116
|check|execute|diff|command|output-imf_tt_1_0.cdf.dump ${path}/download_37_12_imf_0_REF.cdf.dump|args|0|
1513c203   Benjamin Renard   Modify CDF refere...
117
|check|execute|cdfdump|command|-output output-imf_tt_1_1.cdf.dump output-imf_tt_1_1.cdf |args|0|
74a3e762   Benjamin Renard   Update tests for ...
118
|check|execute|diff|command|output-imf_tt_1_1.cdf.dump ${path}/download_37_12_imf_1_REF.cdf.dump|args|0|
1513c203   Benjamin Renard   Modify CDF refere...
119
|check|execute|cdfdump|command|-output output-imf_tt_1_2.cdf.dump output-imf_tt_1_2.cdf |args|0|
74a3e762   Benjamin Renard   Update tests for ...
120
|check|execute|diff|command|output-imf_tt_1_2.cdf.dump ${path}/download_37_12_imf_2_REF.cdf.dump|args|0|
1513c203   Benjamin Renard   Modify CDF refere...
121
|check|execute|cdfdump|command|-output output-imf_tt_1_3.cdf.dump output-imf_tt_1_3.cdf |args|0|
74a3e762   Benjamin Renard   Update tests for ...
122
|check|execute|diff|command|output-imf_tt_1_3.cdf.dump ${path}/download_37_12_imf_3_REF.cdf.dump|args|0|
1513c203   Benjamin Renard   Modify CDF refere...
123
|check|execute|cdfdump|command|-output output-dst_tt_1_0.cdf.dump output-dst_tt_1_0.cdf |args|0|
74a3e762   Benjamin Renard   Update tests for ...
124
|check|execute|diff|command|output-dst_tt_1_0.cdf.dump ${path}/download_37_12_dst_0_REF.cdf.dump|args|0|
1513c203   Benjamin Renard   Modify CDF refere...
125
|check|execute|cdfdump|command|-output output-dst_tt_1_1.cdf.dump output-dst_tt_1_1.cdf |args|0|
74a3e762   Benjamin Renard   Update tests for ...
126
|check|execute|diff|command|output-dst_tt_1_1.cdf.dump ${path}/download_37_12_dst_1_REF.cdf.dump|args|0|
1513c203   Benjamin Renard   Modify CDF refere...
127
|check|execute|cdfdump|command|-output output-dst_tt_1_2.cdf.dump output-dst_tt_1_2.cdf |args|0|
74a3e762   Benjamin Renard   Update tests for ...
128
|check|execute|diff|command|output-dst_tt_1_2.cdf.dump ${path}/download_37_12_dst_2_REF.cdf.dump|args|0|
1513c203   Benjamin Renard   Modify CDF refere...
129
|check|execute|cdfdump|command|-output output-dst_tt_1_3.cdf.dump output-dst_tt_1_3.cdf |args|0|
74a3e762   Benjamin Renard   Update tests for ...
130
|check|execute|diff|command|output-dst_tt_1_3.cdf.dump ${path}/download_37_12_dst_3_REF.cdf.dump|args|0|
1513c203   Benjamin Renard   Modify CDF refere...
131
|check|execute|cdfdump|command|-output output-efield_tt_1_0.cdf.dump output-efield_tt_1_0.cdf |args|0|
74a3e762   Benjamin Renard   Update tests for ...
132
|check|execute|diff|command|output-efield_tt_1_0.cdf.dump ${path}/download_37_12_efield_0_REF.cdf.dump|args|0|
1513c203   Benjamin Renard   Modify CDF refere...
133
|check|execute|cdfdump|command|-output output-efield_tt_1_1.cdf.dump output-efield_tt_1_1.cdf |args|0|
74a3e762   Benjamin Renard   Update tests for ...
134
|check|execute|diff|command|output-efield_tt_1_1.cdf.dump ${path}/download_37_12_efield_1_REF.cdf.dump|args|0|
1513c203   Benjamin Renard   Modify CDF refere...
135
|check|execute|cdfdump|command|-output output-efield_tt_1_2.cdf.dump output-efield_tt_1_2.cdf |args|0|
74a3e762   Benjamin Renard   Update tests for ...
136
|check|execute|diff|command|output-efield_tt_1_2.cdf.dump ${path}/download_37_12_efield_2_REF.cdf.dump|args|0|
1513c203   Benjamin Renard   Modify CDF refere...
137
|check|execute|cdfdump|command|-output output-efield_tt_1_3.cdf.dump output-efield_tt_1_3.cdf |args|0|
74a3e762   Benjamin Renard   Update tests for ...
138
|check|execute|diff|command|output-efield_tt_1_3.cdf.dump ${path}/download_37_12_efield_3_REF.cdf.dump|args|0|
fbe3c2bb   Benjamin Renard   First commit
139
140
141
142
143

!|script|TestAmdaCommandLine|
|reference|US 37: id 13|id test|
|note|!- Création d'un fichier CDF par intervalle de temps avec plusieurs paramètres dans un même fichier -!|
|check|execute|${executable}|command|${path}request_us37_13.xml|args|0|
1513c203   Benjamin Renard   Modify CDF refere...
144
|check|execute|cdfdump|command|-output output-efield_dst_imf_tt_1_0.cdf.dump output-efield_dst_imf_tt_1_0.cdf |args|0|
b250d1af   Benjamin Renard   Update tests for ...
145
|check|execute|diff|command|output-efield_dst_imf_tt_1_0.cdf.dump ${path}/download_37_13_0_REF.cdf.dump|args|0|
1513c203   Benjamin Renard   Modify CDF refere...
146
|check|execute|cdfdump|command|-output output-efield_dst_imf_tt_1_1.cdf.dump output-efield_dst_imf_tt_1_1.cdf |args|0|
b250d1af   Benjamin Renard   Update tests for ...
147
|check|execute|diff|command|output-efield_dst_imf_tt_1_1.cdf.dump ${path}/download_37_13_1_REF.cdf.dump|args|0|
1513c203   Benjamin Renard   Modify CDF refere...
148
|check|execute|cdfdump|command|-output output-efield_dst_imf_tt_1_2.cdf.dump output-efield_dst_imf_tt_1_2.cdf |args|0|
b250d1af   Benjamin Renard   Update tests for ...
149
|check|execute|diff|command|output-efield_dst_imf_tt_1_2.cdf.dump ${path}/download_37_13_2_REF.cdf.dump|args|0|
1513c203   Benjamin Renard   Modify CDF refere...
150
|check|execute|cdfdump|command|-output output-efield_dst_imf_tt_1_3.cdf.dump output-efield_dst_imf_tt_1_3.cdf |args|0|
b250d1af   Benjamin Renard   Update tests for ...
151
|check|execute|diff|command|output-efield_dst_imf_tt_1_3.cdf.dump ${path}/download_37_13_3_REF.cdf.dump|args|0|
fbe3c2bb   Benjamin Renard   First commit
152
153
154
155
156

!|script|TestAmdaCommandLine|
|reference|US 37: id 14|id test|
|note|!- Création d'un fichier CDF contenant plusieurs intervalles de temps et plusieurs paramètres -!|
|check|execute|${executable}|command|${path}request_us37_14.xml|args|0|
1513c203   Benjamin Renard   Modify CDF refere...
157
|check|execute|cdfdump|command|-output output-efield_dst_imf_tt_1.cdf.dump output-efield_dst_imf_tt_1.cdf |args|0|
fbe3c2bb   Benjamin Renard   First commit
158
159
160
161
|check|execute|diff|command|output-efield_dst_imf_tt_1.cdf.dump ${path}/download_37_14_REF.cdf.dump|args|0|

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