Home
last modified time | relevance | path

Searched refs:getMethodName (Results 1 – 25 of 146) sorted by relevance

123456

/external/jacoco/org.jacoco.report.test/src/org/jacoco/report/
DJavaNamesTest.java103 names.getMethodName("java/lang/Object", "wait", "()V", null)); in testGetMethodName1()
109 names.getMethodName("java/util/Collection", "remove", in testGetMethodName2()
116 names.getMethodName("java/util/List", "remove", "(I)V", null)); in testGetMethodName3()
121 assertEquals("add(int, Object)", names.getMethodName("java/util/List", in testGetMethodName4()
127 assertEquals("sort(Object[])", names.getMethodName("java/util/Arrays", in testGetMethodName5()
134 names.getMethodName("java/lang/Object", "<init>", "()V", null)); in testGetMethodName6()
139 assertEquals("static {...}", names.getMethodName( in testGetMethodName7()
145 assertEquals("update(Map.Entry)", names.getMethodName( in testGetMethodName8()
152 assertEquals("{...}", names.getMethodName("com/example/SomeClass$1", in testGetMethodName9()
/external/guava/guava-testlib/src/com/google/common/collect/testing/testers/
DAbstractListIndexOfTester.java43 protected abstract String getMethodName(); in getMethodName() method in AbstractListIndexOfTester
47 assertEquals(getMethodName() + "(firstElement) should return 0", in testFind_yes()
52 assertEquals(getMethodName() + "(notPresent) should return -1", in testFind_no()
58 assertEquals(getMethodName() + "(nullNotPresent) should return -1", in testFind_nullNotContainedButSupported()
66 getMethodName() + "(nullNotPresent) should return -1 or throw", in testFind_nullNotContainedAndUnsupported()
76 assertEquals(getMethodName() + "(notPresent) should return -1", in testFind_nonNullWhenNullContained()
84 assertEquals(getMethodName() + "(null) should return " + getNullLocation(), in testFind_nullContained()
90 assertEquals(getMethodName() + "(wrongType) should return -1 or throw", in testFind_wrongType()
/external/dexmaker/dexmaker-mockito-tests/src/main/java/com/android/dx/mockito/tests/
DCleanStackTrace.java51 assertEquals(here.getStackTrace()[0].getMethodName(), verifyLocation in cleanStackTraceAbstractClass()
52 .getStackTrace()[0].getMethodName()); in cleanStackTraceAbstractClass()
69 if (verifyLocation.getStackTrace()[i].getMethodName().equals(here in cleanStackTraceRegularClass()
70 .getStackTrace()[0].getMethodName())) { in cleanStackTraceRegularClass()
90 assertEquals(here.getStackTrace()[0].getMethodName(), verifyLocation in cleanStackTraceInterface()
91 .getStackTrace()[0].getMethodName()); in cleanStackTraceInterface()
DGeneralMocking.java131 e.getMessage().contains(here.getStackTrace()[0].getMethodName())); in verifyAdditionalInvocations()
143 assertEquals("throwThrowable", e.getStackTrace()[0].getMethodName()); in spyThrowingMethod()
158 assertEquals("throwOutOfMemoryError", e.getStackTrace()[0].getMethodName()); in spyErrorMethod()
170 assertEquals("throwNullPointerException", e.getStackTrace()[0].getMethodName()); in spyExceptingMethod()
183 assertEquals("callAbstractRealMethod", e.getStackTrace()[0].getMethodName()); in callAbstractRealMethod()
/external/testng/src/test/java/test/skipex/
DSkippedExceptionTest.java27 Assert.assertEquals(testSkips.get(0).getMethod().getMethodName(), "dummyTest"); in skippedExceptionInConfigurationMethods()
30 …Assert.assertEquals(confSkips.get(0).getMethod().getMethodName(), "configurationLevelSkipException… in skippedExceptionInConfigurationMethods()
47 Assert.assertEquals(skips.get(0).getMethod().getMethodName(), "genericSkipException"); in skippedExceptionInTestMethods()
48 Assert.assertEquals(failures.get(0).getMethod().getMethodName(), "timedSkipException"); in skippedExceptionInTestMethods()
49 Assert.assertEquals(passed.get(0).getMethod().getMethodName(), "genericExpectedSkipException"); in skippedExceptionInTestMethods()
/external/testng/src/test/java/test/name/
DNameTest.java30 Assert.assertEquals(result.getMethod().getMethodName(), "test"); in itestTest()
47 Assert.assertEquals(result.getMethod().getMethodName(), "test"); in itestTestWithXml()
64 Assert.assertEquals(result.getMethod().getMethodName(), "test"); in testNameTest()
81 Assert.assertEquals(result.getMethod().getMethodName(), "test"); in testNameTestWithXml()
98 Assert.assertEquals(result.getMethod().getMethodName(), "test"); in noNameTest()
115 Assert.assertEquals(result.getMethod().getMethodName(), "test"); in noNameTestWithXml()
/external/jacoco/org.jacoco.report/src/org/jacoco/report/
DJavaNames.java77 public String getMethodName(final String vmclassname, in getMethodName() method in JavaNames
80 return getMethodName(vmclassname, vmmethodname, vmdesc, false); in getMethodName()
87 + getMethodName(vmclassname, vmmethodname, vmdesc, true); in getQualifiedMethodName()
90 private String getMethodName(final String vmclassname, in getMethodName() method in JavaNames
/external/mockito/src/main/java/org/mockito/internal/stubbing/answers/
DReturns.java33 throw cannotStubVoidMethodWithAReturnValue(invocationInfo.getMethodName()); in validateFor()
37 …gTypeOfReturnValue(invocationInfo.printMethodReturnType(), "null", invocationInfo.getMethodName()); in validateFor()
41 …rnValue(invocationInfo.printMethodReturnType(), printReturnType(), invocationInfo.getMethodName()); in validateFor()
/external/guice/core/src/com/google/inject/internal/util/
DStackTraceElements.java133 String methodName = inMemoryStackTraceElements[i].getMethodName(); in convertToStackTraceElement()
150 weakIntern(inMemoryStackTraceElement.getMethodName()), in weakIntern()
172 this(ste.getClassName(), ste.getMethodName(), ste.getLineNumber()); in InMemoryStackTraceElement()
185 String getMethodName() { in getMethodName() method in StackTraceElements.InMemoryStackTraceElement
/external/junit/src/main/java/org/junit/rules/
DTestName.java32 name = d.getMethodName(); in starting()
38 public String getMethodName() { in getMethodName() method in TestName
/external/apache-harmony/jdwp/src/test/java/org/apache/harmony/jpda/tests/jdwp/ThreadReference/
DFramesTest.java90 methodName = getMethodName(frame.loc.classID, frame.loc.methodID); in testFrames005()
144 methodName = getMethodName(frame.loc.classID, frame.loc.methodID); in testFrames004()
199 methodName = getMethodName(frame.loc.classID, frame.loc.methodID); in testFrames003()
260 methodName = getMethodName(frame.loc.classID, frame.loc.methodID); in testFrames002()
286 methodName = getMethodName(frame.loc.classID, frame.loc.methodID); in testFrames002()
355 methodName = getMethodName(frame.loc.classID, frame.loc.methodID); in testFrames001()
383 methodName = getMethodName(frame.loc.classID, frame.loc.methodID); in testFrames001()
/external/testng/src/test/java/test/methodselectors/
DNoTest1MethodSelector.java22 ppp( method.getMethodName() + " is group test1, don't include" ); in includeMethod()
27 ppp( method.getMethodName() + " is not in group test1" ); in includeMethod()
/external/testng/src/main/java/org/testng/junit/
DJUnit4TestMethod.java14 super(owner, desc.getMethodName(), getMethod(desc), desc); in JUnit4TestMethod()
24 String method = desc.getMethodName(); in getMethod()
/external/testng/src/main/java/org/testng/reporters/util/
DStackTraceTools.java21 && method.getMethodName().equals(stack[x].getMethodName())) { in getTestRoot()
/external/testng/src/main/java/org/testng/reporters/jq/
DResultsByClass.java17 return arg0.getMethod().getMethodName().compareTo(
18 arg1.getMethod().getMethodName());
/external/robolectric-shadows/sandbox/src/test/java/org/robolectric/
DShadowWranglerIntegrationTest.java134 assertThat(stackTrace[0].getMethodName()).isEqualTo("method"); in shouldRemoveNoiseFromShadowedStackTraces()
138 assertThat(stackTrace[1].getMethodName()).isEqualTo("method"); in shouldRemoveNoiseFromShadowedStackTraces()
142 assertThat(stackTrace[2].getMethodName()).isEqualTo("shouldRemoveNoiseFromShadowedStackTraces"); in shouldRemoveNoiseFromShadowedStackTraces()
178 assertThat(stackTrace[0].getMethodName()).isEqualTo("method"); in shouldRemoveNoiseFromUnshadowedStackTraces()
182 … assertThat(stackTrace[1].getMethodName()).isEqualTo("shouldRemoveNoiseFromUnshadowedStackTraces"); in shouldRemoveNoiseFromUnshadowedStackTraces()
/external/testng/src/test/java/test/methodinterceptors/
DRemoveAMethodInterceptor.java20 String name = method.getMethod().getMethodName(); in intercept()
43 names.add(m.getMethod().getMethodName()); in getMethodNames()
DMethodInterceptorTest.java75 Assert.assertEquals(first.getMethod().getMethodName(), method); in testFast()
77 Assert.assertNotSame(first.getMethod().getMethodName(), method); in testFast()
/external/testng/src/main/java/org/testng/reporters/
DEmailableReporter2.java281 .getMethod().getMethodName()); in writeScenarioSummary()
379 .getMethodName()); in writeScenarioDetails()
595 result = o1.getMethod().getMethodName()
596 .compareTo(o2.getMethod().getMethodName());
664 String previousMethodName = result.getMethod().getMethodName(); in groupResults()
681 previousMethodName = result.getMethod().getMethodName(); in groupResults()
683 String methodName = result.getMethod().getMethodName(); in groupResults()
/external/testng/src/test/java/test/invokedmethodlistener/
DInvokedMethodListenerTest.java134 Assert.assertEquals(m.get(0).getTestMethod().getMethodName(), "someMethod1"); in assertIssue87()
135 Assert.assertEquals(m.get(1).getTestMethod().getMethodName(), "someMethod3"); in assertIssue87()
136 Assert.assertEquals(m.get(2).getTestMethod().getMethodName(), "someTest"); in assertIssue87()
/external/mockito/src/test/java/org/mockito/internal/stubbing/answers/
DThrowsExceptionTest.java47 …assertThat(throwableToRaise.getStackTrace()[0].getMethodName()).isEqualTo("should_fill_in_exceptio… in should_fill_in_exception_stacktrace()
57 assertThat(throwableToRaise.getStackTrace()[0].getMethodName()).isEqualTo("answer"); in should_fill_in_exception_stacktrace()
/external/testng/src/main/java/org/testng/internal/
DMethodInstance.java79 findXmlInclude(class1.getIncludedMethods(), o1.getMethod().getMethodName());
81 findXmlInclude(class2.getIncludedMethods(), o2.getMethod().getMethodName());
/external/proguard/src/proguard/classfile/editor/
DElementValuesEditor.java153 elementValue.getMethodName(targetClass)); in replaceElementValue()
230 if (elementValues[index].getMethodName(targetClass).equals(elementValueName)) in findElementValue()
/external/mockito/src/test/java/org/mockitoutil/
DConditions.java71 actualMethodAtIndex = throwable.getStackTrace()[stackTraceIndex].getMethodName();
115 …Assertions.assertThat(trace[i].getMethodName()).describedAs("Expected methods[%d] to be in the sta…
/external/testng/src/test/java/test/
DCommandLineTest.java36 String test1 = passed.get(0).getMethod().getMethodName(); in junitParsing()
37 String test2 = passed.get(1).getMethod().getMethodName(); in junitParsing()

123456