1116680a4aac90f2aa7413d9095a592090648e557Ben Murdoch// Copyright 2014 The Chromium Authors. All rights reserved.
2116680a4aac90f2aa7413d9095a592090648e557Ben Murdoch// Use of this source code is governed by a BSD-style license that can be
3116680a4aac90f2aa7413d9095a592090648e557Ben Murdoch// found in the LICENSE file.
4116680a4aac90f2aa7413d9095a592090648e557Ben Murdoch
5116680a4aac90f2aa7413d9095a592090648e557Ben Murdoch#include "base/bind.h"
6116680a4aac90f2aa7413d9095a592090648e557Ben Murdoch#include "base/test/launcher/unit_test_launcher.h"
7116680a4aac90f2aa7413d9095a592090648e557Ben Murdoch#include "base/test/test_suite.h"
803b57e008b61dfcb1fbad3aea950ae0e001748b0Torne (Richard Coles)#include "mojo/embedder/test_embedder.h"
9116680a4aac90f2aa7413d9095a592090648e557Ben Murdoch
10116680a4aac90f2aa7413d9095a592090648e557Ben Murdochint main(int argc, char** argv) {
11116680a4aac90f2aa7413d9095a592090648e557Ben Murdoch  base::TestSuite test_suite(argc, argv);
12116680a4aac90f2aa7413d9095a592090648e557Ben Murdoch
1303b57e008b61dfcb1fbad3aea950ae0e001748b0Torne (Richard Coles)  mojo::embedder::test::InitWithSimplePlatformSupport();
14116680a4aac90f2aa7413d9095a592090648e557Ben Murdoch  return base::LaunchUnitTests(
15116680a4aac90f2aa7413d9095a592090648e557Ben Murdoch      argc,
16116680a4aac90f2aa7413d9095a592090648e557Ben Murdoch      argv,
17116680a4aac90f2aa7413d9095a592090648e557Ben Murdoch      base::Bind(&base::TestSuite::Run, base::Unretained(&test_suite)));
18116680a4aac90f2aa7413d9095a592090648e557Ben Murdoch}
19