Switch DomAutomationController to be a RenderFrameObserver.
[chromium-blink-merge.git] / mojo / common / test / run_all_unittests.cc
blob792c2a108f95780ca24727df1daaf755613c1dce
1 // Copyright 2013 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
5 #include "base/bind.h"
6 #include "base/test/launcher/unit_test_launcher.h"
7 #include "base/test/test_suite.h"
8 #include "mojo/common/test/test_support_impl.h"
9 #include "mojo/public/tests/test_support_private.h"
10 #include "mojo/system/embedder/embedder.h"
12 int main(int argc, char** argv) {
13 base::TestSuite test_suite(argc, argv);
15 mojo::embedder::Init();
16 mojo::test::TestSupport::Init(new mojo::test::TestSupportImpl());
18 return base::LaunchUnitTests(
19 argc, argv, base::Bind(&base::TestSuite::Run,
20 base::Unretained(&test_suite)));