| Index: mojo/shell/in_process_native_runner_unittest.cc
|
| diff --git a/mojo/shell/in_process_native_runner_unittest.cc b/mojo/shell/in_process_native_runner_unittest.cc
|
| new file mode 100644
|
| index 0000000000000000000000000000000000000000..28608c843e5d0447cb27b69bbe62b0f2cb0178b4
|
| --- /dev/null
|
| +++ b/mojo/shell/in_process_native_runner_unittest.cc
|
| @@ -0,0 +1,23 @@
|
| +// Copyright 2014 The Chromium Authors. All rights reserved.
|
| +// Use of this source code is governed by a BSD-style license that can be
|
| +// found in the LICENSE file.
|
| +
|
| +#include "mojo/shell/in_process_native_runner.h"
|
| +
|
| +#include "mojo/shell/context.h"
|
| +#include "testing/gtest/include/gtest/gtest.h"
|
| +
|
| +namespace mojo {
|
| +namespace shell {
|
| +
|
| +TEST(InProcessNativeRunnerTest, NotStarted) {
|
| + Context context;
|
| + base::MessageLoop loop;
|
| + context.Init();
|
| + InProcessNativeRunner runner(&context);
|
| + context.Shutdown();
|
| + // Shouldn't crash or DCHECK on destruction.
|
| +}
|
| +
|
| +} // namespace shell
|
| +} // namespace mojo
|
|
|