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

Unified Diff: chrome_frame/test/urlmon_moniker_integration_test.cc

Issue 6300001: Clang: enable -Wbool-conversions and -Wunused-variables on Linux. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Rebase, undo indent Created 9 years, 11 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 | « chrome/renderer/spellchecker/spellcheck_unittest.cc ('k') | courgette/encoded_program_fuzz_unittest.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome_frame/test/urlmon_moniker_integration_test.cc
diff --git a/chrome_frame/test/urlmon_moniker_integration_test.cc b/chrome_frame/test/urlmon_moniker_integration_test.cc
index b27b90de13d85bc232150aaa356e79014efa726e..4bf977f6ddcaf9dcf755d34e72a7127c32997998 100644
--- a/chrome_frame/test/urlmon_moniker_integration_test.cc
+++ b/chrome_frame/test/urlmon_moniker_integration_test.cc
@@ -45,8 +45,8 @@ class UrlmonMonikerTest : public testing::Test {
};
TEST_F(UrlmonMonikerTest, MonikerPatch) {
- EXPECT_EQ(true, MonikerPatch::Initialize());
- EXPECT_EQ(true, MonikerPatch::Initialize()); // Should be ok to call twice.
+ EXPECT_TRUE(MonikerPatch::Initialize());
+ EXPECT_TRUE(MonikerPatch::Initialize()); // Should be ok to call twice.
MonikerPatch::Uninitialize();
}
@@ -90,7 +90,7 @@ class RunTestServer : public base::Thread {
class UrlmonMonikerTestManager {
public:
explicit UrlmonMonikerTestManager(const wchar_t* test_url) {
- EXPECT_EQ(true, MonikerPatch::Initialize());
+ EXPECT_TRUE(MonikerPatch::Initialize());
}
~UrlmonMonikerTestManager() {
« no previous file with comments | « chrome/renderer/spellchecker/spellcheck_unittest.cc ('k') | courgette/encoded_program_fuzz_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698