Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(396)

Unified Diff: components/safe_browsing_db/v4_database_unittest.cc

Issue 2814733002: Add the SocEng as a type for checking in CheckUrlForSubresourceFilter. (Closed)
Patch Set: rebased and changes sync strategy Created 3 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: components/safe_browsing_db/v4_database_unittest.cc
diff --git a/components/safe_browsing_db/v4_database_unittest.cc b/components/safe_browsing_db/v4_database_unittest.cc
index 431204551a8a2a4e0cf0696e6633ca4f47632ee9..61d8e20e1b0055318ae5c33151f49904c3e8ab52 100644
--- a/components/safe_browsing_db/v4_database_unittest.cc
+++ b/components/safe_browsing_db/v4_database_unittest.cc
@@ -471,7 +471,10 @@ TEST_F(V4DatabaseTest, TestStoresAvailable) {
EXPECT_TRUE(v4_database_->AreStoresAvailable(
StoresToCheck({linux_malware_id_, win_malware_id_})));
- EXPECT_FALSE(v4_database_->AreStoresAvailable(
+ EXPECT_TRUE(
+ v4_database_->AreStoresAvailable(StoresToCheck({linux_malware_id_})));
+
+ EXPECT_TRUE(v4_database_->AreStoresAvailable(
StoresToCheck({linux_malware_id_, bogus_id})));
EXPECT_FALSE(v4_database_->AreStoresAvailable(StoresToCheck({bogus_id})));

Powered by Google App Engine
This is Rietveld 408576698