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

Unified Diff: components/tracing/test/perf_test_helpers.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: components/tracing/test/perf_test_helpers.cc
diff --git a/components/tracing/test/perf_test_helpers.cc b/components/tracing/test/perf_test_helpers.cc
index 0d57053cc5cf68290dfe90e5499785ca2bd31727..22208c2f1de31122b4ee1149ceaecb4d1497d5ed 100644
--- a/components/tracing/test/perf_test_helpers.cc
+++ b/components/tracing/test/perf_test_helpers.cc
@@ -15,10 +15,12 @@ namespace tracing {
namespace {
void PrintPerfTestMs(const std::string& name, int64_t value) {
- CHECK(::testing::UnitTest::GetInstance() != nullptr) << "Must be GTest.";
+ // Must be GTest.
+ CHECK(::testing::UnitTest::GetInstance() != nullptr);
const ::testing::TestInfo* test_info =
::testing::UnitTest::GetInstance()->current_test_info();
- CHECK(test_info != nullptr) << "Must be GTest.";
+ // Must be GTest.
+ CHECK(test_info != nullptr);
perf_test::PrintResult(test_info->test_case_name(),
std::string(".") + test_info->name(),

Powered by Google App Engine
This is Rietveld 408576698