content.txt
10.4 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
!1 !-User Story 37: File output CDF -!
!define path {../test/FitNesseRoot/ReleaseS/ThirdPart/ReLease2/SprinT3/UserStory37/}
!define executable {amdaXMLRequestorTool }
!define dataBaseParamPath {../config/DataBaseParameters/}
!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|
|check|execute|cdfdump|command|-output output-dst_2008000000000000.cdf.dump output-dst_2008000000000000.cdf |args|1|
|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|
|check|execute|cdfdump|command|-output output-imf_2008000000000000.cdf.dump output-imf_2008000000000000.cdf |args|1|
|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|
|check|execute|cdfdump|command|-output output-qual1_sta_2008000000000000.cdf.dump output-qual1_sta_2008000000000000.cdf |args|1|
|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|
|check|execute|cdfdump|command|-output output-vex_els_spec_2008000030000000.cdf.dump output-vex_els_spec_2008000030000000.cdf |args|1|
|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|
|check|execute|cdfdump|command|-output output-e_mgs_omni_2005029230000000.cdf.dump output-e_mgs_omni_2005029230000000.cdf |args|1|
|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|
|check|execute|cdfdump|command|-output output-magnitude_2008000000000000.cdf.dump output-magnitude_2008000000000000.cdf |args|1|
|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|
|check|execute|cdfdump|command|-output output-ram_pressure_2008000000000000.cdf.dump output-ram_pressure_2008000000000000.cdf |args|1|
|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|
|check|execute|cdfdump|command|-output output-imf_2008002000000000.cdf.dump output-imf_2008002000000000.cdf |args|1|
|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|
|check|execute|cdfdump|command|-output output-imf_2008000000000000.cdf.dump output-imf_2008000000000000.cdf |args|1|
|check|execute|diff|command|output-imf_2008000000000000.cdf.dump ${path}/download_37_08_imf_REF.cdf.dump|args|0|
|check|execute|cdfdump|command|-output output-dst_2008000000000000.cdf.dump output-dst_2008000000000000.cdf |args|1|
|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|
|check|execute|cdfdump|command|-output output-imf_2008000000000000.cdf.dump output-imf_2008000000000000.cdf |args|1|
|check|execute|diff|command|output-imf_2008000000000000.cdf.dump ${path}/download_37_09_imf_REF.cdf.dump|args|0|
|check|execute|cdfdump|command|-output output-imf_1_2008000000000000.cdf.dump output-imf_1_2008000000000000.cdf |args|1|
|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|
|check|execute|cdfdump|command|-output output-expression_logical_1_2008000003000000.cdf.dump output-expression_logical_1_2008000003000000.cdf |args|1|
|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|
|check|execute|cdfdump|command|-output output-imf_dst_2008000000000000.cdf.dump output-imf_dst_2008000000000000.cdf |args|1|
|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|
|check|execute|cdfdump|command|-output output-imf_0.cdf.dump output-imf_0.cdf |args|1|
|check|execute|diff|command|output-imf_0.cdf.dump ${path}/download_37_12_imf_0_REF.cdf.dump|args|0|
|check|execute|cdfdump|command|-output output-imf_1.cdf.dump output-imf_1.cdf |args|1|
|check|execute|diff|command|output-imf_1.cdf.dump ${path}/download_37_12_imf_1_REF.cdf.dump|args|0|
|check|execute|cdfdump|command|-output output-imf_2.cdf.dump output-imf_2.cdf |args|1|
|check|execute|diff|command|output-imf_2.cdf.dump ${path}/download_37_12_imf_2_REF.cdf.dump|args|0|
|check|execute|cdfdump|command|-output output-imf_3.cdf.dump output-imf_3.cdf |args|1|
|check|execute|diff|command|output-imf_3.cdf.dump ${path}/download_37_12_imf_3_REF.cdf.dump|args|0|
|check|execute|cdfdump|command|-output output-dst_0.cdf.dump output-dst_0.cdf |args|1|
|check|execute|diff|command|output-dst_0.cdf.dump ${path}/download_37_12_dst_0_REF.cdf.dump|args|0|
|check|execute|cdfdump|command|-output output-dst_1.cdf.dump output-dst_1.cdf |args|1|
|check|execute|diff|command|output-dst_1.cdf.dump ${path}/download_37_12_dst_1_REF.cdf.dump|args|0|
|check|execute|cdfdump|command|-output output-dst_2.cdf.dump output-dst_2.cdf |args|1|
|check|execute|diff|command|output-dst_2.cdf.dump ${path}/download_37_12_dst_2_REF.cdf.dump|args|0|
|check|execute|cdfdump|command|-output output-dst_3.cdf.dump output-dst_3.cdf |args|1|
|check|execute|diff|command|output-dst_3.cdf.dump ${path}/download_37_12_dst_3_REF.cdf.dump|args|0|
|check|execute|cdfdump|command|-output output-efield_0.cdf.dump output-efield_0.cdf |args|1|
|check|execute|diff|command|output-efield_0.cdf.dump ${path}/download_37_12_efield_0_REF.cdf.dump|args|0|
|check|execute|cdfdump|command|-output output-efield_1.cdf.dump output-efield_1.cdf |args|1|
|check|execute|diff|command|output-efield_1.cdf.dump ${path}/download_37_12_efield_1_REF.cdf.dump|args|0|
|check|execute|cdfdump|command|-output output-efield_2.cdf.dump output-efield_2.cdf |args|1|
|check|execute|diff|command|output-efield_2.cdf.dump ${path}/download_37_12_efield_2_REF.cdf.dump|args|0|
|check|execute|cdfdump|command|-output output-efield_3.cdf.dump output-efield_3.cdf |args|1|
|check|execute|diff|command|output-efield_3.cdf.dump ${path}/download_37_12_efield_3_REF.cdf.dump|args|0|
!|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|
|check|execute|cdfdump|command|-output output-efield_dst_imf_0.cdf.dump output-efield_dst_imf_0.cdf |args|1|
|check|execute|diff|command|output-efield_dst_imf_0.cdf.dump ${path}/download_37_13_0_REF.cdf.dump|args|0|
|check|execute|cdfdump|command|-output output-efield_dst_imf_1.cdf.dump output-efield_dst_imf_1.cdf |args|1|
|check|execute|diff|command|output-efield_dst_imf_1.cdf.dump ${path}/download_37_13_1_REF.cdf.dump|args|0|
|check|execute|cdfdump|command|-output output-efield_dst_imf_2.cdf.dump output-efield_dst_imf_2.cdf |args|1|
|check|execute|diff|command|output-efield_dst_imf_2.cdf.dump ${path}/download_37_13_2_REF.cdf.dump|args|0|
|check|execute|cdfdump|command|-output output-efield_dst_imf_3.cdf.dump output-efield_dst_imf_3.cdf |args|1|
|check|execute|diff|command|output-efield_dst_imf_3.cdf.dump ${path}/download_37_13_3_REF.cdf.dump|args|0|
!|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|
|check|execute|cdfdump|command|-output output-efield_dst_imf_tt_1.cdf.dump output-efield_dst_imf_tt_1.cdf |args|1|
|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