Searched refs:SpannedTestUtils (Results 1 – 3 of 3) sorted by relevance
/packages/apps/ContactsCommon/tests/src/com/android/contacts/common/format/ |
D | TextHighlighterTest.java | 23 import com.android.contacts.common.format.SpannedTestUtils; 46 SpannedTestUtils.assertNotSpanned(seq, ""); in testApply_EmptyPrefix() 49 SpannedTestUtils.assertNotSpanned(seq, "test"); in testApply_EmptyPrefix() 56 SpannedTestUtils.assertPrefixSpan(seq, 0, 1); in testSetText_MatchingPrefix() 59 SpannedTestUtils.assertPrefixSpan(seq, 0, 1); in testSetText_MatchingPrefix() 62 SpannedTestUtils.assertPrefixSpan(seq, 0, 1); in testSetText_MatchingPrefix() 65 SpannedTestUtils.assertPrefixSpan(seq, 2, 3); in testSetText_MatchingPrefix() 70 SpannedTestUtils.assertNotSpanned(seq, "test"); in testSetText_NotMatchingPrefix() 76 SpannedTestUtils.assertPrefixSpan(seq, 2, 3); in testSetText_FirstMatch() 82 SpannedTestUtils.assertNotSpanned(seq, "atest"); in testSetText_NoMatchingMiddleOfWord() [all …]
|
/packages/apps/ContactsCommon/tests/src/com/android/contacts/common/list/ |
D | ContactListItemViewTest.java | 27 import com.android.contacts.common.format.SpannedTestUtils; 84 SpannedTestUtils.assertPrefixSpan(seq, 5, 7); in testShowDisplayName_WithPrefix() 96 SpannedTestUtils.assertPrefixSpan(seq, 5, 7); in testShowDisplayName_WithPrefixReversed() 107 SpannedTestUtils.assertPrefixSpan(seq, 10, 13); in testSetSnippet_Prefix()
|
/packages/apps/ContactsCommon/src/com/android/contacts/common/format/ |
D | SpannedTestUtils.java | 33 public class SpannedTestUtils { class
|