function executeListener(id, details) {
  if (id == 'ReadWrite') {
    var fileEntries = details.entries;
    if (!fileEntries || fileEntries.length != 1) {
      chrome.test.notifyFail('Unexpected file entries size.');
      return;
    }

    var entry = fileEntries[0];

    // Run tests for read-write handler.
    chrome.test.runTests([
        function readReadWrite() {
          readTest(entry, true);
        },
        function getSilblingReadWrite() {
          getSiblingTest(entry);
        },
        function writeReadWrite() {
          writeTest(entry, true);
        },
    ]);
  } else if (id != 'ReadOnly') {
    chrome.test.notifyFail('Unexpected action id: ' + id);
    return;
  }
}
/**
 * Listens for onExecute events, and runs tests once the event for 'ReadWrite'
 * handler is received.
 */
Listens for onExecute events, and runs tests once the event for 'ReadWrite'
handler is received.
Listens for onExecute events and runs tests once the event for ' ReadWrite ' handler is received .
function executeListener(id, details) {
  if (id == 'ReadWrite') {
    var fileEntries = details.entries;
    if (!fileEntries || fileEntries.length != 1) {
      chrome.test.notifyFail('Unexpected file entries size.');
      return;
    }
    var entry = fileEntries[0];
    chrome.test.runTests([
        function readReadWrite() {
          readTest(entry, true);
        },
        function getSilblingReadWrite() {
          getSiblingTest(entry);
        },
        function writeReadWrite() {
          writeTest(entry, true);
        },
    ]);
  } else if (id != 'ReadOnly') {
    chrome.test.notifyFail('Unexpected action id: ' + id);
    return;
  }
}
function executeListener ( id , details ) { if ( id == 'ReadWrite' ) { var fileEntries = details . entries ; if ( ! fileEntries || fileEntries . length != 1 ) { chrome . test . notifyFail ( 'Unexpected file entries size.' ) ; return ; } var entry = fileEntries [ 0 ] ; chrome . test . runTests ( [ function readReadWrite ( ) { readTest ( entry , true ) ; } , function getSilblingReadWrite ( ) { getSiblingTest ( entry ) ; } , function writeReadWrite ( ) { writeTest ( entry , true ) ; } , ] ) ; } else if ( id != 'ReadOnly' ) { chrome . test . notifyFail ( 'Unexpected action id: ' + id ) ; return ; } }
Listens for onExecute events, and runs tests once the event for 'ReadWrite'
 handler is received.
Listens for onExecute events and runs tests once the event for ' ReadWrite ' handler is received .
// Run tests for read-write handler.