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"
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
;
20 InProcessNativeRunner
runner(&context
);
22 // Shouldn't crash or DCHECK on destruction.