function deleteDirectorySuccessSimple() {
      test_util.fileSystem.root.getFile(
          TESTING_C_FILE.name, {create: false},
          chrome.test.callbackPass(function(entry) {
            chrome.test.assertEq(TESTING_C_FILE.name, entry.name);
            chrome.test.assertFalse(entry.isDirectory);
            entry.remove(chrome.test.callbackPass(), function(error) {
              chrome.test.fail(error.name);
            });
          }), function(error) {
            chrome.test.fail(error.name);
          });
    }
// Delete a file. Should succeed.
Delete a file. Should succeed.
Delete a file . Should succeed .
function deleteDirectorySuccessSimple() {
      test_util.fileSystem.root.getFile(
          TESTING_C_FILE.name, {create: false},
          chrome.test.callbackPass(function(entry) {
            chrome.test.assertEq(TESTING_C_FILE.name, entry.name);
            chrome.test.assertFalse(entry.isDirectory);
            entry.remove(chrome.test.callbackPass(), function(error) {
              chrome.test.fail(error.name);
            });
          }), function(error) {
            chrome.test.fail(error.name);
          });
    }
function deleteDirectorySuccessSimple ( ) { test_util . fileSystem . root . getFile ( TESTING_C_FILE . name , { create : false } , chrome . test . callbackPass ( function ( entry ) { chrome . test . assertEq ( TESTING_C_FILE . name , entry . name ) ; chrome . test . assertFalse ( entry . isDirectory ) ; entry . remove ( chrome . test . callbackPass ( ) , function ( error ) { chrome . test . fail ( error . name ) ; } ) ; } ) , function ( error ) { chrome . test . fail ( error . name ) ; } ) ; }
Delete a file.
Delete a file .