aboutsummaryrefslogtreecommitdiffstats
path: root/tests/src
diff options
context:
space:
mode:
authorDan Zivkovic <zivkovic@google.com>2015-03-13 02:20:31 +0000
committerAndroid Git Automerger <android-git-automerger@android.com>2015-03-13 02:20:31 +0000
commit48d8911597f99ef84105056851fbe0a5f5d013a2 (patch)
treecd90797ea25bec0f0a9c6099aafbb6caffc42029 /tests/src
parent326261181d9c0df6c586014fa46aceaeb020886b (diff)
parenteaa710d4aaac75ff2b7e29608d004fe7662b392e (diff)
downloadlatinime-48d8911597f99ef84105056851fbe0a5f5d013a2.tar.gz
latinime-48d8911597f99ef84105056851fbe0a5f5d013a2.tar.xz
latinime-48d8911597f99ef84105056851fbe0a5f5d013a2.zip
am eaa710d4: Separate executor for the Spelling decoder.
* commit 'eaa710d4aaac75ff2b7e29608d004fe7662b392e': Separate executor for the Spelling decoder.
Diffstat (limited to 'tests/src')
-rw-r--r--tests/src/com/android/inputmethod/latin/utils/ExecutorUtilsTests.java3
1 files changed, 2 insertions, 1 deletions
diff --git a/tests/src/com/android/inputmethod/latin/utils/ExecutorUtilsTests.java b/tests/src/com/android/inputmethod/latin/utils/ExecutorUtilsTests.java
index d722151cf..86923059b 100644
--- a/tests/src/com/android/inputmethod/latin/utils/ExecutorUtilsTests.java
+++ b/tests/src/com/android/inputmethod/latin/utils/ExecutorUtilsTests.java
@@ -35,7 +35,8 @@ public class ExecutorUtilsTests extends AndroidTestCase {
private static final int DELAY_FOR_WAITING_TASKS_MILLISECONDS = 500;
public void testExecute() {
- final ExecutorService executor = ExecutorUtils.getBackgroundExecutor();
+ final ExecutorService executor =
+ ExecutorUtils.getBackgroundExecutor(ExecutorUtils.KEYBOARD);
final AtomicInteger v = new AtomicInteger(0);
for (int i = 0; i < NUM_OF_TASKS; ++i) {
executor.execute(new Runnable() {