Chromium Code Reviews| Index: mojo/shell/in_process_dynamic_service_runner_unittest.cc |
| diff --git a/mojo/shell/in_process_dynamic_service_runner_unittest.cc b/mojo/shell/in_process_dynamic_service_runner_unittest.cc |
| new file mode 100644 |
| index 0000000000000000000000000000000000000000..654f0bb977cbfcc5df3572ebcad4597ad6a4fa50 |
| --- /dev/null |
| +++ b/mojo/shell/in_process_dynamic_service_runner_unittest.cc |
| @@ -0,0 +1,20 @@ |
| +// 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/context.h" |
| +#include "mojo/shell/in_process_dynamic_service_runner.h" |
| +#include "testing/gtest/include/gtest/gtest.h" |
| + |
| +namespace mojo { |
| +namespace shell { |
| + |
| +TEST(InProcessDynamicServiceRunnerTest, NotStarted) { |
| + base::MessageLoop loop_; |
|
darin (slow to review)
2014/07/25 02:34:00
nit: no trailing "_"
|
| + Context context; |
| + InProcessDynamicServiceRunner runner(&context); |
| + // Shouldn't crash or DCHECK on destruction. |
| +} |
| + |
| +} // namespace shell |
| +} // namespace mojo |