aboutsummaryrefslogtreecommitdiffstats
path: root/tests/src
diff options
context:
space:
mode:
authorYohei Yukawa <yukawa@google.com>2014-07-09 14:59:20 +0000
committerAndroid Git Automerger <android-git-automerger@android.com>2014-07-09 14:59:20 +0000
commit757964ae46928536b3d19ef335147c10bd11050b (patch)
tree7d58c7ed98d5f90b2266fe00464f7335f3019e83 /tests/src
parent46111b79e6f11ef47c430e8f7050d2151fce1130 (diff)
parentfc137f35c8d7b03676475fbdeabdf82f89782419 (diff)
downloadlatinime-757964ae46928536b3d19ef335147c10bd11050b.tar.gz
latinime-757964ae46928536b3d19ef335147c10bd11050b.tar.xz
latinime-757964ae46928536b3d19ef335147c10bd11050b.zip
am fc137f35: Simplify the wrapper for TextInfo#getCharSequence
* commit 'fc137f35c8d7b03676475fbdeabdf82f89782419': Simplify the wrapper for TextInfo#getCharSequence
Diffstat (limited to 'tests/src')
-rw-r--r--tests/src/com/android/inputmethod/compat/TextInfoCompatUtilsTests.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/src/com/android/inputmethod/compat/TextInfoCompatUtilsTests.java b/tests/src/com/android/inputmethod/compat/TextInfoCompatUtilsTests.java
index 5721ed1ff..c399cced6 100644
--- a/tests/src/com/android/inputmethod/compat/TextInfoCompatUtilsTests.java
+++ b/tests/src/com/android/inputmethod/compat/TextInfoCompatUtilsTests.java
@@ -58,7 +58,7 @@ public class TextInfoCompatUtilsTests extends AndroidTestCase {
final Spanned expectedSpanned = (Spanned) text.subSequence(TEST_CHAR_SEQUENCE_START,
TEST_CHAR_SEQUENCE_END);
final CharSequence actualCharSequence =
- TextInfoCompatUtils.getCharSequence(textInfo, textInfo.getText());
+ TextInfoCompatUtils.getCharSequenceOrString(textInfo);
// This should be valid even if TextInfo#getCharSequence is not supported.
assertTrue(TextUtils.equals(expectedSpanned, actualCharSequence));