diff options
author | brettw@chromium.org <brettw@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-06-10 16:36:26 +0000 |
---|---|---|
committer | brettw@chromium.org <brettw@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-06-10 16:36:26 +0000 |
commit | cbaaf27a5c071fc3e8dcaa199547ccf8c112c327 (patch) | |
tree | 4dddeae309bf2cc7b5914157868ca15ffb70f5b2 /chrome/browser/thumbnail_store_unittest.cc | |
parent | d91c3a320b8f525e765c1070ad2f0f3d515200cb (diff) | |
download | chromium_src-cbaaf27a5c071fc3e8dcaa199547ccf8c112c327.zip chromium_src-cbaaf27a5c071fc3e8dcaa199547ccf8c112c327.tar.gz chromium_src-cbaaf27a5c071fc3e8dcaa199547ccf8c112c327.tar.bz2 |
Try2 at disabling the thumbnail store unit tests. The previous try didn't
work because the friend declarations depended on the exact name of the tests,
which I changed when I marked them disabled.
Review URL: http://codereview.chromium.org/119426
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@18064 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/thumbnail_store_unittest.cc')
-rw-r--r-- | chrome/browser/thumbnail_store_unittest.cc | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/chrome/browser/thumbnail_store_unittest.cc b/chrome/browser/thumbnail_store_unittest.cc index 2a833d5..00219ec 100644 --- a/chrome/browser/thumbnail_store_unittest.cc +++ b/chrome/browser/thumbnail_store_unittest.cc @@ -114,7 +114,10 @@ void ThumbnailStoreTest::PrintPixelDiff(SkBitmap* image_a, SkBitmap* image_b) { << maxv[3] << ")" << std::endl; } -TEST_F(ThumbnailStoreTest, DISABLED_RetrieveFromCache) { +// TODO(meelapshah) fix the leak in these tests and re-enable. +#if 0 + +TEST_F(ThumbnailStoreTest, RetrieveFromCache) { RefCountedBytes* read_image = NULL; scoped_refptr<ThumbnailStore> store = new ThumbnailStore; @@ -138,7 +141,7 @@ TEST_F(ThumbnailStoreTest, DISABLED_RetrieveFromCache) { read_image->Release(); } -TEST_F(ThumbnailStoreTest, DISABLED_RetrieveFromDisk) { +TEST_F(ThumbnailStoreTest, RetrieveFromDisk) { scoped_refptr<RefCountedBytes> read_image = new RefCountedBytes; scoped_refptr<ThumbnailStore> store = new ThumbnailStore; @@ -159,3 +162,4 @@ TEST_F(ThumbnailStoreTest, DISABLED_RetrieveFromDisk) { EXPECT_EQ(0, memcmp(&read_image->data[0], &jpeg_image_->data[0], jpeg_image_->data.size())); } +#endif |