diff options
Diffstat (limited to 'share/www')
-rw-r--r-- | share/www/custom_test.html | 10 |
1 files changed, 8 insertions, 2 deletions
diff --git a/share/www/custom_test.html b/share/www/custom_test.html index 4515ca0f..742da7d7 100644 --- a/share/www/custom_test.html +++ b/share/www/custom_test.html @@ -15,7 +15,7 @@ specific language governing permissions and limitations under the License. --> <html lang="en"> <head> - <title>New Test</title> + <title>Custom Test</title> <meta http-equiv="Content-Type" content="text/html;charset=utf-8"> <link rel="stylesheet" href="style/layout.css?0.9.0" type="text/css"> <script src="script/json2.js"></script> @@ -23,9 +23,15 @@ specific language governing permissions and limitations under the License. <script src="script/jquery.cookies.js?0.9.0"></script> <script src="script/jquery.couch.js?0.9.0"></script> <script src="script/couch.js?0.9.0"></script> - <script src="script/couch_test_runner.js?0.9.0"></script> <script src="script/futon.js?0.9.0"></script> <script> + function T(arg, desc) { + if(!arg) { + mesg = "Assertion failed" + (desc ? ": " + desc : ""); + throw new Error(mesg); + } + } + $(function() { $("#status").removeClass("failure").removeClass("success"); $("#viewcode button.run").click(function() { |