X-Git-Url: https://adrianiainlam.tk/git/?a=blobdiff_plain;f=auto_tests%2Fmisc%2Flocal.html;h=de1d483a69394007a2cef06c3ca1eddefedd70f2;hb=595f2ebac39ab298a17f3dffa37c47769dd811cc;hp=a7efaf62a6bf6efdc7f72feec6ff5d0095c76535;hpb=3d8093fa2d6b9db4991204ac6a066f4eb424e3d6;p=dygraphs.git diff --git a/auto_tests/misc/local.html b/auto_tests/misc/local.html index a7efaf6..de1d483 100644 --- a/auto_tests/misc/local.html +++ b/auto_tests/misc/local.html @@ -8,42 +8,92 @@ - + - - - + + + + + - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + - - - - - - - - - - - + + + - + @@ -151,14 +263,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);