Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(206)

Unified Diff: components/keyboard_lock/keyboard_lock_host_unittest.cc

Issue 2815023002: [System-Keyboard-Lock] Add KeyboardLockHost and KeyEventInterceptor (Closed)
Patch Set: Use NativeKeycode instead of ui::KeyboardCode Created 3 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « components/keyboard_lock/keyboard_lock_host.cc ('k') | components/keyboard_lock/keyboard_lock_types.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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
« no previous file with comments | « components/keyboard_lock/keyboard_lock_host.cc ('k') | components/keyboard_lock/keyboard_lock_types.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698