X-Git-Url: https://adrianiainlam.tk/git/?a=blobdiff_plain;f=auto_tests%2Fmisc%2Flocal.html;h=5325d6b91213290fa0b8980b34ece9fff6cbeb99;hb=d89973c0db331c81b4b8019d59fd0aefc5e90871;hp=a7efaf62a6bf6efdc7f72feec6ff5d0095c76535;hpb=3d8093fa2d6b9db4991204ac6a066f4eb424e3d6;p=dygraphs.git diff --git a/auto_tests/misc/local.html b/auto_tests/misc/local.html index a7efaf6..5325d6b 100644 --- a/auto_tests/misc/local.html +++ b/auto_tests/misc/local.html @@ -8,42 +8,69 @@ - + - - - + + + + - - + + + + + + + + + + + + + + + + + + + + + + - - - - - - - - - - - + + - + @@ -151,14 +240,15 @@ if (selector != null) { // running a test var list = createAttached("ul", selector); var parent = list.parentElement; var createLink = function(parent, text, url) { - var li = createAttached("li", parent); - var a = createAttached("a", li); - a.innerText = text; - a.href = url; + var li = createAttached("li", parent); + var a = createAttached("a", li); + a.innerHTML = text; + a.href = url; } if (tc == null) { description.innerHTML = "Test cases:"; var testCases = getAllTestCases(); + createLink(list, "(run all tests)", document.URL + "?command=runAllTests"); for (var idx in testCases) { var entryName = testCases[idx].name; createLink(list, entryName, document.URL + "?testCaseName=" + entryName);