Home
last modified time | relevance | path

Searched refs:getClassName (Results 1 – 25 of 35) sorted by relevance

12

/libcore/luni/src/test/java/libcore/java/lang/
DOldStackTraceElementTest.java56 ste2 = new StackTraceElement(ste1.getClassName(), in test_ConstructorLjava_lang_StringLjava_lang_StringLjava_lang_StringI()
61 ste1.getClassName(), ste2.getClassName()); in test_ConstructorLjava_lang_StringLjava_lang_StringLjava_lang_StringI()
80 new StackTraceElement(ste2.getClassName(), in test_ConstructorLjava_lang_StringLjava_lang_StringLjava_lang_StringI()
89 new StackTraceElement(ste2.getClassName(), in test_ConstructorLjava_lang_StringLjava_lang_StringLjava_lang_StringI()
105 new StackTraceElement(ste1.getClassName(), in test_equalsLjava_lang_Object()
120 e.getStackTrace()[0].getClassName()); in test_getClassName()
123 e.getStackTrace()[1].getClassName()); in test_getClassName()
172 new StackTraceElement(ste1.getClassName(), in test_hashCode()
DStackWalkerTest.java53 assertEquals(test1Class.getName(), f.getClassName()); in testGetByteCodeIndex()
61 assertEquals(test1Class.getName(), f.getClassName()); in testGetByteCodeIndex()
67 assertEquals(StackWalkerTest.class.getName(), f.getClassName()); in testGetByteCodeIndex()
DThreadTest.java314 assertTrue(trace.getClassName().contains("ThreadTest") in getStackTrace()
393 assertEquals(result.getClassName(), className); in getStackTraceElement()
/libcore/ojluni/src/test/java/lang/StackWalker/
DStackRecorderUtil.java87 if (compareClassNames && !tf.className().equals(sf.getClassName())) { in compareFrame()
89 ", but got: " + sf.getClassName()); in compareFrame()
97 if (!(ste.getClassName().equals(tf.className()) && in compareFrame()
103 if (!Objects.equals(ste.getClassName(), sf.getClassName()) in compareFrame()
DStackStreamTest.java93 return f.getClassName().startsWith(StackStreamTest.class.getName()); in isTestClass()
127 .map(StackFrame::getClassName) in g()
181 if (!classNames.get(i).equals(stes.get(i).getClassName()) || in checkStackTraceElements()
193 System.out.println(" " + ste.getClassName() + ", " + ste.getMethodName()); in dumpSTEInfo()
205 System.out.println(e.getClassName() + "," + e.getMethodName()); in firstFrame()
218 System.err.println(e.getClassName() + " == " + in firstFrame()
219 e.getClassName().equals(selfName)); in firstFrame()
220 return e.getClassName().equals(selfName); in firstFrame()
DDumpStackTest.java65 String getClassName() { in getClassName() method in DumpStackTest.CallFrame
236 if (isAndroidTestInfra(actual[i].getClassName())) in assertStackTrace()
239 if (actual[i].getClassName().contains("$$ExternalSyntheticLambda")) { in assertStackTrace()
244 if (VMStack.class.getName().equals(actual[i].getClassName()) && in assertStackTrace()
252 if (!actual.getClassName().equals(expected.getClassName()) || in assertEquals()
DEmbeddedStackWalkTest.java79 s.map(StackFrame::getClassName) in call()
126 s.map(StackFrame::getClassName) in call()
143 .filter(f -> c.getName().equals(f.getClassName()) && mn.equals(f.getMethodName())) in verify()
150 assertEquals(c.getName(), st.getClassName()); in verify()
DWalkFunction.java61 if (!result.get().getClassName().equals(WalkFunction.class.getName())) { in testFunctions()
70 String name = f.getClassName(); in reduce()
84 return r.getClassName().compareTo(name) > 0 ? f : r; in reduce()
DBasic.java88 System.out.format("%s.%s %s%n", f.getClassName(), f.getMethodName(), in testMethodSignature()
154 if (f.getClassName().startsWith(Basic.class.getPackageName()) in accept()
155 || f.getClassName().contains(".reflect.")) { in accept()
165 return f.getClassName() + "::" + f.getMethodName(); in frame()
DStackWalkTest.java132 System.out.println("\t" + sf.getClassName() + "." + sf.getMethodName()); in consume()
136 if (infrastructureClasses.contains(sf.getClassName())) { in consume()
151 if (sf.getClassName().startsWith(pkg)) { in consume()
DHiddenFrames.java108 String cn = frame.getClassName(); in checkFrame()
DMultiThreadStackWalk.java143 .append(sfi.getClassName()) in consume()
202 .append(x.getClassName()) in consume()
/libcore/ojluni/src/main/java/java/lang/
DStackTraceElement.java241 public String getClassName() { in getClassName() method in StackTraceElement
342 result.append(getClassName()).append(".").append(methodName); in toString()
548 StackTraceElement ste = new StackTraceElement(sfi.getClassName(), sfi.getMethodName(), in of()
DStackFrameInfo.java80 public String getClassName() { in getClassName() method in StackFrameInfo
DStackWalker.java111 public String getClassName(); in getClassName() method
/libcore/luni/src/test/java/org/apache/harmony/security/tests/java/security/
DProviderTest.java305 "className".equals(s.getClassName())) { in testPutObjectObject()
310 "aaa.bbb.ccc.ddd".equals(s.getClassName())) { in testPutObjectObject()
315 "SomeClassName".equals(s.getClassName())) { in testPutObjectObject()
336 assertEquals("AnotherClassName", s.getClassName()); in testService1()
345 assertEquals("foo", p.getService("i", "i").getClassName()); in testGetServiceCaseSensitivity()
346 assertEquals("foo", p.getService("i", "I").getClassName()); in testGetServiceCaseSensitivity()
404 if (!"AnotherClassName".equals(s.getClassName())) { in testService2()
405 fail("Incorrect class name " + s.getClassName()); in testService2()
DProviderServiceTest.java80 if (!s.getClassName().equals("className")) { in testService()
174 assertTrue(s1.getClassName().equals("className")); in testGetClassName()
179 assertTrue(s2.getClassName().equals("tests.java.security.support.RandomImpl")); in testGetClassName()
/libcore/ojluni/src/main/java/java/util/
DMissingResourceException.java94 public String getClassName() { in getClassName() method in MissingResourceException
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/util/
DMissingResourceExceptionTest.java55 + '_' + Locale.getDefault(), e.getClassName()); in test_getClassName()
DResourceBundleTest.java232 assertEquals(nonExistentBundle + "_" + locale, e.getClassName()); in test_getBundle_getClassName()
239 assertEquals(nonExistentBundle + "_" + locale, e.getClassName()); in test_getBundle_getClassName()
247 assertEquals(nonExistentBundle + "_" + locale, e.getClassName()); in test_getBundle_getClassName()
/libcore/ojluni/annotations/hiddenapi/java/lang/
DStackTraceElement.java49 public java.lang.String getClassName() { in getClassName() method in StackTraceElement
/libcore/ojluni/src/test/java/time/test/java/util/
DTestFormatter.java142 private String getClassName(Object o) { in getClassName() method in TestFormatter
163 System.out.printf("%-24s : %s%n", getClassName(dt), out); in test()
205 getClassName(dt), out, expected); in test()
/libcore/ojluni/src/main/java/java/util/logging/
DLogRecord.java573 String cname = frame.getClassName(); in inferCaller()
DXMLFormatter.java205 escape(sb, frame.getClassName()); in format()
/libcore/ojluni/src/main/java/sun/security/jca/
DGetInstance.java260 + s.getClassName() + " not a " + s.getType()); in checkSuperClass()

12