Home
last modified time | relevance | path

Searched refs:getSimpleName (Results 1 – 19 of 19) sorted by relevance

/libcore/luni/src/test/java/libcore/java/lang/reflect/
DOldAndroidClassTest.java237 assertEquals("OldAndroidClassTest", clazz.getSimpleName()); in testVariousClassNames()
243 assertEquals("MemberClass", clazz.getSimpleName()); in testVariousClassNames()
253 assertEquals("LocalClass", clazz.getSimpleName()); in testVariousClassNames()
259 assertEquals("", clazz.getSimpleName()); in testVariousClassNames()
267 assertEquals("Mou$$aka", clazz.getSimpleName()); in testVariousClassNames()
273 assertEquals("Mi$o$oup", clazz.getSimpleName()); in testVariousClassNames()
282 assertEquals("Ma$hedPotatoe$", clazz.getSimpleName()); in testVariousClassNames()
DAnnotationsTest.java252 assertEquals("AnnotationsTest", AnnotationsTest.class.getSimpleName()); in testInnerClassName()
253 assertEquals("Foo", Foo.class.getSimpleName()); in testInnerClassName()
254 assertEquals("", staticAnonymous.getClass().getSimpleName()); in testInnerClassName()
/libcore/ojluni/src/main/java/java/util/
DIntSummaryStatistics.java163 this.getClass().getSimpleName(), in toString()
DLongSummaryStatistics.java175 this.getClass().getSimpleName(), in toString()
DDoubleSummaryStatistics.java225 this.getClass().getSimpleName(), in toString()
/libcore/luni/src/test/java/libcore/java/lang/
DClassTest.java84 assertEquals("TestBadInnerClass_InnerXXXXX", cl.getSimpleName()); in test_b28833829()
DOldClassTest.java526 assertEquals("PublicTestClass", PublicTestClass.class.getSimpleName()); in test_getSimpleName()
527 assertEquals("void", void.class.getSimpleName()); in test_getSimpleName()
528 assertEquals("int[]", int[].class.getSimpleName()); in test_getSimpleName()
/libcore/ojluni/src/main/java/java/util/stream/
DSpinedBuffer.java824 getClass().getSimpleName(), array.length, in toString()
830 getClass().getSimpleName(), array.length, in toString()
939 getClass().getSimpleName(), array.length, in toString()
945 getClass().getSimpleName(), array.length, in toString()
1054 getClass().getSimpleName(), array.length, in toString()
1060 getClass().getSimpleName(), array.length, in toString()
/libcore/luni/src/main/java/libcore/util/
DObjects.java45 sb.append(c.getSimpleName()).append('['); in toString()
/libcore/luni/src/test/java/libcore/javax/crypto/
DECDHKeyAgreementTest.java111 throw new RuntimeException(getClass().getSimpleName() + ".testKnownAnswer(" in testKnownAnswer()
360 + getClass().getSimpleName() + "." + invokedMethodName + "(Provider)"); in invokeCallingMethodForEachKeyAgreementProvider()
367 throw new RuntimeException(getClass().getSimpleName() + "." + invokedMethodName in invokeCallingMethodForEachKeyAgreementProvider()
/libcore/luni/src/test/java/libcore/java/net/
DServerSocketConcurrentCloseTest.java15 private static final String TAG = ServerSocketConcurrentCloseTest.class.getSimpleName();
/libcore/tzdata/update/src/test/libcore/tzdata/update/
DConfigBundleTest.java115 final String tempPrefix = getClass().getSimpleName(); in createTempDir()
DFileUtilsTest.java252 File file = File.createTempFile(getClass().getSimpleName(), ".txt"); in createTextFile()
308 final String tempPrefix = getClass().getSimpleName(); in createTempDir()
/libcore/benchmarks/src/benchmarks/regression/
DAnnotatedElementBenchmark.java192 HasSmallAnnotation.class.getSimpleName(); in timeGetSimpleName()
/libcore/ojluni/src/main/java/java/lang/
DClass.java1155 public String getSimpleName() { in getSimpleName() method in Class
1157 return getComponentType().getSimpleName()+"[]"; in getSimpleName()
1208 return enclosingName + "." + getSimpleName(); in getCanonicalName()
/libcore/jsr166-tests/src/test/java/jsr166/
DJSR166TestCase.java1340 threadShouldThrow(exceptionClass.getSimpleName());
1360 threadShouldThrow(exceptionClass.getSimpleName());
/libcore/ojluni/src/test/java/util/stream/bootlib/java/util/stream/
DTestData.java242 return getClass().getSimpleName() + "[" + name + "]"; in toString()
/libcore/ojluni/src/test/java/util/stream/testlib/org/openjdk/testlib/java/util/stream/
DTestData.java243 return getClass().getSimpleName() + "[" + name + "]"; in toString()
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/io/
DFileTest.java72 …(System.getProperty("java.io.tmpdir")) + "harmony-test-" + getClass().getSimpleName() + File.separ… in setUp()