/external/jacoco/org.jacoco.report.test/src/org/jacoco/report/ |
D | JavaNamesTest.java | 103 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/ |
D | AbstractListIndexOfTester.java | 43 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/ |
D | CleanStackTrace.java | 51 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()
|
D | GeneralMocking.java | 131 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/ |
D | SkippedExceptionTest.java | 27 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/ |
D | NameTest.java | 30 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/ |
D | JavaNames.java | 77 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/ |
D | Returns.java | 33 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/ |
D | StackTraceElements.java | 133 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/ |
D | TestName.java | 32 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/ |
D | FramesTest.java | 90 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/ |
D | NoTest1MethodSelector.java | 22 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/ |
D | JUnit4TestMethod.java | 14 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/ |
D | StackTraceTools.java | 21 && method.getMethodName().equals(stack[x].getMethodName())) { in getTestRoot()
|
/external/testng/src/main/java/org/testng/reporters/jq/ |
D | ResultsByClass.java | 17 return arg0.getMethod().getMethodName().compareTo( 18 arg1.getMethod().getMethodName());
|
/external/robolectric-shadows/sandbox/src/test/java/org/robolectric/ |
D | ShadowWranglerIntegrationTest.java | 134 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/ |
D | RemoveAMethodInterceptor.java | 20 String name = method.getMethod().getMethodName(); in intercept() 43 names.add(m.getMethod().getMethodName()); in getMethodNames()
|
D | MethodInterceptorTest.java | 75 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/ |
D | EmailableReporter2.java | 281 .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/ |
D | InvokedMethodListenerTest.java | 134 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/ |
D | ThrowsExceptionTest.java | 47 …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/ |
D | MethodInstance.java | 79 findXmlInclude(class1.getIncludedMethods(), o1.getMethod().getMethodName()); 81 findXmlInclude(class2.getIncludedMethods(), o2.getMethod().getMethodName());
|
/external/proguard/src/proguard/classfile/editor/ |
D | ElementValuesEditor.java | 153 elementValue.getMethodName(targetClass)); in replaceElementValue() 230 if (elementValues[index].getMethodName(targetClass).equals(elementValueName)) in findElementValue()
|
/external/mockito/src/test/java/org/mockitoutil/ |
D | Conditions.java | 71 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/ |
D | CommandLineTest.java | 36 String test1 = passed.get(0).getMethod().getMethodName(); in junitParsing() 37 String test2 = passed.get(1).getMethod().getMethodName(); in junitParsing()
|