Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(145)

Side by Side Diff: chromecast/app/cast_unittests_main.cc

Issue 2617713002: [WIP] Add DCHECK for mojo::edk::Init().
Patch Set: test Created 3 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « chromecast/app/cast_test_launcher.cc ('k') | components/nacl/loader/nacl_helper_win_64.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
(Empty)
1 // Copyright 2017 The Chromium 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/test/test_io_thread.h"
6 #include "chromecast/app/cast_test_launcher.h"
7 #include "mojo/edk/embedder/embedder.h"
8 #include "mojo/edk/test/scoped_ipc_support.h"
9
10 int main(int argc, char* argv[]) {
11 mojo::edk::Init();
12 base::TestIOThread test_io_thread(base::TestIOThread::kAutoStart);
13 mojo::edk::test::ScopedIPCSupport ipc_support(test_io_thread.task_runner());
14 return chromecast::shell::LaunchTests(argc, argv);
15 }
OLDNEW
« no previous file with comments | « chromecast/app/cast_test_launcher.cc ('k') | components/nacl/loader/nacl_helper_win_64.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698