Server Request Tests and Mock Promise Enhancements
commit8e9809cf5cf3333c3105e7924fa3f91ff31a5f46
authorrobliao@chromium.org <robliao@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>
Thu, 20 Mar 2014 07:01:18 +0000 (20 07:01 +0000)
committerrobliao@chromium.org <robliao@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>
Thu, 20 Mar 2014 07:01:18 +0000 (20 07:01 +0000)
tree73bb7050e73ec2efbe883c5950a7717cf0ddbee9
parentc54ff4b6f373cdafbdb54447a2c95b11769c9afd
Server Request Tests and Mock Promise Enhancements

Added some server request tests and improved the mock promise to handle
these tests. The Mock Promise now better simulates the full extent of
promises.

BUG=164227

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@258239 0039d316-1c4b-4281-b951-d872f2087c98
chrome/browser/resources/google_now/background_unittest.gtestjs
chrome/browser/resources/google_now/common_test_util.js