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

Unified Diff: net/test/run_all_unittests.cc

Issue 23442019: Convert most run_all_unittests.cc files to use new unit test launcher. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: trybots Created 7 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 | « media/base/run_all_unittests.cc ('k') | ppapi/ppapi_tests.gypi » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: net/test/run_all_unittests.cc
diff --git a/net/test/run_all_unittests.cc b/net/test/run_all_unittests.cc
index d8392ff0e2a7f9751c8731301fb2e1a1bb3e3945..07aaeb63b5d1e9a3c05ee22b4486b7dc051d020d 100644
--- a/net/test/run_all_unittests.cc
+++ b/net/test/run_all_unittests.cc
@@ -3,6 +3,7 @@
// found in the LICENSE file.
#include "base/metrics/statistics_recorder.h"
+#include "base/test/unit_test_launcher.h"
#include "build/build_config.h"
#include "crypto/nss_util.h"
#include "net/socket/client_socket_pool_base.h"
@@ -49,5 +50,7 @@ int main(int argc, char** argv) {
net::ProxyResolverV8::RememberDefaultIsolate();
#endif
- return test_suite.Run();
+ return base::LaunchUnitTests(
+ argc, argv, base::Bind(&NetTestSuite::Run,
+ base::Unretained(&test_suite)));
}
« no previous file with comments | « media/base/run_all_unittests.cc ('k') | ppapi/ppapi_tests.gypi » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698