function runTests() {
  chrome.test.runTests([
    // Verify that if no window is opened, then the request will let users abort
    // the operation via notification.
    function unresponsiveWithoutUI() {
      chrome.fileManagerPrivate.configureVolume(test_util.volumeId,
          chrome.test.callbackFail('Failed to complete configuration.',
              function() {}));
    },

    // Verify that if a window is opened, then the request will not invoke
    // a notification.
    function unresponsiveWindow() {
      chrome.app.window.create(
          'stub.html',
          {},
          chrome.test.callbackPass(function(appWindow) {
            chrome.fileManagerPrivate.configureVolume(test_util.volumeId,
                chrome.test.callbackPass(function() {}))
          }));
    }

  ]);
}
/**
 * Runs all of the test cases, one by one.
 */
Runs all of the test cases, one by one.
Runs all of the test cases one by one .
function runTests() {
  chrome.test.runTests([
    function unresponsiveWithoutUI() {
      chrome.fileManagerPrivate.configureVolume(test_util.volumeId,
          chrome.test.callbackFail('Failed to complete configuration.',
              function() {}));
    },
    function unresponsiveWindow() {
      chrome.app.window.create(
          'stub.html',
          {},
          chrome.test.callbackPass(function(appWindow) {
            chrome.fileManagerPrivate.configureVolume(test_util.volumeId,
                chrome.test.callbackPass(function() {}))
          }));
    }
  ]);
}
function runTests ( ) { chrome . test . runTests ( [ function unresponsiveWithoutUI ( ) { chrome . fileManagerPrivate . configureVolume ( test_util . volumeId , chrome . test . callbackFail ( 'Failed to complete configuration.' , function ( ) { } ) ) ; } , function unresponsiveWindow ( ) { chrome . app . window . create ( 'stub.html' , { } , chrome . test . callbackPass ( function ( appWindow ) { chrome . fileManagerPrivate . configureVolume ( test_util . volumeId , chrome . test . callbackPass ( function ( ) { } ) ) } ) ) ; } ] ) ; }
Runs all of the test cases, one by one.
Runs all of the test cases one by one .
// Verify that if no window is opened, then the request will let users abort // the operation via notification. // Verify that if a window is opened, then the request will not invoke // a notification.