| OLD | NEW |
| 1 // Copyright 2013 The Chromium Authors. All rights reserved. | 1 // Copyright 2013 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 "chromeos/ime/extension_ime_util.h" | 5 #include "ui/chromeos/ime/extension_ime_util.h" |
| 6 | 6 |
| 7 #include <string> | 7 #include <string> |
| 8 | 8 |
| 9 #include "testing/gtest/include/gtest/gtest.h" | 9 #include "testing/gtest/include/gtest/gtest.h" |
| 10 | 10 |
| 11 namespace chromeos { | 11 namespace chromeos { |
| 12 | 12 |
| 13 TEST(ExtensionIMEUtilTest, GetInputMethodIDTest) { | 13 TEST(ExtensionIMEUtilTest, GetInputMethodIDTest) { |
| 14 EXPECT_EQ("_ext_ime_ABCDE12345", | 14 EXPECT_EQ("_ext_ime_ABCDE12345", |
| 15 extension_ime_util::GetInputMethodID("ABCDE", "12345")); | 15 extension_ime_util::GetInputMethodID("ABCDE", "12345")); |
| (...skipping 62 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 78 extention1)); | 78 extention1)); |
| 79 EXPECT_FALSE(extension_ime_util::IsMemberOfExtension(extention_1_engine_1, | 79 EXPECT_FALSE(extension_ime_util::IsMemberOfExtension(extention_1_engine_1, |
| 80 extention2)); | 80 extention2)); |
| 81 EXPECT_FALSE(extension_ime_util::IsMemberOfExtension(extention_1_engine_2, | 81 EXPECT_FALSE(extension_ime_util::IsMemberOfExtension(extention_1_engine_2, |
| 82 extention2)); | 82 extention2)); |
| 83 EXPECT_FALSE(extension_ime_util::IsMemberOfExtension(component_3_engine_3, | 83 EXPECT_FALSE(extension_ime_util::IsMemberOfExtension(component_3_engine_3, |
| 84 extention3)); | 84 extention3)); |
| 85 } | 85 } |
| 86 | 86 |
| 87 } // namespace chromeos | 87 } // namespace chromeos |
| OLD | NEW |