[1771] | 1 | <!DOCTYPE html> |
---|
| 2 | <html> |
---|
| 3 | <head> |
---|
| 4 | <metacharset="utf-8"/> |
---|
| 5 | <link rel="stylesheet" href="xios-style.css"/> |
---|
| 6 | <title>XIOS Unit Tests Report - Le Site Web</title> |
---|
| 7 | <script src="https://ajax.googleapis.com/ajax/libs/jquery/3.2.1/jquery.min.js"></script> |
---|
| 8 | <link href="https://maxcdn.bootstrapcdn.com/font-awesome/4.7.0/css/font-awesome.min.css" rel="stylesheet"/> |
---|
| 9 | <script> |
---|
| 10 | $(document).ready(function() |
---|
| 11 | { |
---|
| 12 | $('#content').load("xios_table.html"); |
---|
| 13 | $('#content2').load("xios_table2.html"); |
---|
| 14 | $('#txtcont').load("report.html"); |
---|
| 15 | }); |
---|
| 16 | </script> |
---|
| 17 | |
---|
| 18 | <script> |
---|
| 19 | function mytoggle() { |
---|
| 20 | if( document.getElementById("hidelevel_1").style.display=='none' ){ |
---|
| 21 | document.getElementById("hidelevel_1").style.display = 'table-row'; // set to table-row instead of an empty string |
---|
| 22 | }else{ |
---|
| 23 | document.getElementById("hidelevel_1").style.display = 'none'; |
---|
| 24 | } |
---|
| 25 | } |
---|
| 26 | |
---|
| 27 | function level1_unfold() { |
---|
| 28 | var ans = document.getElementsByClassName('level2') |
---|
| 29 | for (var i = 0; i < ans.length; i++) { |
---|
| 30 | var cell = ans[i] |
---|
| 31 | cell.style.display = 'table-row'; |
---|
| 32 | document.getElementById("icon_level1_1").style.display='none'; |
---|
| 33 | document.getElementById("icon_level1_2").style.display='inline'; |
---|
| 34 | } |
---|
| 35 | } |
---|
| 36 | |
---|
| 37 | function level1_fold() { |
---|
| 38 | var ans = document.getElementsByClassName('level2') |
---|
| 39 | for (var i = 0; i < ans.length; i++) { |
---|
| 40 | var cell = ans[i] |
---|
| 41 | cell.style.display = 'none'; |
---|
| 42 | document.getElementById("icon_level1_2").style.display='none'; |
---|
| 43 | document.getElementById("icon_level1_1").style.display='inline'; |
---|
| 44 | algoType = cell.getAttribute("data-algo-type"); |
---|
| 45 | level2_fold(algoType) |
---|
| 46 | } |
---|
| 47 | } |
---|
| 48 | |
---|
| 49 | |
---|
| 50 | |
---|
| 51 | function level2_unfold(algo_name) { |
---|
| 52 | var ans = document.getElementsByClassName('level3_'+algo_name) |
---|
| 53 | for (var i = 0; i < ans.length; i++) { |
---|
| 54 | var cell = ans[i] |
---|
| 55 | cell.style.display = 'table-row'; |
---|
| 56 | document.getElementById("icon_level2_"+algo_name+"_1").style.display='none'; |
---|
| 57 | document.getElementById("icon_level2_"+algo_name+"_2").style.display='inline'; |
---|
| 58 | } |
---|
| 59 | |
---|
| 60 | } |
---|
| 61 | |
---|
| 62 | function level2_fold(algo_name) { |
---|
| 63 | var ans = document.getElementsByClassName('level3_'+algo_name) |
---|
| 64 | for (var i = 0; i < ans.length; i++) { |
---|
| 65 | var cell = ans[i] |
---|
| 66 | cell.style.display = 'none'; |
---|
| 67 | document.getElementById("icon_level2_"+algo_name+"_2").style.display='none'; |
---|
| 68 | document.getElementById("icon_level2_"+algo_name+"_1").style.display='inline'; |
---|
| 69 | algoconfigType = cell.getAttribute("data-algoconfig-type"); |
---|
| 70 | level3_fold(algoconfigType) |
---|
| 71 | } |
---|
| 72 | |
---|
| 73 | } |
---|
| 74 | |
---|
| 75 | |
---|
| 76 | |
---|
| 77 | function level3_unfold(algo_config_name) { |
---|
| 78 | var ans = document.getElementsByClassName('level4_'+algo_config_name) |
---|
| 79 | for (var i = 0; i < ans.length; i++) { |
---|
| 80 | var cell = ans[i] |
---|
| 81 | cell.style.display = 'table-row'; |
---|
| 82 | document.getElementById("icon_level3_"+algo_config_name+"_1").style.display='none'; |
---|
| 83 | document.getElementById("icon_level3_"+algo_config_name+"_2").style.display='inline'; |
---|
| 84 | } |
---|
| 85 | } |
---|
| 86 | |
---|
| 87 | function level3_fold(algo_config_name) { |
---|
| 88 | var ans = document.getElementsByClassName('level4_'+algo_config_name) |
---|
| 89 | for (var i = 0; i < ans.length; i++) { |
---|
| 90 | var cell = ans[i] |
---|
| 91 | cell.style.display = 'none'; |
---|
| 92 | document.getElementById("icon_level3_"+algo_config_name+"_2").style.display='none'; |
---|
| 93 | document.getElementById("icon_level3_"+algo_config_name+"_1").style.display='inline'; |
---|
| 94 | } |
---|
| 95 | } |
---|
| 96 | </script> |
---|
| 97 | |
---|
| 98 | |
---|
| 99 | </head> |
---|
| 100 | <body> |
---|
| 101 | <header> |
---|
| 102 | <h1>XIOS Unit Tests Report Web Page</h1> |
---|
| 103 | <h2>(still under construction ... ...)</h2> |
---|
| 104 | </header> |
---|
| 105 | <nav> |
---|
| 106 | <div id="navborder"> |
---|
| 107 | <p id="xiosinfo">Some useful links:</p> |
---|
| 108 | <ul> |
---|
| 109 | <li><a href="https://forge.ipsl.jussieu.fr/ioserver/wiki" target="_blank">XIOS wiki page</a></li> |
---|
| 110 | <li><a href="graph.html" target="_blank">Workflow Graph</a></li> |
---|
| 111 | <li><a href="plein_report.txt" target="_blank">Plein Text Report</a>(0:initialized 1:passed -1:failed)</li> |
---|
| 112 | </ul> |
---|
| 113 | </div> |
---|
| 114 | |
---|
| 115 | <div id="navborder"> |
---|
| 116 | <p id="xiosinfo">Informatin of XIOS source:</p> |
---|
| 117 | <table id="xiosinfotable"> |
---|
| 118 | <tr> |
---|
| 119 | <td>Branch</td> |
---|
| 120 | <td><em>trunk</em></td> |
---|
| 121 | </tr> |
---|
| 122 | <tr> |
---|
| 123 | <td>Revision</td> |
---|
| 124 | <td><em>1740</em></td> |
---|
| 125 | </tr> |
---|
| 126 | <tr> |
---|
| 127 | <td>Machine</td> |
---|
| 128 | <td><em>Juliot-Curie</em></td> |
---|
| 129 | </tr> |
---|
| 130 | <tr> |
---|
| 131 | <td>Architecture</td> |
---|
| 132 | <td><em>X86_IRENE</em></td> |
---|
| 133 | </tr> |
---|
| 134 | <tr> |
---|
| 135 | <td>Compile mode</td> |
---|
| 136 | <td><em>prod</em></td> |
---|
| 137 | </tr> |
---|
| 138 | </table> |
---|
| 139 | </div> |
---|
| 140 | </nav> |
---|
| 141 | <section> |
---|
| 142 | <h3 style="margin-left:25px;">If your FireFox browser does not show the result table, try the following steps:</h3> |
---|
| 143 | <ol> |
---|
| 144 | <li>open <text style="font-weight: bold;">about:config</text> in the browser.</li> |
---|
| 145 | <li>Search <text style="font-weight: bold;">security.fileuri.strict_origin_policy</text>.</li> |
---|
| 146 | <li>Change the value to <text style="font-weight: bold;">false</text>.</li> |
---|
| 147 | </ol> |
---|
| 148 | |
---|
| 149 | <h2>Results of unit tests</h2> |
---|
| 150 | |
---|
| 151 | <!-- <div> |
---|
| 152 | <input type="checkbox" id="toggle" class="unfolder"/> |
---|
| 153 | <label for="toggle" class="toggle-label"><span class="unfold-icon">▶</span><span class="fold-icon">▼</span> Title</label> |
---|
| 154 | |
---|
| 155 | <div class="fold"> |
---|
| 156 | Content |
---|
| 157 | </div> |
---|
| 158 | </div> --> |
---|
| 159 | |
---|
| 160 | |
---|
| 161 | <div id="content"></div> |
---|
| 162 | |
---|
| 163 | |
---|
| 164 | <!-- <table id="xiostable"> |
---|
| 165 | <thead></thead> |
---|
| 166 | <tfoot></tfoot> |
---|
| 167 | <tbody> |
---|
| 168 | <tr> |
---|
| 169 | <td>XIOS Unit tests</td> |
---|
| 170 | <td colspan="3"></td> |
---|
| 171 | <td class="testanswer">Failed</td> |
---|
| 172 | <td> </td> |
---|
| 173 | </tr> |
---|
| 174 | <tr> |
---|
| 175 | <td rowspan="6"></td> |
---|
| 176 | <td>Scalar algorithms</td> |
---|
| 177 | <td ></td> |
---|
| 178 | <td class="testanswer">Passed</td> |
---|
| 179 | <td> </td> |
---|
| 180 | <td> <form method="post" action=action1.php><input type="submit" value="Show param.def"/></form></td> |
---|
| 181 | </tr> |
---|
| 182 | <tr> |
---|
| 183 | <td rowspan="2"></td> |
---|
| 184 | <td>configuration 1</td> |
---|
| 185 | <td class="testanswer">Initialized</td> |
---|
| 186 | <td> </td> |
---|
| 187 | <td> <form method="post" action=action2.php><input type="submit" value="Show param.def"/></form></td> |
---|
| 188 | </tr> |
---|
| 189 | |
---|
| 190 | <tr> |
---|
| 191 | <td>configuration 2</td> |
---|
| 192 | <td class="testanswer">Passed</td> |
---|
| 193 | <td> </td> |
---|
| 194 | <td> <form method="post" action=action2.php><input type="submit" value="Show param.def"/></form></td> |
---|
| 195 | </tr> |
---|
| 196 | <tr> |
---|
| 197 | <td>Axis algorithms</td> |
---|
| 198 | <td></td> |
---|
| 199 | <td class="testanswer">Failed</td> |
---|
| 200 | <td> </td> |
---|
| 201 | <td> <form method="post" action=action1.php><input type="submit" value="Show param.def"/></form></td> |
---|
| 202 | </tr> |
---|
| 203 | <tr> |
---|
| 204 | <td rowspan="2"></td> |
---|
| 205 | <td>configuration 1</td> |
---|
| 206 | <td class="testanswer">Passed</td> |
---|
| 207 | <td> </td> |
---|
| 208 | <td> <form method="post" action=action2.php><input type="submit" value="Show param.def"/></form></td> |
---|
| 209 | </tr> |
---|
| 210 | <tr> |
---|
| 211 | <td>configuration 2</td> |
---|
| 212 | <td class="testanswer">Failed</td> |
---|
| 213 | <td> </td> |
---|
| 214 | <td> <form method="post" action=action2.php><input type="submit" value="Show param.def"/></form></td> |
---|
| 215 | </tr> |
---|
| 216 | </tbody> |
---|
| 217 | </table> --> |
---|
| 218 | |
---|
| 219 | <!-- <form method="post" action="traitement.php"> |
---|
| 220 | <label for="pseudo">Votre pseudo : </label> |
---|
| 221 | <input type="text" name="pseudo" id="pseudo" placeholder="Ex: Zozor"/> |
---|
| 222 | <br/> |
---|
| 223 | <label for="pass">Votre mot de passe : </label> |
---|
| 224 | <input type="password" name="pass" id="pass"/> |
---|
| 225 | <br/> |
---|
| 226 | <label for="ameliorer">Votre commentaire :</br></label> |
---|
| 227 | <textarea name="ameliorer" id="ameliorer" rows="5"> |
---|
| 228 | Améliorer ton site ?! |
---|
| 229 | Mais enfin ! Il est tellement génialissime qu'il n'est pasnécessaire de l'améliorer ! |
---|
| 230 | </textarea> |
---|
| 231 | </br> |
---|
| 232 | <label for="number">Give a number : </label><input type="number" id="number" name="number" min="0" max="100" step="10"/> |
---|
| 233 | </br> |
---|
| 234 | <label for="email">Give an email : </label><input type="email" id="email" name="email"/> |
---|
| 235 | </br> |
---|
| 236 | <label for="url">Give an url : </label><input type="url" id="url" name="url"/> |
---|
| 237 | </br> |
---|
| 238 | <label for="range">Give another number : </label><input type="range" id="range" name="range" min="0" max="20" step="5"/> |
---|
| 239 | </br> |
---|
| 240 | <label for="color">Give a color : </label><input type="color" id="color" name="color"/> |
---|
| 241 | </br> |
---|
| 242 | <label for="date">Give a date : </label><input type="date" id="date" name="date"/> |
---|
| 243 | </br> |
---|
| 244 | <label for="time">Give a time : </label><input type="time" id="time" name="time"/> |
---|
| 245 | </br> |
---|
| 246 | <label for="week">Give a week : </label><input type="week" id="week" name="week"/> |
---|
| 247 | </br> |
---|
| 248 | <label for="month">Give a month : </label><input type="month" id="month" name="month"/> |
---|
| 249 | </br> |
---|
| 250 | <label for="datetime">Give a date and time : </label><input type="datetime" id="datetime" name="datetime"/> |
---|
| 251 | </br> |
---|
| 252 | <label for="datetime-local">Give a local date and time : </label><input type="datetime-local" id="datetime-local" name="datetime-local"/> |
---|
| 253 | </br> |
---|
| 254 | <label for="search">Give something to search : </label><input type="search" id="search" name="search"/> |
---|
| 255 | </form> --> |
---|
| 256 | |
---|
| 257 | <!-- <form method="post" action="action.php"> |
---|
| 258 | <p> Cochez les aliments que vous aimez manger : |
---|
| 259 | <br/> |
---|
| 260 | <input type="checkbox" name="frites" id="frites"/><label for="frites">Frites</label> |
---|
| 261 | <br/> |
---|
| 262 | <input type="checkbox" name="steak" id="steak"/><label for="steak">Steak haché</label> |
---|
| 263 | <br/> |
---|
| 264 | <input type="checkbox" name="epinards" id="epinards"/><label for="epinards">Epinards</label> |
---|
| 265 | <br/> |
---|
| 266 | <input type="checkbox" name="huitres" id="huitres" checked/><label for="huitres">Huitres</label> |
---|
| 267 | </p> |
---|
| 268 | </form> --> |
---|
| 269 | |
---|
| 270 | <!-- <form method="post" action="action.php"> |
---|
| 271 | <p> Veuillez indiquer la tranche d'âge dans laquelle vous vous situez : |
---|
| 272 | <br/> |
---|
| 273 | <input type="radio" name="age" value="moins15" id="moins15"/><label for="moins15">Moins de 15 ans</label> |
---|
| 274 | <br/> |
---|
| 275 | <input type="radio" name="age" value="medium15-25" id="medium15-25"/><label for="medium15-25">15-25 ans</label> |
---|
| 276 | <br/> |
---|
| 277 | <input type="radio" name="age" value="medium25-40" id="medium25-40"/><label for="medium25-40">25-40 ans</label> |
---|
| 278 | <br/> |
---|
| 279 | <input type="radio" name="age" value="plus40" id="plus40"/><label for="plus40">Encore plus vieux que ça ?!</label> |
---|
| 280 | </p> |
---|
| 281 | <p> Sur quel continent habitez-vous ? |
---|
| 282 | <br/> |
---|
| 283 | <input type="radio" name="continent" value="europe" id="europe"/><label for="europe">Europe</label> |
---|
| 284 | <br/> |
---|
| 285 | <input type="radio" name="continent" value="afrique" id="afrique"/><label for="afrique">Afrique</label> |
---|
| 286 | <br/> |
---|
| 287 | <input type="radio" name="continent" value="asie" id="asie"/><label for="asie">Asie</label> |
---|
| 288 | <br/> |
---|
| 289 | <input type="radio" name="continent" value="amerique" id="amerique"/><label for="amerique">Amérique</label> |
---|
| 290 | <br/> |
---|
| 291 | <input type="radio" name="continent" value="australie" id="australie"/><label for="australie">Australie</label> |
---|
| 292 | </p> |
---|
| 293 | </form> --> |
---|
| 294 | |
---|
| 295 | <!-- <form method="post" action="action.php"> |
---|
| 296 | <p><label for="pays">Dans quel pays habitez-vous ?</label> |
---|
| 297 | <br/> |
---|
| 298 | <select name="pays" id="pays"> |
---|
| 299 | <optgroup label="Europe"> |
---|
| 300 | <option value="espagne">Espagne</option> |
---|
| 301 | <option value="france" selected>France</option> |
---|
| 302 | <option value="italie">Italie</option> |
---|
| 303 | <option value="royaume-uni">Royaume-Uni</option> |
---|
| 304 | </optgroup> |
---|
| 305 | <optgroup label="Amérique"> |
---|
| 306 | <option value="canada">Canada</option> |
---|
| 307 | <option value="etats-unis">Ãtats-Unis</option> |
---|
| 308 | </optgroup> |
---|
| 309 | <optgroup label="Asie"> |
---|
| 310 | <option value="chine">Chine</option> |
---|
| 311 | <option value="japon">Japon</option> |
---|
| 312 | </optgroup> |
---|
| 313 | </select> |
---|
| 314 | </p> |
---|
| 315 | </form> --> |
---|
| 316 | |
---|
| 317 | <!-- <form method="post" action="action.php"> |
---|
| 318 | <fieldset> |
---|
| 319 | <legend>Vos coordonnées</legend> |
---|
| 320 | <label for="nom">Quel est votre nom ?</label><input type="text" name="nom" id="nom" autofocus/> |
---|
| 321 | <label for="prenom">Quel est votre prénom ?</label><input type="text" name="prenom" id="prenom"/> |
---|
| 322 | <label for="email">Quel est votre e-mail ?</label><input type="email" name="email" id="email" required/> |
---|
| 323 | </fieldset> |
---|
| 324 | <fieldset> |
---|
| 325 | <legend>Votre souhait</legend> |
---|
| 326 | <p> Faites un souhait que vous voudriez voir exaucé : |
---|
| 327 | <input type="radio" name="souhait" value="riche" id="riche"/><label for="riche">Etre riche</label> |
---|
| 328 | <input type="radio" name="souhait" value="celebre" id="celebre"/><label for="celebre">Etre célÚbre</label> |
---|
| 329 | <input type="radio" name="souhait" value="intelligent" id="intelligent"/><label for="intelligent">Etre <strong>encore</strong> plus intelligent</label> |
---|
| 330 | <input type="radio" name="souhait" value="autre" id="autre"/><label for="autre">Autre...</label> |
---|
| 331 | </p> |
---|
| 332 | <p><label for="precisions">Si "Autre", veuillez préciser:</label> |
---|
| 333 | <textarea name="precisions" id="precisions" cols="40" rows="4"></textarea> |
---|
| 334 | </p> |
---|
| 335 | </fieldset> |
---|
| 336 | <fieldset> |
---|
| 337 | <input type="submit" value="Envoyer"/> |
---|
| 338 | </fieldset> |
---|
| 339 | </form> --> |
---|
| 340 | |
---|
| 341 | <!-- <div id="txtcont"></div> --> |
---|
| 342 | |
---|
| 343 | |
---|
| 344 | </section> |
---|
| 345 | <footer> |
---|
| 346 | <p>Copyright XIOS - Tous droits réservés |
---|
| 347 | <a href="mailto:xios-dev@forge.ipsl.jussieu.fr">Nous contacter !</a> |
---|
| 348 | </p> |
---|
| 349 | </footer> |
---|
| 350 | </body> |
---|
| 351 | </html> |
---|
| 352 | |
---|
| 353 | <script> |
---|
| 354 | function show_param_test_axis_algo() |
---|
| 355 | { |
---|
| 356 | var myWindow = window.open("test_axis_algo/user_params.def", "", "width=400,height=400,left=1500,top=400"); |
---|
| 357 | } |
---|
| 358 | function show_param_test_domain_algo() |
---|
| 359 | { |
---|
| 360 | var myWindow = window.open("test_domain_algo/user_params.def", "", "width=400,height=400,left=1500,top=400"); |
---|
| 361 | } |
---|
| 362 | function show_param_test_grid_algo() |
---|
| 363 | { |
---|
| 364 | var myWindow = window.open("test_grid_algo/user_params.def", "", "width=400,height=400,left=1500,top=400"); |
---|
| 365 | } |
---|
| 366 | function show_param_test_scalar_algo() |
---|
| 367 | { |
---|
| 368 | var myWindow = window.open("test_scalar_algo/user_params.def", "", "width=400,height=400,left=1500,top=400"); |
---|
| 369 | } |
---|
| 370 | function show_param_test_function() |
---|
| 371 | { |
---|
| 372 | var myWindow = window.open("test_function/user_params.def", "", "width=400,height=400,left=1500,top=400"); |
---|
| 373 | } |
---|
| 374 | |
---|
| 375 | |
---|
| 376 | |
---|
| 377 | |
---|
| 378 | |
---|
| 379 | function show_param_test_axis_algo_config(config_name) |
---|
| 380 | { |
---|
| 381 | var myWindow = window.open("test_axis_algo/"+config_name+"/setup/all_param.def", "", "width=400,height=400,left=1500,top=400"); |
---|
| 382 | } |
---|
| 383 | function show_param_test_domain_algo_config(config_name) |
---|
| 384 | { |
---|
| 385 | var myWindow = window.open("test_domain_algo/"+config_name+"/setup/all_param.def", "", "width=400,height=400,left=1500,top=400"); |
---|
| 386 | } |
---|
| 387 | function show_param_test_grid_algo_config(config_name) |
---|
| 388 | { |
---|
| 389 | var myWindow = window.open("test_grid_algo/"+config_name+"/setup/all_param.def", "", "width=400,height=400,left=1500,top=400"); |
---|
| 390 | } |
---|
| 391 | function show_param_test_scalar_algo_config(config_name) |
---|
| 392 | { |
---|
| 393 | var myWindow = window.open("test_scalar_algo/"+config_name+"/setup/all_param.def", "", "width=400,height=400,left=1500,top=400"); |
---|
| 394 | } |
---|
| 395 | function show_param_test_function_config(config_name) |
---|
| 396 | { |
---|
| 397 | var myWindow = window.open("test_function/"+config_name+"/setup/all_param.def", "", "width=400,height=400,left=1500,top=400"); |
---|
| 398 | } |
---|
| 399 | |
---|
| 400 | |
---|
| 401 | |
---|
| 402 | function show_user_param_test_axis_algo_config(config_name) |
---|
| 403 | { |
---|
| 404 | var myWindow = window.open("test_axis_algo/"+config_name+"/setup/user_param.def", "", "width=400,height=400,left=1500,top=400"); |
---|
| 405 | } |
---|
| 406 | function show_user_param_test_domain_algo_config(config_name) |
---|
| 407 | { |
---|
| 408 | var myWindow = window.open("test_domain_algo/"+config_name+"/setup/user_param.def", "", "width=400,height=400,left=1500,top=400"); |
---|
| 409 | } |
---|
| 410 | function show_user_param_test_grid_algo_config(config_name) |
---|
| 411 | { |
---|
| 412 | |
---|
| 413 | var myWindow = window.open("test_grid_algo/"+config_name+"/setup/user_param.def", "", "width=400,height=400,left=1500,top=400"); |
---|
| 414 | } |
---|
| 415 | function show_user_param_test_scalar_algo_config(config_name) |
---|
| 416 | { |
---|
| 417 | var myWindow = window.open("test_scalar_algo/"+config_name+"/setup/user_param.def", "", "width=400,height=400,left=1500,top=400"); |
---|
| 418 | } |
---|
| 419 | function show_user_param_test_function_config(config_name) |
---|
| 420 | { |
---|
| 421 | var myWindow = window.open("test_function/"+config_name+"/setup/user_param.def", "", "width=400,height=400,left=1500,top=400"); |
---|
| 422 | } |
---|
| 423 | </script> |
---|