Bug 621384 - SimpleTest.showReport(): add a separator from the test content; (Av1) Add |addNode(HR());|.
authorSerge Gautherie <sgautherie.bz@free.fr>
Tue, 04 Jan 2011 16:26:06 +0100
changeset 34855 bc1583167b7992bed894894c0c9e32c81fffd7a6
parent 34854 46be5664a0b4c8e48015efdc14d36c2c6acf3abc
child 34856 c5b805f21466dfdfde8642bf85d27267f087f7fd
push id1759
push usersgautherie.bz@free.fr
push dateTue, 04 Jan 2011 15:26:37 +0000
bugs621384
milestone1.9.2.14pre
Bug 621384 - SimpleTest.showReport(): add a separator from the test content; (Av1) Add |addNode(HR());|. r=rcampbell a=(test only).
testing/mochitest/tests/SimpleTest/SimpleTest.js
--- a/testing/mochitest/tests/SimpleTest/SimpleTest.js
+++ b/testing/mochitest/tests/SimpleTest/SimpleTest.js
@@ -200,16 +200,18 @@ SimpleTest.showReport = function() {
         };
     }
     addNode(togglePassed);
     addNode(SPAN(null, " "));
     addNode(toggleFailed);
     addNode(SPAN(null, " "));
     addNode(toggleTodo);
     addNode(SimpleTest.report());
+    // Add a separator from the test content.
+    addNode(HR());
 };
 
 /**
  * Tells SimpleTest to don't finish the test when the document is loaded,
  * useful for asynchronous tests.
  *
  * When SimpleTest.waitForExplicitFinish is called,
  * explicit SimpleTest.finish() is required.