Home
last modified time | relevance | path

Searched refs:assertStructuredName (Results 1 – 3 of 3) sorted by relevance

/packages/apps/ContactsCommon/tests/src/com/android/contacts/common/util/
DNameConverterTests.java56 assertStructuredName("Mr. John Quincy Adams, Esquire", in testDisplayNameToStructuredName()
58 assertStructuredName("John Doe", null, "John", null, "Doe", null); in testDisplayNameToStructuredName()
59 assertStructuredName("Ms. Jane Eyre", "Ms.", "Jane", null, "Eyre", null); in testDisplayNameToStructuredName()
60 assertStructuredName("Dr Leo Spaceman, PhD", "Dr", "Leo", null, "Spaceman", "PhD"); in testDisplayNameToStructuredName()
72 private void assertStructuredName(String displayName, String prefix, in assertStructuredName() method in NameConverterTests
/packages/providers/ContactsProvider/tests/src/com/android/providers/contacts/
DBaseContactsProvider2Test.java664 protected void assertStructuredName(long rawContactId, String prefix, String givenName, in assertStructuredName() method in BaseContactsProvider2Test
DContactsProvider2Test.java4613 assertStructuredName(rawContactId, "Mr.", "John", "Kevin", "von Smith", "Jr."); in testDisplayNameParsingWhenPartsUnspecified()
4623 assertStructuredName(rawContactId, "Mr.", "John", "Kevin", "von Smith", "Jr."); in testDisplayNameParsingWhenPartsAreNull()
4633 assertStructuredName(rawContactId, null, null, null, "Johnson", null); in testDisplayNameParsingWhenPartsSpecified()