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:20:18 +0100
changeset 59834 567a526e73cfb2c4bc706ecf554e930a6a144466
parent 59833 66096f8678496b69c17de6792501accac9279e24
child 59835 9271e1788c2edef9220774d1f81c7512ac56399d
push id17808
push usersgautherie.bz@free.fr
push dateTue, 04 Jan 2011 15:21:16 +0000
treeherdermozilla-central@567a526e73cf [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
bugs621384
milestone2.0b9pre
first release with
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
last release without
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
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
@@ -253,16 +253,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 harness not to finish the test automatically.
  * Asynchronous tests must call this function.
  *
  * After this function has been called,
  * an explicit call to SimpleTest.finish is required to finish the test.