aboutsummaryrefslogtreecommitdiffstats
path: root/tests/src/com/android/inputmethod/latin/DictionaryFacilitatorLruCacheTests.java
diff options
context:
space:
mode:
authorDan Zivkovic <zivkovic@google.com>2015-02-20 19:11:16 +0000
committerAndroid Git Automerger <android-git-automerger@android.com>2015-02-20 19:11:16 +0000
commitf1ce7e1c531cbb1abcc494c61b3721b617b79bac (patch)
treea5940f3d10be5fa85bbcd1ef45d02acb834ea238 /tests/src/com/android/inputmethod/latin/DictionaryFacilitatorLruCacheTests.java
parentb42013ae4f4cab5cc0188e756edd5ea030636567 (diff)
parentfe3c4ef9401d7cdcf07498d97820980fa90528fb (diff)
downloadlatinime-f1ce7e1c531cbb1abcc494c61b3721b617b79bac.tar.gz
latinime-f1ce7e1c531cbb1abcc494c61b3721b617b79bac.tar.xz
latinime-f1ce7e1c531cbb1abcc494c61b3721b617b79bac.zip
am fe3c4ef9: Merge "Spell checker uses cache of size 1."
* commit 'fe3c4ef9401d7cdcf07498d97820980fa90528fb': Spell checker uses cache of size 1.
Diffstat (limited to 'tests/src/com/android/inputmethod/latin/DictionaryFacilitatorLruCacheTests.java')
-rw-r--r--tests/src/com/android/inputmethod/latin/DictionaryFacilitatorLruCacheTests.java15
1 files changed, 0 insertions, 15 deletions
diff --git a/tests/src/com/android/inputmethod/latin/DictionaryFacilitatorLruCacheTests.java b/tests/src/com/android/inputmethod/latin/DictionaryFacilitatorLruCacheTests.java
index 5340b6fa7..4f924abc7 100644
--- a/tests/src/com/android/inputmethod/latin/DictionaryFacilitatorLruCacheTests.java
+++ b/tests/src/com/android/inputmethod/latin/DictionaryFacilitatorLruCacheTests.java
@@ -23,21 +23,6 @@ import android.test.suitebuilder.annotation.LargeTest;
@LargeTest
public class DictionaryFacilitatorLruCacheTests extends AndroidTestCase {
- public void testCacheSize() {
- final DictionaryFacilitatorLruCache cache =
- new DictionaryFacilitatorLruCache(getContext(), "");
-
- assertEquals(0, cache.getCachedLocalesForTesting().size());
- assertNotNull(cache.get(Locale.US));
- assertEquals(1, cache.getCachedLocalesForTesting().size());
- assertNotNull(cache.get(Locale.UK));
- assertEquals(2, cache.getCachedLocalesForTesting().size());
- assertNotNull(cache.get(Locale.FRENCH));
- assertEquals(2, cache.getCachedLocalesForTesting().size());
- cache.evictAll();
- assertEquals(0, cache.getCachedLocalesForTesting().size());
- }
-
public void testGetFacilitator() {
final DictionaryFacilitatorLruCache cache =
new DictionaryFacilitatorLruCache(getContext(), "");