X-Git-Url: https://adrianiainlam.tk/git/?a=blobdiff_plain;f=auto_tests%2Fmisc%2Flocal.html;h=38413726e1659bc1b7bd6c61e7f0d31fbafbdc88;hb=cd872296479aecce62b74c787dc778732070c498;hp=616f59e866c896e4c5db7a828a802b46ce56a3ea;hpb=36d4fabf9450c8bbada738fb7820c723a0b939fa;p=dygraphs.git diff --git a/auto_tests/misc/local.html b/auto_tests/misc/local.html index 616f59e..3841372 100644 --- a/auto_tests/misc/local.html +++ b/auto_tests/misc/local.html @@ -8,50 +8,101 @@ - + - - - + + + + + - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + - - - - - - - - - - - + + + - + @@ -149,14 +262,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);