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

Unified Diff: mojo/public/tests/test_support.cc

Issue 54743003: Mojo: bindings connector (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Extract SimpleBindingsSupport Created 7 years, 1 month 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: mojo/public/tests/test_support.cc
diff --git a/mojo/public/tests/test_support.cc b/mojo/public/tests/test_support.cc
index 0140c9f6b76cbea7bdb17c3f85fa0136dece81d5..078d418f4ddd9e65cf1487e5c63a4ac111f59647 100644
--- a/mojo/public/tests/test_support.cc
+++ b/mojo/public/tests/test_support.cc
@@ -12,16 +12,13 @@ namespace mojo {
namespace test {
TestBase::TestBase() {
+ if (!system::CoreImpl::Get())
+ system::CoreImpl::Init();
}
TestBase::~TestBase() {
}
-void TestBase::SetUp() {
- if (!system::CoreImpl::Get())
- system::CoreImpl::Init();
-}
-
void IterateAndReportPerf(const char* test_name,
base::Callback<void()> single_iteration) {
// TODO(vtl): These should be specifiable using command-line flags.
« mojo/public/tests/bindings_connector_unittest.cc ('K') | « mojo/public/tests/test_support.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698