/external/testng/src/main/java/org/testng/internal/ |
D | Invoker.java | 727 void collectResults(ITestNGMethod testMethod, Collection<ITestResult> results) { in collectResults() argument 732 m_notifier.addPassedTest(testMethod, result); in collectResults() 735 m_notifier.addSkippedTest(testMethod, result); in collectResults() 738 m_notifier.addFailedTest(testMethod, result); in collectResults() 741 m_notifier.addFailedButWithinSuccessPercentageTest(testMethod, result); in collectResults() 974 private ParameterBag createParameters(ITestNGMethod testMethod, in createParameters() argument 986 instance = testMethod.getInstance(); in createParameters() 989 ParameterBag bag = handleParameters(testMethod, in createParameters() 1012 public List<ITestResult> invokeTestMethods(ITestNGMethod testMethod, in invokeTestMethods() argument 1020 assert null != testMethod.getTestClass() in invokeTestMethods() [all …]
|
D | TestMethodWorker.java | 105 ITestNGMethod testMethod = testMthdInst.getMethod(); in run() local 106 ITestClass testClass = testMethod.getTestClass(); in run() 112 invokeTestMethods(testMethod, testMthdInst.getInstance(), m_testContext); in run() 295 MethodInstance testMethod, in SingleTestMethodWorker() argument 302 new MethodInstance[] {testMethod}, in SingleTestMethodWorker()
|
D | Parameters.java | 403 public static ParameterHolder handleParameters(ITestNGMethod testMethod, in handleParameters() argument 419 findDataProvider(instance, testMethod.getTestClass(), in handleParameters() 420 testMethod.getConstructorOrMethod(), annotationFinder, methodParams.context); in handleParameters() 423 int parameterCount = testMethod.getConstructorOrMethod().getParameterTypes().length; in handleParameters() 433 testMethod, in handleParameters() 439 testMethod.getInvocationNumbers()); in handleParameters() 451 allParameterValuesArray[0] = createParameters(testMethod.getMethod(), in handleParameters() 457 testMethod.setParameterInvocationCount(allParameterValuesArray.length); in handleParameters()
|
/external/junit/src/main/java/org/junit/internal/runners/ |
D | MethodRoadie.java | 30 private TestMethod testMethod; field in MethodRoadie 36 testMethod = method; in MethodRoadie() 40 if (testMethod.isIgnored()) { in run() 46 long timeout = testMethod.getTimeout(); in run() 108 testMethod.invoke(test); in runTestMethod() 109 if (testMethod.expectsException()) { in runTestMethod() 110 …addFailure(new AssertionError("Expected exception: " + testMethod.getExpectedException().getName()… in runTestMethod() 116 } else if (!testMethod.expectsException()) { in runTestMethod() 118 } else if (testMethod.isUnexpected(actual)) { in runTestMethod() 119 …String message = "Unexpected exception, expected<" + testMethod.getExpectedException().getName() +… in runTestMethod() [all …]
|
/external/testng/src/test/java/test/annotationtransformer/ |
D | MyParamTransformer.java | 15 Constructor testConstructor, Method testMethod) { in transform() argument 16 if (!onlyOneNonNull(testClass, testConstructor, testMethod)) { in transform() 21 …ic static boolean onlyOneNonNull(Class testClass, Constructor testConstructor, Method testMethod) { in onlyOneNonNull() argument 22 return ((testClass != null && testConstructor == null && testMethod == null) || in onlyOneNonNull() 23 (testClass == null && testConstructor != null && testMethod == null) || in onlyOneNonNull() 24 (testClass == null && testConstructor == null && testMethod != null) ); in onlyOneNonNull()
|
D | MyTransformer.java | 17 Constructor testConstructor, Method testMethod) { in transform() argument 19 if (testMethod != null) { in transform() 20 switch (testMethod.getName()) { in transform() 31 methodNames.add(testMethod.getName()); in transform()
|
D | FactoryTransformer.java | 16 Constructor testConstructor, Method testMethod) in transform() argument 21 public void transform(IDataProviderAnnotation annotation, Method testMethod) { in transform() argument 26 Constructor testConstructor, Method testMethod) in transform() argument 31 public void transform(IFactoryAnnotation annotation, Method testMethod) { in transform() argument
|
D | DataProviderTransformer.java | 16 Constructor testConstructor, Method testMethod) in transform() argument 21 public void transform(IDataProviderAnnotation annotation, Method testMethod) { in transform() argument 27 Constructor testConstructor, Method testMethod) in transform() argument 32 public void transform(IFactoryAnnotation annotation, Method testMethod) { in transform() argument
|
D | ConfigurationTransformer.java | 16 Constructor testConstructor, Method testMethod) in transform() argument 22 Constructor testConstructor, Method testMethod) in transform() argument 30 public void transform(IDataProviderAnnotation annotation, Method testMethod) { in transform() argument 34 public void transform(IFactoryAnnotation annotation, Method testMethod) { in transform() argument
|
D | AnnotationTransformerInvocationCountTest.java | 22 Constructor testConstructor, Method testMethod) { in transform() argument 23 if ("concurrencyTest".equals(testMethod.getName())) { in transform()
|
/external/junit-params/src/main/java/junitparams/internal/ |
D | InvokeNonParameterisedMethod.java | 11 private final FrameworkMethod testMethod; field in InvokeNonParameterisedMethod 14 InvokeNonParameterisedMethod(FrameworkMethod testMethod, Object testClass) { in InvokeNonParameterisedMethod() argument 15 this.testMethod = testMethod; in InvokeNonParameterisedMethod() 21 testMethod.invokeExplosively(testClass); in evaluate()
|
D | InvokeParameterisedMethod.java | 23 private final FrameworkMethod testMethod; field in InvokeParameterisedMethod 26 public InvokeParameterisedMethod(FrameworkMethod testMethod, Object testClass, Object params) { in InvokeParameterisedMethod() argument 27 this.testMethod = testMethod; in InvokeParameterisedMethod() 71 if (testMethod.getMethod().getParameterTypes()[0].isArray()) { in createObjectOfExpectedTypeBasedOnParams() 77 …resultParam = testMethod.getMethod().getParameterTypes()[0].getConstructor(typesOfParameters).newI… in createObjectOfExpectedTypeBasedOnParams() 80 …throw new IllegalStateException("While trying to create object of class " + testMethod.getMethod()… in createObjectOfExpectedTypeBasedOnParams() 95 Class<?>[] expectedParameterTypes = testMethod.getMethod().getParameterTypes(); in castParamsUsingConverters() 101 Annotation[][] parameterAnnotations = testMethod.getMethod().getParameterAnnotations(); in castParamsUsingConverters() 215 + testMethod.getName() + " method."); in verifySameSizeOfArrays() 220 testMethod.invokeExplosively(testClass, params == null ? new Object[]{params} : params); in evaluate()
|
D | TestMethod.java | 51 TestMethod testMethod = new TestMethod(frameworkMethod, testClass); in listFrom() local 52 methods.add(testMethod.describableFrameworkMethod()); in listFrom() 70 private boolean hasTheSameNameAsFrameworkMethod(TestMethod testMethod) { in hasTheSameNameAsFrameworkMethod() argument 71 return frameworkMethod.getName().equals(testMethod.frameworkMethod.getName()); in hasTheSameNameAsFrameworkMethod() 74 private boolean hasTheSameParameterTypesAsFrameworkMethod(TestMethod testMethod) { in hasTheSameParameterTypesAsFrameworkMethod() argument 76 … Class<?>[] testMethodParameterTypes = testMethod.frameworkMethod.getMethod().getParameterTypes(); in hasTheSameParameterTypesAsFrameworkMethod()
|
/external/junit/src/main/java/org/junit/internal/runners/statements/ |
D | InvokeMethod.java | 7 private final FrameworkMethod testMethod; field in InvokeMethod 10 public InvokeMethod(FrameworkMethod testMethod, Object target) { in InvokeMethod() argument 11 this.testMethod = testMethod; in InvokeMethod() 17 testMethod.invokeExplosively(target); in evaluate()
|
/external/junit/src/main/java/org/junit/experimental/theories/ |
D | Theories.java | 171 private final FrameworkMethod testMethod; field in Theories.TheoryAnchor 176 public TheoryAnchor(FrameworkMethod testMethod, TestClass testClass) { in TheoryAnchor() argument 177 this.testMethod = testMethod; in TheoryAnchor() 188 testMethod.getMethod(), getTestClass())); in evaluate() 191 boolean hasTheoryAnnotation = testMethod.getAnnotation(Theory.class) != null; in evaluate() 260 }.methodBlock(testMethod).evaluate(); in runWithCompleteAssignment() 288 throw new ParameterizedAssertionError(e, testMethod.getName(), 293 Theory annotation = testMethod.getMethod().getAnnotation(
|
/external/grpc-grpc-java/okhttp/src/test/java/io/grpc/okhttp/ |
D | OptionalMethodTest.java | 36 public String testMethod(String arg) { in testMethod() method in OptionalMethodTest.DefaultClass 42 public abstract String testMethod(String arg); in testMethod() method in OptionalMethodTest.PublicParent 47 public String testMethod(String arg) { in testMethod() method in OptionalMethodTest.PrivateImpl 53 public String testMethod(String arg) { in testMethod() method in OptionalMethodTest.PrivateClass
|
/external/junit-params/src/test/java/junitparams/ |
D | ParametersReaderProvidersTest.java | 36 TestMethod testMethod = getTestMethodWithInvalidProvider(); in shouldPutProviderClassNameInExceptionMessageForProviderWithNoValidMethods() local 40 testMethod.parametersSets(); in shouldPutProviderClassNameInExceptionMessageForProviderWithNoValidMethods() 46 Method testMethod = TestClassWithProviderClassWithNoValidMethods.class in getTestMethodWithInvalidProvider() local 48 …return new TestMethod(new FrameworkMethod(testMethod), new TestClass(TestClassWithProviderClassWit… in getTestMethodWithInvalidProvider()
|
/external/apache-harmony/jdwp/src/test/java/org/apache/harmony/jpda/tests/jdwp/VirtualMachine/ |
D | RedefineClassesDebuggee.java | 42 + RedefineClass_Debuggee.testMethod()); in run() 46 String testMethodResult = RedefineClass_Debuggee.testMethod(); in run() 62 static String testMethod() { in testMethod() method in RedefineClass_Debuggee
|
/external/icu/icu4j/perf-tests/ |
D | normperf.pl | 142 my $testMethod = $methodPair->[0]; 146 print HTML "<P><B>$testMethod vs. $baselineMethod</B></P>\n"; 149 print HTML "<TR><TD>Options</TD><TD>$testMethod</TD>"; 161 print "\n$testMethod [@$pat]\n"; 162 my $t = measure2($testMethod, $pat, -$DURATION);
|
D | dateformatperf.pl | 93 my $testMethod = $methodPair->[0]; 97 print HTML "<P><B>$testMethod vs. $baselineMethod</B></P>\n"; 100 print HTML "<TR><TD>Options</TD><TD>$testMethod</TD>"; 112 print "\n$testMethod [@$pat]\n"; 113 my $t = measure2($testMethod, $pat, -$DURATION);
|
D | ucharacterperf.pl | 90 my $testMethod = $methodPair->[0]; 94 print HTML "<P><B>$testMethod vs. $baselineMethod</B></P>\n"; 97 print HTML "<TR><TD>Pattern</TD><TD>$testMethod</TD>"; 109 print "\n$testMethod $pat\n"; 110 my $t = measure2($testMethod, $pat, -$DURATION);
|
D | converterperf.pl | 106 my $testMethod = $methodPair->[0]; 110 print HTML "<P><B>$testMethod vs. $baselineMethod</B></P>\n"; 113 print HTML "<TR><TD>Options</TD><TD>$testMethod</TD>"; 125 print "\n$testMethod [@$pat]\n"; 126 my $t = measure2($testMethod, $pat, -$DURATION);
|
D | decimalformatperf.pl | 89 my $testMethod = $methodPair->[0]; 93 print HTML "<P><B>$testMethod vs. $baselineMethod</B></P>\n"; 96 print HTML "<TR><TD>Options</TD><TD>$testMethod</TD>"; 107 print "\n$testMethod [@$pat]\n"; 108 my $t = measure2($testMethod, $pat, -$DURATION);
|
D | unicodesetperf.pl | 80 my $testMethod = $methodPair->[0]; 84 print HTML "<P><B>$testMethod vs. $baselineMethod</B></P>\n"; 87 print HTML "<TR><TD>Pattern</TD><TD>$testMethod</TD>"; 99 print "\n$testMethod $pat\n"; 100 my $t = measure2($testMethod, $pat, -$DURATION);
|
/external/testng/src/main/java/org/testng/internal/annotations/ |
D | JDK15AnnotationFinder.java | 138 Constructor<?> testConstructor, Method testMethod) { in transform() argument 143 m_transformer.transform((ITestAnnotation) a, testClass, testConstructor, testMethod); in transform() local 154 transformer2.transform(configuration,testClass, testConstructor, testMethod); in transform() 161 transformer2.transform((IDataProviderAnnotation) a, testMethod); in transform() local 168 transformer2.transform((IFactoryAnnotation) a, testMethod); in transform() local 210 Constructor<?> testConstructor, Method testMethod, Pair<Annotation, ?> p) { in findAnnotation() argument 219 transform(result, testClass, testConstructor, testMethod); in findAnnotation()
|