blob: 24f2fb68d14f7fc0f2ffed714d15b242c7f92955 [file] [log] [blame]
Michael Martisa967f632018-08-10 10:39:00 +10001// Copyright 2018 The Chromium OS 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.
4
5#include <base/command_line.h>
6#include <base/threading/thread_task_runner_handle.h>
7#include <brillo/flag_helper.h>
8#include <brillo/message_loops/base_message_loop.h>
9#include <brillo/test_helpers.h>
10#include <mojo/edk/embedder/embedder.h>
Michael Martisa967f632018-08-10 10:39:00 +100011
12int main(int argc, char** argv) {
13 SetUpTests(&argc, argv, true);
14
15 (new brillo::BaseMessageLoop())->SetAsCurrent();
16
17 mojo::edk::Init();
Hidehiko Abe8ab64a62018-09-19 00:04:39 +090018 mojo::edk::InitIPCSupport(base::ThreadTaskRunnerHandle::Get());
Michael Martisa967f632018-08-10 10:39:00 +100019
20 return RUN_ALL_TESTS();
21}