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

Side by Side Diff: app/keyboard_code_conversion_unittest.cc

Issue 3361003: Revert 58215 - Revert 58186 - Move the keyboard files from base/ to app/.... (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Created 10 years, 3 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 unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « app/keyboard_code_conversion_mac.mm ('k') | app/keyboard_code_conversion_win.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Property Changes:
Added: svn:mergeinfo
OLDNEW
1 // Copyright (c) 2010 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2010 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #include "app/keyboard_code_conversion.h" 5 #include "app/keyboard_code_conversion.h"
6 #include "app/keyboard_codes.h" 6 #include "app/keyboard_codes.h"
7 #include "base/logging.h" 7 #include "base/logging.h"
8 #include "testing/gtest/include/gtest/gtest.h" 8 #include "testing/gtest/include/gtest/gtest.h"
9 9
10 namespace app { 10 namespace app {
(...skipping 23 matching lines...) Expand all
34 34
35 // this one is not in the map 35 // this one is not in the map
36 EXPECT_EQ(app::VKEY_UNKNOWN, KeyCodeFromKeyIdentifier("U+0001")); 36 EXPECT_EQ(app::VKEY_UNKNOWN, KeyCodeFromKeyIdentifier("U+0001"));
37 } 37 }
38 38
39 TEST(KeyCodeFromKeyIdentifierTest, DoesNotMatchEmptyString) { 39 TEST(KeyCodeFromKeyIdentifierTest, DoesNotMatchEmptyString) {
40 EXPECT_EQ(app::VKEY_UNKNOWN, KeyCodeFromKeyIdentifier("")); 40 EXPECT_EQ(app::VKEY_UNKNOWN, KeyCodeFromKeyIdentifier(""));
41 } 41 }
42 42
43 } // namespace app 43 } // namespace app
OLDNEW
« no previous file with comments | « app/keyboard_code_conversion_mac.mm ('k') | app/keyboard_code_conversion_win.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698