blob: f5e098f344317ef0872d5176e6fd3cfb656f35b7 [file] [log] [blame]
// 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/runner/in_process_native_runner.h"
#include "mojo/runner/context.h"
#include "testing/gtest/include/gtest/gtest.h"
namespace mojo {
namespace runner {
TEST(InProcessNativeRunnerTest, NotStarted) {
Context context;
base::MessageLoop loop;
context.Init();
InProcessNativeRunner runner(&context);
context.Shutdown();
// Shouldn't crash or DCHECK on destruction.
}
} // namespace runner
} // namespace mojo