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

Unified Diff: ui/aura/test/aura_test_base.cc

Issue 2561963002: base: Remove the string logging from CHECK(). (Closed)
Patch Set: checkstring: rebase Created 4 years 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: ui/aura/test/aura_test_base.cc
diff --git a/ui/aura/test/aura_test_base.cc b/ui/aura/test/aura_test_base.cc
index 672c3dfe46712ff5c2edb010511a4a410c5a59ad..c6c5c324849da4006092245259aa64e21d3f22f2 100644
--- a/ui/aura/test/aura_test_base.cc
+++ b/ui/aura/test/aura_test_base.cc
@@ -25,10 +25,10 @@ AuraTestBase::AuraTestBase()
: window_manager_delegate_(this), window_tree_client_delegate_(this) {}
AuraTestBase::~AuraTestBase() {
- CHECK(setup_called_)
- << "You have overridden SetUp but never called super class's SetUp";
- CHECK(teardown_called_)
- << "You have overridden TearDown but never called super class's TearDown";
+ // You have overridden SetUp but never called super class's SetUp
+ CHECK(setup_called_);
+ // You have overridden TearDown but never called super class's TearDown
+ CHECK(teardown_called_);
}
void AuraTestBase::SetUp() {

Powered by Google App Engine
This is Rietveld 408576698