function deleteDirectoryRecursively() {
      test_util.fileSystem.root.getDirectory(
          TESTING_A_DIRECTORY.name, {create: false},
          chrome.test.callbackPass(function(entry) {
            chrome.test.assertEq(TESTING_A_DIRECTORY.name, entry.name);
            chrome.test.assertTrue(entry.isDirectory);
            entry.removeRecursively(
                chrome.test.callbackPass(),
                function(error) {
                  chrome.test.fail(error);
                });
          }), function(error) {
            chrome.test.fail(error.name);
          });
    }
// Delete a directory which has contents, recursively. Should succeed.
Delete a directory which has contents, recursively. Should succeed.
Delete a directory which has contents recursively . Should succeed .
function deleteDirectoryRecursively() {
      test_util.fileSystem.root.getDirectory(
          TESTING_A_DIRECTORY.name, {create: false},
          chrome.test.callbackPass(function(entry) {
            chrome.test.assertEq(TESTING_A_DIRECTORY.name, entry.name);
            chrome.test.assertTrue(entry.isDirectory);
            entry.removeRecursively(
                chrome.test.callbackPass(),
                function(error) {
                  chrome.test.fail(error);
                });
          }), function(error) {
            chrome.test.fail(error.name);
          });
    }
function deleteDirectoryRecursively ( ) { test_util . fileSystem . root . getDirectory ( TESTING_A_DIRECTORY . name , { create : false } , chrome . test . callbackPass ( function ( entry ) { chrome . test . assertEq ( TESTING_A_DIRECTORY . name , entry . name ) ; chrome . test . assertTrue ( entry . isDirectory ) ; entry . removeRecursively ( chrome . test . callbackPass ( ) , function ( error ) { chrome . test . fail ( error ) ; } ) ; } ) , function ( error ) { chrome . test . fail ( error . name ) ; } ) ; }
Delete a directory which has contents, recursively.
Delete a directory which has contents recursively .