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