blob: 24f2fb68d14f7fc0f2ffed714d15b242c7f92955 [file] [log] [blame]
// Copyright 2018 The Chromium OS Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include <base/command_line.h>
#include <base/threading/thread_task_runner_handle.h>
#include <brillo/flag_helper.h>
#include <brillo/message_loops/base_message_loop.h>
#include <brillo/test_helpers.h>
#include <mojo/edk/embedder/embedder.h>
int main(int argc, char** argv) {
SetUpTests(&argc, argv, true);
(new brillo::BaseMessageLoop())->SetAsCurrent();
mojo::edk::Init();
mojo::edk::InitIPCSupport(base::ThreadTaskRunnerHandle::Get());
return RUN_ALL_TESTS();
}