Commit 4229a764 authored by thestig@chromium.org's avatar thestig@chromium.org

Cleanup: Use EXPECT_TRUE/FALSE instead of EXPECT_EQ.

BUG=none
TEST=none

Review URL: https://chromiumcodereview.appspot.com/10829094

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@149141 0039d316-1c4b-4281-b951-d872f2087c98
parent b1fc6495
...@@ -83,10 +83,10 @@ TEST_F(DriveAPIParserTest, AppListParser) { ...@@ -83,10 +83,10 @@ TEST_F(DriveAPIParserTest, AppListParser) {
EXPECT_EQ("123456788192", app1.id()); EXPECT_EQ("123456788192", app1.id());
EXPECT_EQ("Drive app 1", app1.name()); EXPECT_EQ("Drive app 1", app1.name());
EXPECT_EQ("", app1.object_type()); EXPECT_EQ("", app1.object_type());
EXPECT_EQ(true, app1.supports_create()); EXPECT_TRUE(app1.supports_create());
EXPECT_EQ(true, app1.supports_import()); EXPECT_TRUE(app1.supports_import());
EXPECT_EQ(true, app1.is_installed()); EXPECT_TRUE(app1.is_installed());
EXPECT_EQ(false, app1.is_authorized()); EXPECT_FALSE(app1.is_authorized());
EXPECT_EQ("https://chrome.google.com/webstore/detail/" EXPECT_EQ("https://chrome.google.com/webstore/detail/"
"abcdefghabcdefghabcdefghabcdefgh", "abcdefghabcdefghabcdefghabcdefgh",
app1.product_url().spec()); app1.product_url().spec());
...@@ -125,10 +125,10 @@ TEST_F(DriveAPIParserTest, AppListParser) { ...@@ -125,10 +125,10 @@ TEST_F(DriveAPIParserTest, AppListParser) {
EXPECT_EQ("876543210000", app2.id()); EXPECT_EQ("876543210000", app2.id());
EXPECT_EQ("Drive app 2", app2.name()); EXPECT_EQ("Drive app 2", app2.name());
EXPECT_EQ("", app2.object_type()); EXPECT_EQ("", app2.object_type());
EXPECT_EQ(false, app2.supports_create()); EXPECT_FALSE(app2.supports_create());
EXPECT_EQ(false, app2.supports_import()); EXPECT_FALSE(app2.supports_import());
EXPECT_EQ(true, app2.is_installed()); EXPECT_TRUE(app2.is_installed());
EXPECT_EQ(false, app2.is_authorized()); EXPECT_FALSE(app2.is_authorized());
EXPECT_EQ("https://chrome.google.com/webstore/detail/" EXPECT_EQ("https://chrome.google.com/webstore/detail/"
"hgfedcbahgfedcbahgfedcbahgfedcba", "hgfedcbahgfedcbahgfedcbahgfedcba",
app2.product_url().spec()); app2.product_url().spec());
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment