| OLD | NEW |
| 1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2011 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 var kNewInputMethodTemplate = '_comp_ime_{EXT_ID}xkb:fr::fra'; | 5 var kNewInputMethodTemplate = '_comp_ime_{EXT_ID}xkb:fr::fra'; |
| 6 var kInitialInputMethodRegex = /_comp_ime_([a-z]{32})xkb:us::eng/; | 6 var kInitialInputMethodRegex = /_comp_ime_([a-z]{32})xkb:us::eng/; |
| 7 var kInvalidInputMethod = 'xx::xxx'; | 7 var kInvalidInputMethod = 'xx::xxx'; |
| 8 | 8 |
| 9 var testParams = { | 9 var testParams = { |
| 10 initialInputMethod: '', | 10 initialInputMethod: '', |
| (...skipping 179 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 190 .then(function() { | 190 .then(function() { |
| 191 return getAddPromise(wordToAdd); | 191 return getAddPromise(wordToAdd); |
| 192 }); | 192 }); |
| 193 } | 193 } |
| 194 | 194 |
| 195 chrome.test.sendMessage('ready'); | 195 chrome.test.sendMessage('ready'); |
| 196 chrome.test.runTests( | 196 chrome.test.runTests( |
| 197 [initTests, setTest, getTest, observeTest, setInvalidTest, getListTest, | 197 [initTests, setTest, getTest, observeTest, setInvalidTest, getListTest, |
| 198 loadDictionaryAsyncTest, fetchDictionaryTest, addWordToDictionaryTest, | 198 loadDictionaryAsyncTest, fetchDictionaryTest, addWordToDictionaryTest, |
| 199 dictionaryChangedTest]); | 199 dictionaryChangedTest]); |
| OLD | NEW |