| Index: chrome/browser/chromeos/input_method/input_method_manager_impl_unittest.cc
|
| diff --git a/chrome/browser/chromeos/input_method/input_method_manager_impl_unittest.cc b/chrome/browser/chromeos/input_method/input_method_manager_impl_unittest.cc
|
| index 8cd99824d46106e04f5d476fabe133856bfb82b1..b447ac9f0d1a2bcfbe7b457136321b49410b689d 100644
|
| --- a/chrome/browser/chromeos/input_method/input_method_manager_impl_unittest.cc
|
| +++ b/chrome/browser/chromeos/input_method/input_method_manager_impl_unittest.cc
|
| @@ -294,6 +294,13 @@ TEST_F(InputMethodManagerImplTest, TestEnableLayouts) {
|
| EXPECT_EQ(2U, manager_->GetNumActiveInputMethods());
|
| }
|
|
|
| +TEST_F(InputMethodManagerImplTest, TestEnableLayoutsAndCurrentInputMethod) {
|
| + // For http://crbug.com/329061
|
| + manager_->EnableLayouts("en-US", "xkb:se::swe");
|
| + const std::string im_id = manager_->GetCurrentInputMethod().id();
|
| + EXPECT_EQ("xkb:se::swe", im_id);
|
| +}
|
| +
|
| TEST_F(InputMethodManagerImplTest, TestEnableLayoutsNonUsHardwareKeyboard) {
|
| // The physical layout is French.
|
| delegate_->set_hardware_keyboard_layout("xkb:fr::fra");
|
|
|