Home
last modified time | relevance | path

Searched refs:SpannedTestUtils (Results 1 – 4 of 4) sorted by relevance

/aosp12/packages/apps/Contacts/tests/src/com/android/contacts/format/
H A DTextHighlighterTest.java43 SpannedTestUtils.assertNotSpanned(seq, ""); in testApply_EmptyPrefix()
46 SpannedTestUtils.assertNotSpanned(seq, "test"); in testApply_EmptyPrefix()
53 SpannedTestUtils.assertPrefixSpan(seq, 0, 1); in testSetText_MatchingPrefix()
56 SpannedTestUtils.assertPrefixSpan(seq, 0, 1); in testSetText_MatchingPrefix()
59 SpannedTestUtils.assertPrefixSpan(seq, 0, 1); in testSetText_MatchingPrefix()
62 SpannedTestUtils.assertPrefixSpan(seq, 2, 3); in testSetText_MatchingPrefix()
67 SpannedTestUtils.assertNotSpanned(seq, "test"); in testSetText_NotMatchingPrefix()
73 SpannedTestUtils.assertPrefixSpan(seq, 2, 3); in testSetText_FirstMatch()
79 SpannedTestUtils.assertNotSpanned(seq, "atest"); in testSetText_NoMatchingMiddleOfWord()
82 SpannedTestUtils.assertNotSpanned(seq, "atest otest"); in testSetText_NoMatchingMiddleOfWord()
[all …]
H A DSpannedTestUtils.java31 public class SpannedTestUtils { class
/aosp12/packages/apps/Contacts/tests/src/com/android/contacts/list/
H A DContactListItemViewTest.java26 import com.android.contacts.format.SpannedTestUtils;
82 SpannedTestUtils.assertPrefixSpan(seq, 5, 7); in testShowDisplayName_WithPrefix()
97 SpannedTestUtils.assertPrefixSpan(seq, 5, 7); in testShowDisplayName_WithPrefixReversed()
108 SpannedTestUtils.assertPrefixSpan(seq, 10, 13); in testSetSnippet_Prefix()
/aosp12/packages/apps/Dialer/
H A DAndroid.mk38 $(BASE_DIR)/contacts/common/format/testing/SpannedTestUtils.java