function createFileSuccessSimple() {
      test_util.fileSystem.root.getFile(
          TESTING_NEW_FILE.name, {create: true},
          chrome.test.callbackPass(function(entry) {
            chrome.test.assertEq(TESTING_NEW_FILE.name, entry.name);
            chrome.test.assertFalse(entry.isDirectory);
          }), function(error) {
            chrome.test.fail(error.name);
          });
    }
// Create a file which doesn't exist. Should succeed.
Create a file which doesn't exist. Should succeed.
Create a file which doesn ' t exist . Should succeed .
function createFileSuccessSimple() {
      test_util.fileSystem.root.getFile(
          TESTING_NEW_FILE.name, {create: true},
          chrome.test.callbackPass(function(entry) {
            chrome.test.assertEq(TESTING_NEW_FILE.name, entry.name);
            chrome.test.assertFalse(entry.isDirectory);
          }), function(error) {
            chrome.test.fail(error.name);
          });
    }
function createFileSuccessSimple ( ) { test_util . fileSystem . root . getFile ( TESTING_NEW_FILE . name , { create : true } , chrome . test . callbackPass ( function ( entry ) { chrome . test . assertEq ( TESTING_NEW_FILE . name , entry . name ) ; chrome . test . assertFalse ( entry . isDirectory ) ; } ) , function ( error ) { chrome . test . fail ( error . name ) ; } ) ; }
Create a file which doesn't exist.
Create a file which doesn ' t exist .