Home
last modified time | relevance | path

Searched refs:displayName (Results 1 – 6 of 6) sorted by relevance

/libcore/luni/src/test/java/libcore/java/time/chrono/
DChronologyDisplayNameTest.java54 String displayName = chronology.getDisplayName(TextStyle.FULL, Locale.ENGLISH); in testDisplayName() local
55 assertNotNull(displayName); in testDisplayName()
56 assertFalse("".equals(displayName)); in testDisplayName()
65 String displayName = era.getDisplayName(TextStyle.FULL, Locale.ENGLISH); in testEras() local
66 assertNotNull(displayName); in testEras()
67 assertFalse("".equals(displayName)); in testEras()
68 assertTrue("Era name for " + era + " not unique.", eraNames.add(displayName)); in testEras()
/libcore/ojluni/src/main/java/java/net/
DNetworkInterface.java62 private String displayName; field in NetworkInterface
265 return "".equals(displayName) ? null : displayName; in getDisplayName()
427 ni.displayName = name; in getAll()
691 if (displayName != null) { in toString()
692 result += " (" + displayName + ")"; in toString()
/libcore/ojluni/src/main/java/java/util/
DTimeZone.java405 String displayName = names.getDisplayName(canonicalID, nameType, now); in getDisplayName() local
406 if (displayName != null) { in getDisplayName()
407 return displayName; in getDisplayName()
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/nio/charset/
DCharsetTest.java389 assertEquals(mockName, c.displayName()); in testConstructor_Normal()
390 assertEquals(mockName, c.displayName(Locale.getDefault())); in testConstructor_Normal()
435 assertEquals("mockChar", c.displayName()); in testConstructor_NullAliases()
436 assertEquals("mockChar", c.displayName(Locale.getDefault())); in testConstructor_NullAliases()
451 assertEquals("mockChar", c.displayName()); in testConstructor_NoAliases()
452 assertEquals("mockChar", c.displayName(Locale.getDefault())); in testConstructor_NoAliases()
526 assertEquals("mock", c.displayName(null)); in testDisplayName_Locale_Null()
/libcore/luni/src/test/java/libcore/java/util/
DLocaleTest.java186 private static void assertObsolete(String newCode, String oldCode, String displayName) { in assertObsolete() argument
197 assertEquals(displayName, newLocale.getDisplayLanguage(newLocale)); in assertObsolete()
198 assertEquals(displayName, oldLocale.getDisplayLanguage(newLocale)); in assertObsolete()
199 assertEquals(displayName, newLocale.getDisplayLanguage(oldLocale)); in assertObsolete()
200 assertEquals(displayName, oldLocale.getDisplayLanguage(oldLocale)); in assertObsolete()
/libcore/support/src/test/java/tests/resources/
Djunit4-4.3.1.jarMETA-INF/ META-INF/MANIFEST.MF junit/ junit/extensions/ junit/ ...