Cleanup IndexedDBIO unit tests using GoogleMock.
Previous tests had the following limitations: 1. Not all ASSERT/EXPECT's were within the test functions. 2. Not verifying that OpenLevelDB was ever called. 3. Unused MockErrorLevelDBFactory::expect_destroy. 4. Explicitly doing things (like functionXXX called) which we get for free by using GoogleMock. BUG=388012 Review URL: https://codereview.chromium.org/356463008 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@283995 0039d316-1c4b-4281-b951-d872f2087c98
Showing
Please register or sign in to comment