Fix layout of the Connection Tab of the Origin Info Bubble.
[chromium-blink-merge.git] / mojo / runner / in_process_native_runner_unittest.cc
blob4b030cf28eb54f41b080cf5099a1f9cf4b43ab05
1 // Copyright 2014 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.
5 #include "mojo/runner/in_process_native_runner.h"
7 #include "base/path_service.h"
8 #include "mojo/runner/context.h"
9 #include "testing/gtest/include/gtest/gtest.h"
11 namespace mojo {
12 namespace runner {
14 TEST(InProcessNativeRunnerTest, NotStarted) {
15 base::FilePath shell_dir;
16 PathService::Get(base::DIR_MODULE, &shell_dir);
17 Context context(shell_dir);
18 base::MessageLoop loop;
19 context.Init();
20 InProcessNativeRunner runner(&context);
21 context.Shutdown();
22 // Shouldn't crash or DCHECK on destruction.
25 } // namespace runner
26 } // namespace mojo