[Files.app tests] Combine methods commonly used among tests
commit3e38f58672a5ff43b94d4cdbe0a335694edd0635
authoryoshiki <yoshiki@chromium.org>
Thu, 25 Jun 2015 11:12:43 +0000 (25 04:12 -0700)
committerCommit bot <commit-bot@chromium.org>
Thu, 25 Jun 2015 11:13:16 +0000 (25 11:13 +0000)
tree662662bab11bb2280fc04870633f75f2201b99a1
parent5d7d605f9c30ccfda0ad534afd014e96b9a44021
[Files.app tests] Combine methods commonly used among tests

The utility methods checkIfNoErrorsOccured() and testPromise() are commonly used among some tests, so this patch combines them into one.

BUG=none
TEST=browser_tests

Review URL: https://codereview.chromium.org/1197653002

Cr-Commit-Position: refs/heads/master@{#336118}
ui/file_manager/integration_tests/audio_player/background.js
ui/file_manager/integration_tests/file_manager/background.js
ui/file_manager/integration_tests/gallery/background.js
ui/file_manager/integration_tests/test_util.js
ui/file_manager/integration_tests/video_player/background.js