Author: ygrego Date: 2015-04-01 15:36:49 +0000 (Wed, 01 Apr 2015) New Revision: 1029 Url: http://forge.nuiton.org/projects/sandbox/repository/revisions/1029 Log: The method "displayInLineArray" has been modified in order to column "Launching" be the first one when "test.html" will display. Modified: oipf/js/test/Test.js Modified: oipf/js/test/Test.js =================================================================== --- oipf/js/test/Test.js 2015-04-01 15:28:17 UTC (rev 1028) +++ oipf/js/test/Test.js 2015-04-01 15:36:49 UTC (rev 1029) @@ -367,25 +367,25 @@ content += "<tbody>"; content += "<thead>"; content += "<tr>"; + content += "<th>Lauching</th>"; content += "<th>Tested Method</th>"; content += "<th>Label</th>"; content += "<th>Test duration</th>"; content += "<th>Result</th>"; - content += "<th>Lauching</th>"; content += "</tr>"; content += "</thead>"; - + var currentObject = testsObjects[i]; var tests = currentObject["tests"]; for (var j = 0; j < tests.length; j++) { var currentTest = tests[j]; content += "<tr id='" + currentTest["method"] + "'>"; + content += "<td><button id='" + currentTest["method"] + "Btn" + "'>Run</button></td>"; content += "<td>" + currentTest["method"] + "</td>"; content += "<td>" + currentTest["label"] + "</td>"; content += "<td id='" + currentTest["method"] + "Duration'>None</td>"; content += "<td id='" + currentTest["method"] + "Result'>None</td>"; - content += "<td><button id='" + currentTest["method"] + "Btn" + "'>Run</button></td>"; content += "</tr>"; } content += "</tbody>";
participants (1)
-
ygregoï¼ users.nuiton.org