Chromium Code Reviews| Index: chrome/test/data/extensions/api_test/input_method/background.js |
| diff --git a/chrome/test/data/extensions/api_test/input_method/background.js b/chrome/test/data/extensions/api_test/input_method/background.js |
| index ccfc67e14f687515b88846cbc9acbf1c35a67abe..2a04b82758796ad53c1f81d423806cecd1da46fd 100644 |
| --- a/chrome/test/data/extensions/api_test/input_method/background.js |
| +++ b/chrome/test/data/extensions/api_test/input_method/background.js |
| @@ -192,8 +192,15 @@ function dictionaryChangedTest() { |
| }); |
| } |
| +function imeMenuConfigTest() { |
| + chrome.inputMethodPrivate.getInputMethodConfig(function(config) { |
| + chrome.test.assertTrue(config["isImeMenuActivated"]); |
| + chrome.test.succeed(); |
| + }); |
|
stevenjb
2016/01/20 18:33:43
This tests the initial state, but not the event. S
Azure Wei
2016/01/21 10:25:07
imeMenuActivationChangedTest() is added to test th
|
| +} |
| + |
| chrome.test.sendMessage('ready'); |
| chrome.test.runTests( |
| [initTests, setTest, getTest, observeTest, setInvalidTest, getListTest, |
| loadDictionaryAsyncTest, fetchDictionaryTest, addWordToDictionaryTest, |
| - dictionaryChangedTest]); |
| + ictionaryChangedTest, imeMenuConfigTest]); |
|
stevenjb
2016/01/20 18:33:43
'd' missing at beginning of line. (Did this succee
Azure Wei
2016/01/21 10:25:07
Sorry about the mistake.
|