Pin Chrome's shortcut to the Win10 Start menu on install and OS upgrade.
[chromium-blink-merge.git] / mojo / runner / in_process_native_runner_unittest.cc
blobf5e098f344317ef0872d5176e6fd3cfb656f35b7
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 "mojo/runner/context.h"
8 #include "testing/gtest/include/gtest/gtest.h"
10 namespace mojo {
11 namespace runner {
13 TEST(InProcessNativeRunnerTest, NotStarted) {
14 Context context;
15 base::MessageLoop loop;
16 context.Init();
17 InProcessNativeRunner runner(&context);
18 context.Shutdown();
19 // Shouldn't crash or DCHECK on destruction.
22 } // namespace runner
23 } // namespace mojo