diff options
author | kinuko@chromium.org <kinuko@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-10-08 21:26:50 +0000 |
---|---|---|
committer | kinuko@chromium.org <kinuko@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-10-08 21:26:50 +0000 |
commit | 0df4ace4713e5b74a5215638111d514971aaf40d (patch) | |
tree | 890737187518766a1a2a93072db01bee571944ea /webkit/fileapi | |
parent | 36e1a54b7bd144b213716efa47f36704ff73e6e4 (diff) | |
download | chromium_src-0df4ace4713e5b74a5215638111d514971aaf40d.zip chromium_src-0df4ace4713e5b74a5215638111d514971aaf40d.tar.gz chromium_src-0df4ace4713e5b74a5215638111d514971aaf40d.tar.bz2 |
Replace DCHECK in the FileSystemQuota test code with ASSERT_TRUE.
BUG=none
TEST=FileSystemQuotaTest.*
TBR=phajdan
Review URL: http://codereview.chromium.org/3638002
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@62017 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'webkit/fileapi')
-rw-r--r-- | webkit/fileapi/file_system_quota_unittest.cc | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/webkit/fileapi/file_system_quota_unittest.cc b/webkit/fileapi/file_system_quota_unittest.cc index 0c505cd..ff0d733 100644 --- a/webkit/fileapi/file_system_quota_unittest.cc +++ b/webkit/fileapi/file_system_quota_unittest.cc @@ -97,12 +97,12 @@ TEST_F(FileSystemQuotaTest, CheckOriginQuotaMixedWithDifferentScheme) { GURL url(kTestOrigins[i]); if (url.SchemeIsFile()) continue; - DCHECK(url == url.GetOrigin()); + ASSERT_TRUE(url == url.GetOrigin()); std::string new_scheme = "https"; if (url.SchemeIsSecure()) new_scheme = "http"; else - DCHECK(url.SchemeIs("http")); + ASSERT_TRUE(url.SchemeIs("http")); std::string new_url_string = new_scheme + "://" + url.host(); if (url.has_port()) new_url_string += ":" + url.port(); @@ -126,7 +126,7 @@ TEST_F(FileSystemQuotaTest, CheckOriginQuotaMixedWithDifferentPort) { GURL url(kTestOrigins[i]); if (url.SchemeIsFile()) continue; - DCHECK(url == url.GetOrigin()); + ASSERT_TRUE(url == url.GetOrigin()); int port = 81; if (url.has_port()) port = url.IntPort() + 1; |