diff options
author | sail@chromium.org <sail@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2011-12-06 08:19:48 +0000 |
---|---|---|
committer | sail@chromium.org <sail@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2011-12-06 08:19:48 +0000 |
commit | 139a66fd8b8c4b0a416786bb18ba433afed932b3 (patch) | |
tree | 418d981cb73d2f4206cb3e82c044fcc5efc9b347 /chrome/browser | |
parent | 3ebe558b8f430cc64bcc809d7c0a33481d0028df (diff) | |
download | chromium_src-139a66fd8b8c4b0a416786bb18ba433afed932b3.zip chromium_src-139a66fd8b8c4b0a416786bb18ba433afed932b3.tar.gz chromium_src-139a66fd8b8c4b0a416786bb18ba433afed932b3.tar.bz2 |
Fix ProfileDownloaderTest.DefaultURL
The unit test was causing a DCHECK to fail. IsDefaultProfileImageURL() doesn't expect an invalid URL so I remvoed the invalid URL.
TBR=ivankr@chromium.org
BUG=
TEST=
Review URL: http://codereview.chromium.org/8821007
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@113162 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser')
-rw-r--r-- | chrome/browser/profiles/profile_downloader_unittest.cc | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/chrome/browser/profiles/profile_downloader_unittest.cc b/chrome/browser/profiles/profile_downloader_unittest.cc index 9b47c18..d3175e3 100644 --- a/chrome/browser/profiles/profile_downloader_unittest.cc +++ b/chrome/browser/profiles/profile_downloader_unittest.cc @@ -99,6 +99,4 @@ TEST_F(ProfileDownloaderTest, DefaultURL) { // Not default with 7 components EXPECT_FALSE(ProfileDownloader::IsDefaultProfileImageURL( "https://example.com/-4/AAAAAAAAAAI/AAAAAAAAACQ/Efg/s32-c/photo.jpg")); - // Not default with invalid URL - EXPECT_FALSE(ProfileDownloader::IsDefaultProfileImageURL("invalid url")); } |