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..6ebb1a6492ecd3d7fc3739fdcbf1990f279cf8fc |
--- /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; |
+ Context context; |
+ InProcessDynamicServiceRunner runner(&context); |
+ // Shouldn't crash or DCHECK on destruction. |
+} |
+ |
+} // namespace shell |
+} // namespace mojo |