History log of /frameworks/base/core/tests/coretests/src/android/text/TextUtilsTest.java
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
463b48203ab777e0b81632c480de3d1d6f608aa4 07-Aug-2015 Roozbeh Pournader <roozbeh@google.com> Support all RTL scripts in getLayoutDirectionFromLocale().

Previously, only the languages written in Arabic and Hebrew were
considered right-to-left. Now, ICU is used to return the direction
of the language, which not only support other right-to-left scripts
(such as Thaana), but also has better logic to determine the
direction of the locale and uses caching to improve the speed.

Bug: 22559274
Change-Id: I760be7984a9b35ea77d59ca84a220798e205af36
/frameworks/base/core/tests/coretests/src/android/text/TextUtilsTest.java
fc2bd335d14ba14795cd2955f189536a53a0021f 27-May-2011 Mattias Petersson <mattias.petersson@sonyericsson.com> Fix for CharSequenceCreator test case

The test case testCharSequenceCreator() in TextUtilsTest fails
because the data position is not reset before calling
createFromParcel().

Change-Id: I6d5cc093ff65019ab0d2191bb0bd9c10ae49612b
/frameworks/base/core/tests/coretests/src/android/text/TextUtilsTest.java
f4c4a276e2a78528d2387319313e99c559142cf9 02-May-2011 Conley Owens <cco3@android.com> Merge commit 'f395e304' into m

Conflicts:
core/tests/coretests/src/android/text/TextUtilsTest.java

Change-Id: I7439f7f80cf91ff654c0ddd79c3e6b3808ba4784
cee2051adac53a85653ba8ead3a671c0978af43b 07-Apr-2011 Martin Wallgren <martin.wallgren@sonyericsson.com> CHAR_SEQUENCE_CREATOR cannot handle null string

TextUtils.writeToParcel can handle null as input CharSequence
but createFromParcel will throw NullPointerException. Transforming
to and from parcel should handle null in the same way.

Change-Id: I707ea9be2091d2655c5f63eaa57c5674befa5ad3
/frameworks/base/core/tests/coretests/src/android/text/TextUtilsTest.java
bc20ac85a56dec157226a2aa4239190d5714366d 05-Apr-2011 Brad Fitzpatrick <bradfitz@android.com> am e511fb33: am 9b1b6439: am 2ed72048: Merge "Always return a valid index from Rfc822Tokenizer.findTokenEnd()"

* commit 'e511fb33d33f0ba83ce437f615fa236f369b5ade':
Always return a valid index from Rfc822Tokenizer.findTokenEnd()
114f98a75334813fe116da3d95567db8984d45b9 18-Jan-2011 Mattias Niklewski <mattias.niklewski@sonyericsson.com> Always return a valid index from Rfc822Tokenizer.findTokenEnd()

If an invalid input string ends with a backslash inside a comment
or quoted string, the returned index would be past the end of the
string. In one case this would lead to a runtime exception being
thrown from MultiAutoCompleteTextView.performValidation.

Change-Id: If629372b429716c25cdc25764f088e95d4812d57
/frameworks/base/core/tests/coretests/src/android/text/TextUtilsTest.java
1e3ac18e7ad03e02819f3e1a89d6a80a2bb7645f 08-Mar-2011 Gilles Debunne <debunne@google.com> Empty spans are not considered in text layout/rendering process.

Bug http://code.google.com/p/android/issues/detail?id=14786

Empty spans are affecting the text before and after them. See the
comment in TextUtils.removeEmptySpans for details.

Change-Id: I40376c32fd56a17efde6219f9b2593e4b4ab1ba1
/frameworks/base/core/tests/coretests/src/android/text/TextUtilsTest.java
fcf1948aeb0b548d1f89890d58baefd008880cb7 30-Sep-2010 Paul Westbrook <pwestbro@google.com> Moved Rfc822 validator test

Moved rfc822 validator test to framework/ex, as this is where
the code lives

Change-Id: Ia12e67364df9c8f9351dea423d769454a5d4e58d
/frameworks/base/core/tests/coretests/src/android/text/TextUtilsTest.java
11fe181e16501103d7c0f70344661ea2ef5d3df9 11-Sep-2010 Brad Fitzpatrick <bradfitz@android.com> Add faster TextUtil function for searching delimited lists.

The previous version in Settings allocated memory.

Change-Id: I0f821112dc8f830689489f201ce268195f9e6cbd
/frameworks/base/core/tests/coretests/src/android/text/TextUtilsTest.java
ee7e6a78e28b360826f215e0e84d43b1513b6401 03-Jun-2010 The Android Open Source Project <initial-contribution@android.com> merge from open-source master

Change-Id: Idf8d5661d7b261b74ac0b1271af98795ac5faff9
1a44d5dcabc18cd5ef111f732ccff91683a1a093 13-Jan-2010 Neal Nguyen <tommyn@google.com> Phase 2 of test cleanup: moving test files from AndroidTests closer to their sources.

Most of these are file moves; a couple notable exceptions are the changes due to the move, and fixing up test code:
- database/DatabaseCursorTest.java
- database/DatabaseStatementTest.java
- net/UriTest.java
/frameworks/base/core/tests/coretests/src/android/text/TextUtilsTest.java