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

Unified Diff: content/test/unittest_test_suite.cc

Issue 10582012: For unit tests, track additions to AtExitManager and warn. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Cause an error; for trybot run. Ignore. Created 8 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
« base/test/test_suite.cc ('K') | « base/test/test_suite.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/test/unittest_test_suite.cc
diff --git a/content/test/unittest_test_suite.cc b/content/test/unittest_test_suite.cc
index 85597d51ae51fdd53fb2eb501213e8c722ecadd1..ebf1f8966f04dd3e1123d2d51ee9e370016d37b6 100644
--- a/content/test/unittest_test_suite.cc
+++ b/content/test/unittest_test_suite.cc
@@ -41,6 +41,7 @@ UnitTestTestSuite::~UnitTestTestSuite() {
}
int UnitTestTestSuite::Run() {
+ test_suite_->WatchAtExitManager();
Paweł Hajdan Jr. 2012/06/20 07:47:13 This should always be run, for all test suites (ma
Scott Byer 2012/06/21 00:05:41 I was trying to be conservative and not spew warni
return test_suite_->Run();
}
« base/test/test_suite.cc ('K') | « base/test/test_suite.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698