[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> |
---|
[1776] | 7 | <script src="https://ajax.googleapis.com/ajax/libs/jquery/3.2.1/jquery.min.js"></script> |
---|
[1775] | 8 | <!-- <link href="https://maxcdn.bootstrapcdn.com/font-awesome/4.7.0/css/font-awesome.min.css" rel="stylesheet"/> --> |
---|
| 9 | <!-- <script> |
---|
[1771] | 10 | $(document).ready(function() |
---|
| 11 | { |
---|
| 12 | $('#content').load("xios_table.html"); |
---|
| 13 | $('#content2').load("xios_table2.html"); |
---|
| 14 | $('#txtcont').load("report.html"); |
---|
| 15 | }); |
---|
[1775] | 16 | </script> --> |
---|
[1771] | 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 | |
---|
[1776] | 27 | function level1_unfold(my_revision) { |
---|
| 28 | var ans = document.getElementById('xiostable_'+my_revision).getElementsByClassName('level2') |
---|
[1771] | 29 | for (var i = 0; i < ans.length; i++) { |
---|
| 30 | var cell = ans[i] |
---|
| 31 | cell.style.display = 'table-row'; |
---|
[1776] | 32 | document.getElementById(my_revision+"_icon_level1_1").style.display='none'; |
---|
| 33 | document.getElementById(my_revision+"_icon_level1_2").style.display='inline'; |
---|
[1771] | 34 | } |
---|
| 35 | } |
---|
| 36 | |
---|
[1776] | 37 | |
---|
| 38 | |
---|
| 39 | // function level1_unfold() { |
---|
| 40 | // var ans = document.getElementsByClassName('level2') |
---|
| 41 | // for (var i = 0; i < ans.length; i++) { |
---|
| 42 | // var cell = ans[i] |
---|
| 43 | // cell.style.display = 'table-row'; |
---|
| 44 | // document.getElementById("icon_level1_1").style.display='none'; |
---|
| 45 | // document.getElementById("icon_level1_2").style.display='inline'; |
---|
| 46 | // } |
---|
| 47 | // } |
---|
| 48 | |
---|
| 49 | function level1_fold(my_revision) { |
---|
| 50 | var ans = document.getElementById('xiostable_'+my_revision).getElementsByClassName('level2') |
---|
[1771] | 51 | for (var i = 0; i < ans.length; i++) { |
---|
| 52 | var cell = ans[i] |
---|
| 53 | cell.style.display = 'none'; |
---|
[1776] | 54 | document.getElementById(my_revision+"_icon_level1_2").style.display='none'; |
---|
| 55 | document.getElementById(my_revision+"_icon_level1_1").style.display='inline'; |
---|
[1771] | 56 | algoType = cell.getAttribute("data-algo-type"); |
---|
[1776] | 57 | level2_fold(my_revision, algoType) |
---|
[1771] | 58 | } |
---|
| 59 | } |
---|
| 60 | |
---|
[1776] | 61 | // function level1_fold() { |
---|
| 62 | // var ans = document.getElementsByClassName('level2') |
---|
| 63 | // for (var i = 0; i < ans.length; i++) { |
---|
| 64 | // var cell = ans[i] |
---|
| 65 | // cell.style.display = 'none'; |
---|
| 66 | // document.getElementById("icon_level1_2").style.display='none'; |
---|
| 67 | // document.getElementById("icon_level1_1").style.display='inline'; |
---|
| 68 | // algoType = cell.getAttribute("data-algo-type"); |
---|
| 69 | // level2_fold(algoType) |
---|
| 70 | // } |
---|
| 71 | // } |
---|
[1771] | 72 | |
---|
[1776] | 73 | function level2_unfold(my_revision, algo_name) { |
---|
| 74 | var ans = document.getElementById('xiostable_'+my_revision).getElementsByClassName('level3_'+algo_name) |
---|
[1771] | 75 | for (var i = 0; i < ans.length; i++) { |
---|
| 76 | var cell = ans[i] |
---|
| 77 | cell.style.display = 'table-row'; |
---|
[1776] | 78 | document.getElementById(my_revision+"_icon_level2_"+algo_name+"_1").style.display='none'; |
---|
| 79 | document.getElementById(my_revision+"_icon_level2_"+algo_name+"_2").style.display='inline'; |
---|
[1771] | 80 | } |
---|
| 81 | |
---|
| 82 | } |
---|
| 83 | |
---|
[1776] | 84 | function level2_fold(my_revision, algo_name) { |
---|
| 85 | var ans = document.getElementById('xiostable_'+my_revision).getElementsByClassName('level3_'+algo_name) |
---|
[1771] | 86 | for (var i = 0; i < ans.length; i++) { |
---|
| 87 | var cell = ans[i] |
---|
| 88 | cell.style.display = 'none'; |
---|
[1776] | 89 | document.getElementById(my_revision+"_icon_level2_"+algo_name+"_2").style.display='none'; |
---|
| 90 | document.getElementById(my_revision+"_icon_level2_"+algo_name+"_1").style.display='inline'; |
---|
[1771] | 91 | algoconfigType = cell.getAttribute("data-algoconfig-type"); |
---|
[1776] | 92 | level3_fold(my_revision, algoconfigType) |
---|
[1771] | 93 | } |
---|
| 94 | |
---|
| 95 | } |
---|
| 96 | |
---|
| 97 | |
---|
[1776] | 98 | // function level2_unfold(algo_name) { |
---|
| 99 | // var ans = document.getElementsByClassName('level3_'+algo_name) |
---|
| 100 | // for (var i = 0; i < ans.length; i++) { |
---|
| 101 | // var cell = ans[i] |
---|
| 102 | // cell.style.display = 'table-row'; |
---|
| 103 | // document.getElementById("icon_level2_"+algo_name+"_1").style.display='none'; |
---|
| 104 | // document.getElementById("icon_level2_"+algo_name+"_2").style.display='inline'; |
---|
| 105 | // } |
---|
| 106 | |
---|
| 107 | // } |
---|
[1771] | 108 | |
---|
[1776] | 109 | // function level2_fold(algo_name) { |
---|
| 110 | // var ans = document.getElementsByClassName('level3_'+algo_name) |
---|
| 111 | // for (var i = 0; i < ans.length; i++) { |
---|
| 112 | // var cell = ans[i] |
---|
| 113 | // cell.style.display = 'none'; |
---|
| 114 | // document.getElementById("icon_level2_"+algo_name+"_2").style.display='none'; |
---|
| 115 | // document.getElementById("icon_level2_"+algo_name+"_1").style.display='inline'; |
---|
| 116 | // algoconfigType = cell.getAttribute("data-algoconfig-type"); |
---|
| 117 | // level3_fold(algoconfigType) |
---|
| 118 | // } |
---|
| 119 | |
---|
| 120 | // } |
---|
| 121 | |
---|
| 122 | |
---|
| 123 | function level3_unfold(my_revision, algo_config_name) { |
---|
| 124 | var ans = document.getElementById('xiostable_'+my_revision).getElementsByClassName('level4_'+algo_config_name) |
---|
[1771] | 125 | for (var i = 0; i < ans.length; i++) { |
---|
| 126 | var cell = ans[i] |
---|
| 127 | cell.style.display = 'table-row'; |
---|
[1776] | 128 | document.getElementById(my_revision+"_icon_level3_"+algo_config_name+"_1").style.display='none'; |
---|
| 129 | document.getElementById(my_revision+"_icon_level3_"+algo_config_name+"_2").style.display='inline'; |
---|
[1771] | 130 | } |
---|
| 131 | } |
---|
| 132 | |
---|
[1776] | 133 | function level3_fold(my_revision, algo_config_name) { |
---|
| 134 | var ans = document.getElementById('xiostable_'+my_revision).getElementsByClassName('level4_'+algo_config_name) |
---|
[1771] | 135 | for (var i = 0; i < ans.length; i++) { |
---|
| 136 | var cell = ans[i] |
---|
| 137 | cell.style.display = 'none'; |
---|
[1776] | 138 | document.getElementById(my_revision+"_icon_level3_"+algo_config_name+"_2").style.display='none'; |
---|
| 139 | document.getElementById(my_revision+"_icon_level3_"+algo_config_name+"_1").style.display='inline'; |
---|
[1771] | 140 | } |
---|
| 141 | } |
---|
[1776] | 142 | |
---|
| 143 | |
---|
| 144 | |
---|
| 145 | // function level3_unfold(algo_config_name) { |
---|
| 146 | // var ans = document.getElementsByClassName('level4_'+algo_config_name) |
---|
| 147 | // for (var i = 0; i < ans.length; i++) { |
---|
| 148 | // var cell = ans[i] |
---|
| 149 | // cell.style.display = 'table-row'; |
---|
| 150 | // document.getElementById("icon_level3_"+algo_config_name+"_1").style.display='none'; |
---|
| 151 | // document.getElementById("icon_level3_"+algo_config_name+"_2").style.display='inline'; |
---|
| 152 | // } |
---|
| 153 | // } |
---|
| 154 | |
---|
| 155 | // function level3_fold(algo_config_name) { |
---|
| 156 | // var ans = document.getElementsByClassName('level4_'+algo_config_name) |
---|
| 157 | // for (var i = 0; i < ans.length; i++) { |
---|
| 158 | // var cell = ans[i] |
---|
| 159 | // cell.style.display = 'none'; |
---|
| 160 | // document.getElementById("icon_level3_"+algo_config_name+"_2").style.display='none'; |
---|
| 161 | // document.getElementById("icon_level3_"+algo_config_name+"_1").style.display='inline'; |
---|
| 162 | // } |
---|
| 163 | // } |
---|
| 164 | |
---|
| 165 | |
---|
[1771] | 166 | </script> |
---|
| 167 | |
---|
| 168 | |
---|
| 169 | </head> |
---|
| 170 | <body> |
---|
| 171 | <header> |
---|
| 172 | <h1>XIOS Unit Tests Report Web Page</h1> |
---|
| 173 | <h2>(still under construction ... ...)</h2> |
---|
| 174 | </header> |
---|
| 175 | <nav> |
---|
| 176 | <div id="navborder"> |
---|
| 177 | <p id="xiosinfo">Some useful links:</p> |
---|
| 178 | <ul> |
---|
| 179 | <li><a href="https://forge.ipsl.jussieu.fr/ioserver/wiki" target="_blank">XIOS wiki page</a></li> |
---|
| 180 | <li><a href="graph.html" target="_blank">Workflow Graph</a></li> |
---|
[1776] | 181 | <!-- <li><a href="plein_report.txt" target="_blank">Plein Text Report</a>(0:initialized 1:passed -1:failed)</li> --> |
---|
[1771] | 182 | </ul> |
---|
| 183 | </div> |
---|
| 184 | |
---|
[1776] | 185 | |
---|
[1771] | 186 | </nav> |
---|
| 187 | <section> |
---|
[1775] | 188 | <!-- <h3 style="margin-left:25px;">If your FireFox browser does not show the result table, try the following steps:</h3> |
---|
[1771] | 189 | <ol> |
---|
| 190 | <li>open <text style="font-weight: bold;">about:config</text> in the browser.</li> |
---|
| 191 | <li>Search <text style="font-weight: bold;">security.fileuri.strict_origin_policy</text>.</li> |
---|
| 192 | <li>Change the value to <text style="font-weight: bold;">false</text>.</li> |
---|
[1775] | 193 | </ol> --> |
---|
[1771] | 194 | |
---|
| 195 | <h2>Results of unit tests</h2> |
---|
| 196 | |
---|
| 197 | |
---|
| 198 | |
---|
[1776] | 199 | |
---|
[1775] | 200 | <!-- <div id="content"></div> --> |
---|
[1776] | 201 | <form method="post" style="margin-left: 25px;"> |
---|
| 202 | <p><label for="revision">Revision : </label> |
---|
| 203 | <select name="revision" id="revision"> |
---|
| 204 | <option value="0" selected>All revisions ...</option> |
---|
| 205 | <script src="xios_src_2.js"></script> |
---|
| 206 | <!-- <option value="1775">1775</option> |
---|
| 207 | <option value="1774">1774</option> |
---|
| 208 | <option value="1773">1773</option> --> |
---|
| 209 | </select> |
---|
[1771] | 210 | </p> |
---|
[1776] | 211 | </form> |
---|
[1771] | 212 | |
---|
[1776] | 213 | <ul><li>❌ : Failed</li><li>❎ : Initialized</li><li>✅ : Passed</li></ul> |
---|
[1771] | 214 | |
---|
[1776] | 215 | <script src="xios_src_1.js"></script> |
---|
| 216 | <!-- <script src="xios_table_1775.js"></script> |
---|
| 217 | <script src="xios_table_1774.js"></script> |
---|
| 218 | <script src="xios_table_1773.js"></script> --> |
---|
| 219 | |
---|
| 220 | |
---|
[1771] | 221 | |
---|
| 222 | |
---|
| 223 | </section> |
---|
| 224 | <footer> |
---|
| 225 | <p>Copyright XIOS - Tous droits réservés |
---|
| 226 | <a href="mailto:xios-dev@forge.ipsl.jussieu.fr">Nous contacter !</a> |
---|
| 227 | </p> |
---|
| 228 | </footer> |
---|
| 229 | </body> |
---|
| 230 | </html> |
---|
| 231 | |
---|
| 232 | <script> |
---|
[1776] | 233 | function show_param_test_axis_algo(my_revision) |
---|
[1771] | 234 | { |
---|
[1776] | 235 | var myWindow = window.open("../"+my_revision+"/GENERIC_TESTCASE/test_axis_algo/user_params.def", "", "width=400,height=400,left=1500,top=400"); |
---|
[1771] | 236 | } |
---|
[1776] | 237 | function show_param_test_domain_algo(my_revision) |
---|
[1771] | 238 | { |
---|
[1776] | 239 | var myWindow = window.open("../"+my_revision+"/GENERIC_TESTCASE/test_domain_algo/user_params.def", "", "width=400,height=400,left=1500,top=400"); |
---|
[1771] | 240 | } |
---|
[1776] | 241 | function show_param_test_grid_algo(my_revision) |
---|
[1771] | 242 | { |
---|
[1776] | 243 | var myWindow = window.open("../"+my_revision+"/GENERIC_TESTCASE/test_grid_algo/user_params.def", "", "width=400,height=400,left=1500,top=400"); |
---|
[1771] | 244 | } |
---|
[1776] | 245 | function show_param_test_scalar_algo(my_revision) |
---|
[1771] | 246 | { |
---|
[1776] | 247 | var myWindow = window.open("../"+my_revision+"/GENERIC_TESTCASE/test_scalar_algo/user_params.def", "", "width=400,height=400,left=1500,top=400"); |
---|
[1771] | 248 | } |
---|
[1776] | 249 | function show_param_test_function(my_revision) |
---|
[1771] | 250 | { |
---|
[1776] | 251 | var myWindow = window.open("../"+my_revision+"/GENERIC_TESTCASE/test_function/user_params.def", "", "width=400,height=400,left=1500,top=400"); |
---|
[1771] | 252 | } |
---|
| 253 | |
---|
| 254 | |
---|
| 255 | |
---|
| 256 | |
---|
| 257 | |
---|
[1776] | 258 | function show_param_test_axis_algo_config(my_revision, config_name) |
---|
[1771] | 259 | { |
---|
[1776] | 260 | var myWindow = window.open("../"+my_revision+"/GENERIC_TESTCASE/test_axis_algo/"+config_name+"/setup/all_param.def", "", "width=400,height=400,left=1500,top=400"); |
---|
[1771] | 261 | } |
---|
[1776] | 262 | function show_param_test_domain_algo_config(my_revision, config_name) |
---|
[1771] | 263 | { |
---|
[1776] | 264 | var myWindow = window.open("../"+my_revision+"/GENERIC_TESTCASE/test_domain_algo/"+config_name+"/setup/all_param.def", "", "width=400,height=400,left=1500,top=400"); |
---|
[1771] | 265 | } |
---|
[1776] | 266 | function show_param_test_grid_algo_config(my_revision, config_name) |
---|
[1771] | 267 | { |
---|
[1776] | 268 | var myWindow = window.open("../"+my_revision+"/GENERIC_TESTCASE/test_grid_algo/"+config_name+"/setup/all_param.def", "", "width=400,height=400,left=1500,top=400"); |
---|
[1771] | 269 | } |
---|
[1776] | 270 | function show_param_test_scalar_algo_config(my_revision, config_name) |
---|
[1771] | 271 | { |
---|
[1776] | 272 | var myWindow = window.open("../"+my_revision+"/GENERIC_TESTCASE/test_scalar_algo/"+config_name+"/setup/all_param.def", "", "width=400,height=400,left=1500,top=400"); |
---|
[1771] | 273 | } |
---|
[1776] | 274 | function show_param_test_function_config(my_revision, config_name) |
---|
[1771] | 275 | { |
---|
[1776] | 276 | var myWindow = window.open("../"+my_revision+"/GENERIC_TESTCASE/test_function/"+config_name+"/setup/all_param.def", "", "width=400,height=400,left=1500,top=400"); |
---|
[1771] | 277 | } |
---|
| 278 | |
---|
| 279 | |
---|
| 280 | |
---|
[1776] | 281 | function show_user_param_test_axis_algo_config(my_revision, config_name) |
---|
[1771] | 282 | { |
---|
[1776] | 283 | var myWindow = window.open("../"+my_revision+"/GENERIC_TESTCASE/test_axis_algo/"+config_name+"/setup/user_param.def", "", "width=400,height=400,left=1500,top=400"); |
---|
[1771] | 284 | } |
---|
[1776] | 285 | function show_user_param_test_domain_algo_config(my_revision, config_name) |
---|
[1771] | 286 | { |
---|
[1776] | 287 | var myWindow = window.open("../"+my_revision+"/GENERIC_TESTCASE/test_domain_algo/"+config_name+"/setup/user_param.def", "", "width=400,height=400,left=1500,top=400"); |
---|
[1771] | 288 | } |
---|
[1776] | 289 | function show_user_param_test_grid_algo_config(my_revision, config_name) |
---|
[1771] | 290 | { |
---|
| 291 | |
---|
[1776] | 292 | var myWindow = window.open("../"+my_revision+"/GENERIC_TESTCASE/test_grid_algo/"+config_name+"/setup/user_param.def", "", "width=400,height=400,left=1500,top=400"); |
---|
[1771] | 293 | } |
---|
[1776] | 294 | function show_user_param_test_scalar_algo_config(my_revision, config_name) |
---|
[1771] | 295 | { |
---|
[1776] | 296 | var myWindow = window.open("../"+my_revision+"/GENERIC_TESTCASE/test_scalar_algo/"+config_name+"/setup/user_param.def", "", "width=400,height=400,left=1500,top=400"); |
---|
[1771] | 297 | } |
---|
[1776] | 298 | function show_user_param_test_function_config(my_revision, config_name) |
---|
[1771] | 299 | { |
---|
[1776] | 300 | var myWindow = window.open("../"+my_revision+"/GENERIC_TESTCASE/test_function/"+config_name+"/setup/user_param.def", "", "width=400,height=400,left=1500,top=400"); |
---|
[1771] | 301 | } |
---|
[1776] | 302 | |
---|
| 303 | function show_xios_info(my_revision) |
---|
| 304 | { |
---|
| 305 | ans = document.getElementById('navborder_'+my_revision) |
---|
| 306 | if(ans.classList.contains('hide')) |
---|
| 307 | { |
---|
| 308 | ans.classList.remove('hide') |
---|
| 309 | ans.classList.add('show') |
---|
| 310 | } |
---|
| 311 | else if(ans.classList.contains('show')) |
---|
| 312 | { |
---|
| 313 | ans.classList.remove('show') |
---|
| 314 | ans.classList.add('hide') |
---|
| 315 | } |
---|
| 316 | else |
---|
| 317 | { |
---|
| 318 | ans.classList.add('show') |
---|
| 319 | } |
---|
| 320 | } |
---|
| 321 | |
---|
| 322 | function show_plein_report(my_revision) |
---|
| 323 | { |
---|
| 324 | var myWindow = window.open("plein_report_"+my_revision+".txt", "_blank"); |
---|
| 325 | } |
---|
[1771] | 326 | </script> |
---|
[1776] | 327 | |
---|
| 328 | |
---|
| 329 | <script> |
---|
| 330 | $("#revision").change(function() { |
---|
| 331 | |
---|
| 332 | if(this.value == 0) |
---|
| 333 | { |
---|
| 334 | var ans = document.getElementsByClassName('class_xiostable') |
---|
| 335 | for (var i = 0; i < ans.length; i++) |
---|
| 336 | { |
---|
| 337 | cell = ans[i] |
---|
| 338 | cell.classList.remove('hide') |
---|
| 339 | cell.classList.add('show') |
---|
| 340 | } |
---|
| 341 | |
---|
| 342 | // var ans = document.getElementsByClassName('class_navborder') |
---|
| 343 | // for (var i = 0; i < ans.length; i++) |
---|
| 344 | // { |
---|
| 345 | // cell = ans[i] |
---|
| 346 | // cell.classList.remove('show') |
---|
| 347 | // cell.classList.add('hide') |
---|
| 348 | // } |
---|
| 349 | } |
---|
| 350 | |
---|
| 351 | else |
---|
| 352 | { |
---|
| 353 | var ans = document.getElementsByClassName('class_xiostable') |
---|
| 354 | for (var i = 0; i < ans.length; i++) |
---|
| 355 | { |
---|
| 356 | cell = ans[i] |
---|
| 357 | cell.classList.remove('show') |
---|
| 358 | cell.classList.add('hide') |
---|
| 359 | } |
---|
| 360 | |
---|
| 361 | // var ans = document.getElementsByClassName('class_navborder') |
---|
| 362 | // for (var i = 0; i < ans.length; i++) |
---|
| 363 | // { |
---|
| 364 | // cell = ans[i] |
---|
| 365 | // cell.classList.remove('show') |
---|
| 366 | // cell.classList.add('hide') |
---|
| 367 | // } |
---|
| 368 | |
---|
| 369 | var ans = document.getElementById('xiostable_'+this.value) |
---|
| 370 | ans.classList.remove('hide') |
---|
| 371 | ans.classList.add('show') |
---|
| 372 | |
---|
| 373 | // ans = document.getElementById('navborder_'+this.value) |
---|
| 374 | // ans.classList.remove('hide') |
---|
| 375 | // ans.classList.add('show') |
---|
| 376 | } |
---|
| 377 | }); |
---|
| 378 | |
---|
| 379 | </script> |
---|