| Index: mash/test/mash_unittests.cc
|
| diff --git a/mash/test/mash_unittests.cc b/mash/test/mash_unittests.cc
|
| index 942547556bd892b203d9bf528690cc6d8bb658ba..f057a2ae35701f9abf1afe36b4c43cbc1c47fc30 100644
|
| --- a/mash/test/mash_unittests.cc
|
| +++ b/mash/test/mash_unittests.cc
|
| @@ -4,11 +4,18 @@
|
|
|
| #include "base/bind.h"
|
| #include "base/test/launcher/unit_test_launcher.h"
|
| +#include "base/test/test_io_thread.h"
|
| #include "mash/test/mash_test_suite.h"
|
| +#include "mojo/edk/embedder/embedder.h"
|
| +#include "mojo/edk/test/scoped_ipc_support.h"
|
|
|
| int MasterProcessMain(int argc, char** argv) {
|
| mash::test::MashTestSuite test_suite(argc, argv);
|
|
|
| + mojo::edk::Init();
|
| + base::TestIOThread test_io_thread(base::TestIOThread::kAutoStart);
|
| + mojo::edk::test::ScopedIPCSupport ipc_support(test_io_thread.task_runner());
|
| +
|
| return base::LaunchUnitTests(argc, argv,
|
| base::Bind(&mash::test::MashTestSuite::Run,
|
| base::Unretained(&test_suite)));
|
|
|