B2G/gecko/toolkit/mozapps/update/test/chrome/utils.js
/**
 * Default test run function that can be used by most tests. This function uses
 * protective measures to prevent the test from failing provided by
 * |runTestDefaultWaitForWindowClosed| helper functions to prevent failure due
 * to a previous test failure.
 */
Default test run function that can be used by most tests. This function uses
protective measures to prevent the test from failing provided by
|runTestDefaultWaitForWindowClosed| helper functions to prevent failure due
to a previous test failure.
Default test run function that can be used by most tests . This function uses protective measures to prevent the test from failing provided by |runTestDefaultWaitForWindowClosed| helper functions to prevent failure due to a previous test failure .
function runTestDefault() {
  debugDump("entering");
  if (!("@mozilla.org/zipwriter;1" in AUS_Cc)) {
    ok(false, "nsIZipWriter is required to run these tests");
    return;
  }
  SimpleTest.waitForExplicitFinish();
  runTestDefaultWaitForWindowClosed();
}
function runTestDefault ( ) { debugDump ( "entering" ) ; if ( ! ( "@mozilla.org/zipwriter;1" in AUS_Cc ) ) { ok ( false , "nsIZipWriter is required to run these tests" ) ; return ; } SimpleTest . waitForExplicitFinish ( ) ; runTestDefaultWaitForWindowClosed ( ) ; }
Default test run function that can be used by most tests.
Default test run function that can be used by most tests .