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

Unified Diff: mojo/public/cpp/environment/tests/logger_unittest.cc

Issue 360563004: Enable Mojo on iOS (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Reduce diff in mojo_public.gypi Created 6 years, 6 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 | « mojo/mojo_public.gypi ('k') | mojo/public/cpp/utility/tests/mutex_unittest.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: mojo/public/cpp/environment/tests/logger_unittest.cc
diff --git a/mojo/public/cpp/environment/tests/logger_unittest.cc b/mojo/public/cpp/environment/tests/logger_unittest.cc
index e7d6e534d211fd4a80780c23c57afbee4b9823cc..e30a84b10b8d73459f1756e5278763416a86e7bb 100644
--- a/mojo/public/cpp/environment/tests/logger_unittest.cc
+++ b/mojo/public/cpp/environment/tests/logger_unittest.cc
@@ -20,7 +20,7 @@ TEST(LoggerTest, Basic) {
logger->LogMessage(MOJO_LOG_LEVEL_ERROR, "Logged at ERROR level");
// This should kill us:
- EXPECT_DEATH({
+ EXPECT_DEATH_IF_SUPPORTED({
logger->LogMessage(MOJO_LOG_LEVEL_FATAL, "Logged at FATAL level");
}, "");
}
@@ -46,7 +46,7 @@ TEST(LoggerTest, LogLevels) {
logger->LogMessage(MOJO_LOG_LEVEL_ERROR, "Logged at ERROR level");
// This should kill us:
- EXPECT_DEATH({
+ EXPECT_DEATH_IF_SUPPORTED({
logger->LogMessage(MOJO_LOG_LEVEL_FATAL, "Logged at FATAL level");
}, "");
}
« no previous file with comments | « mojo/mojo_public.gypi ('k') | mojo/public/cpp/utility/tests/mutex_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698