am 7c4ef052: Merge "Fix for CharSequenceCreator test case"
* commit '7c4ef052d521d5ccf8acfb03c9332b59ea737cea': Fix for CharSequenceCreator test case
This commit is contained in:
@@ -353,6 +353,7 @@ public class TextUtilsTest extends TestCase {
|
||||
assertNull("null CharSequence should generate null from parcel", text);
|
||||
p = Parcel.obtain();
|
||||
TextUtils.writeToParcel("test", p, 0);
|
||||
p.setDataPosition(0);
|
||||
text = TextUtils.CHAR_SEQUENCE_CREATOR.createFromParcel(p);
|
||||
assertEquals("conversion to/from parcel failed", "test", text);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user