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

Unified Diff: media/base/run_all_unittests.cc

Issue 10915061: Add MainHook to media unittests. (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: Remove unrelated empty line. Created 8 years, 3 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 | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: media/base/run_all_unittests.cc
diff --git a/media/base/run_all_unittests.cc b/media/base/run_all_unittests.cc
index 01616fb6f95fc88940e6c487443ddcc17aecc9e3..06c15d4c909de981c2df082b6e9bf426bcb34fd8 100644
--- a/media/base/run_all_unittests.cc
+++ b/media/base/run_all_unittests.cc
@@ -2,6 +2,7 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
+#include "base/test/main_hook.h"
#include "base/test/test_suite.h"
#include "media/base/media.h"
@@ -22,5 +23,6 @@ void TestSuiteNoAtExit::Initialize() {
}
int main(int argc, char** argv) {
+ MainHook hook(main, argc, argv);
return TestSuiteNoAtExit(argc, argv).Run();
}
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698