| Index: components/keyboard_lock/keyboard_lock_host_unittest.cc
|
| diff --git a/components/keyboard_lock/keyboard_lock_host_unittest.cc b/components/keyboard_lock/keyboard_lock_host_unittest.cc
|
| new file mode 100644
|
| index 0000000000000000000000000000000000000000..891445803f8de99de6dd05c617f317cb145980b3
|
| --- /dev/null
|
| +++ b/components/keyboard_lock/keyboard_lock_host_unittest.cc
|
| @@ -0,0 +1,19 @@
|
| +// Copyright 2017 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 "components/keyboard_lock/keyboard_lock_host.h"
|
| +
|
| +#include "base/message_loop/message_loop.h"
|
| +#include "testing/gtest/include/gtest/gtest.h"
|
| +
|
| +namespace keyboard_lock {
|
| +
|
| +// This is a placeholder test to ensure keyboard_lock component is correctly
|
| +// referred and built.
|
| +TEST(KeyboardLockHostTest, Construct) {
|
| + base::MessageLoop loop;
|
| + KeyboardLockHost host(loop.task_runner());
|
| +}
|
| +
|
| +} // namespace keyboard_lock
|
|
|