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

Unified Diff: chrome/browser/chromeos/gdata/drive_api_parser_unittest.cc

Issue 10829094: Cleanup: Use EXPECT_TRUE/FALSE instead of EXPECT_EQ. (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: Created 8 years, 5 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
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/chromeos/gdata/drive_api_parser_unittest.cc
===================================================================
--- chrome/browser/chromeos/gdata/drive_api_parser_unittest.cc (revision 149119)
+++ chrome/browser/chromeos/gdata/drive_api_parser_unittest.cc (working copy)
@@ -83,10 +83,10 @@
EXPECT_EQ("123456788192", app1.id());
EXPECT_EQ("Drive app 1", app1.name());
EXPECT_EQ("", app1.object_type());
- EXPECT_EQ(true, app1.supports_create());
- EXPECT_EQ(true, app1.supports_import());
- EXPECT_EQ(true, app1.is_installed());
- EXPECT_EQ(false, app1.is_authorized());
+ EXPECT_TRUE(app1.supports_create());
+ EXPECT_TRUE(app1.supports_import());
+ EXPECT_TRUE(app1.is_installed());
+ EXPECT_FALSE(app1.is_authorized());
EXPECT_EQ("https://chrome.google.com/webstore/detail/"
"abcdefghabcdefghabcdefghabcdefgh",
app1.product_url().spec());
@@ -125,10 +125,10 @@
EXPECT_EQ("876543210000", app2.id());
EXPECT_EQ("Drive app 2", app2.name());
EXPECT_EQ("", app2.object_type());
- EXPECT_EQ(false, app2.supports_create());
- EXPECT_EQ(false, app2.supports_import());
- EXPECT_EQ(true, app2.is_installed());
- EXPECT_EQ(false, app2.is_authorized());
+ EXPECT_FALSE(app2.supports_create());
+ EXPECT_FALSE(app2.supports_import());
+ EXPECT_TRUE(app2.is_installed());
+ EXPECT_FALSE(app2.is_authorized());
EXPECT_EQ("https://chrome.google.com/webstore/detail/"
"hgfedcbahgfedcbahgfedcbahgfedcba",
app2.product_url().spec());
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698