X-Git-Url: https://adrianiainlam.tk/git/?a=blobdiff_plain;f=auto_tests%2Fmisc%2Flocal.html;h=38413726e1659bc1b7bd6c61e7f0d31fbafbdc88;hb=cd872296479aecce62b74c787dc778732070c498;hp=5bdf428386545129a19d07ed64d16a016d000984;hpb=0c393397e03e79578e65f0f1de4425d987fbda50;p=dygraphs.git diff --git a/auto_tests/misc/local.html b/auto_tests/misc/local.html index 5bdf428..3841372 100644 --- a/auto_tests/misc/local.html +++ b/auto_tests/misc/local.html @@ -8,49 +8,101 @@ - + - - - + + + + + - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + - - - - - - - - - - + + + - + @@ -148,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);