diff options
author | 2015-02-20 19:11:16 +0000 | |
---|---|---|
committer | 2015-02-20 19:11:16 +0000 | |
commit | f1ce7e1c531cbb1abcc494c61b3721b617b79bac (patch) | |
tree | a5940f3d10be5fa85bbcd1ef45d02acb834ea238 /tests/src/com/android/inputmethod/latin/DictionaryFacilitatorLruCacheTests.java | |
parent | b42013ae4f4cab5cc0188e756edd5ea030636567 (diff) | |
parent | fe3c4ef9401d7cdcf07498d97820980fa90528fb (diff) | |
download | latinime-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.java | 15 |
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(), ""); |