| Index: mojo/edk/test/run_all_unittests.cc
|
| diff --git a/third_party/mojo/src/mojo/edk/test/run_all_unittests.cc b/mojo/edk/test/run_all_unittests.cc
|
| similarity index 86%
|
| copy from third_party/mojo/src/mojo/edk/test/run_all_unittests.cc
|
| copy to mojo/edk/test/run_all_unittests.cc
|
| index 2059347ea3a50b262125f6e2f3e086a41ed983b7..328c24892b1fc63bf4d076a96f7808eb93f2ceb0 100644
|
| --- a/third_party/mojo/src/mojo/edk/test/run_all_unittests.cc
|
| +++ b/mojo/edk/test/run_all_unittests.cc
|
| @@ -6,8 +6,10 @@
|
|
|
| #include "base/bind.h"
|
| #include "base/test/launcher/unit_test_launcher.h"
|
| +#include "base/test/test_io_thread.h"
|
| #include "base/test/test_suite.h"
|
| #include "mojo/edk/embedder/test_embedder.h"
|
| +#include "mojo/edk/test/scoped_ipc_support.h"
|
| #include "mojo/edk/test/test_support_impl.h"
|
| #include "mojo/public/tests/test_support_private.h"
|
| #include "testing/gtest/include/gtest/gtest.h"
|
| @@ -32,6 +34,8 @@ int main(int argc, char** argv) {
|
|
|
| mojo::embedder::test::InitWithSimplePlatformSupport();
|
| mojo::test::TestSupport::Init(new mojo::test::TestSupportImpl());
|
| + base::TestIOThread test_io_thread(base::TestIOThread::kAutoStart);
|
| + mojo::test::ScopedIPCSupport ipc_support(test_io_thread.task_runner());
|
|
|
| return base::LaunchUnitTests(
|
| argc, argv,
|
|
|