function notRequestedButProvidedThumbnailError() {
      test_util.fileSystem.root.getFile(
          TESTING_ALWAYS_WITH_THUMBNAIL_FILE.name,
          {create: false},
          function(fileEntry) {
            chrome.test.fail(
                'Thumbnail returned when not requested should result in an ' +
                'error, but the operation succeeded.');
          }, chrome.test.callbackPass(function(error) {
            chrome.test.assertEq('InvalidStateError', error.name);
          }));
    }
// that, then the operation must fail.
that, then the operation must fail.
that then the operation must fail .
function notRequestedButProvidedThumbnailError() {
      test_util.fileSystem.root.getFile(
          TESTING_ALWAYS_WITH_THUMBNAIL_FILE.name,
          {create: false},
          function(fileEntry) {
            chrome.test.fail(
                'Thumbnail returned when not requested should result in an ' +
                'error, but the operation succeeded.');
          }, chrome.test.callbackPass(function(error) {
            chrome.test.assertEq('InvalidStateError', error.name);
          }));
    }
function notRequestedButProvidedThumbnailError ( ) { test_util . fileSystem . root . getFile ( TESTING_ALWAYS_WITH_THUMBNAIL_FILE . name , { create : false } , function ( fileEntry ) { chrome . test . fail ( 'Thumbnail returned when not requested should result in an ' + 'error, but the operation succeeded.' ) ; } , chrome . test . callbackPass ( function ( error ) { chrome . test . assertEq ( 'InvalidStateError' , error . name ) ; } ) ) ; }
that, then the operation must fail.
that then the operation must fail .