Home
last modified time | relevance | path

Searched refs:testMethod (Results 1 – 25 of 70) sorted by relevance

123

/external/testng/src/main/java/org/testng/internal/
DInvoker.java727 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 …]
DTestMethodWorker.java105 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()
DParameters.java403 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/testng/src/test/java/test/annotationtransformer/
DMyParamTransformer.java15 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()
DMyTransformer.java17 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()
DConfigurationTransformer.java16 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
DDataProviderTransformer.java16 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
DFactoryTransformer.java16 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
DAnnotationTransformerInvocationCountTest.java22 Constructor testConstructor, Method testMethod) { in transform() argument
23 if ("concurrencyTest".equals(testMethod.getName())) { in transform()
DMyListenerTransformer.java22 Constructor testConstructor, Method testMethod) {} in transform() argument
32 Method testMethod) {} in transform() argument
/external/v8/test/webkit/
Dinstance-of-immediates.js31 function testSet(constructor, testMethod) argument
33 testMethod["1"]("(1 instanceof " + constructor + ")");
34 testMethod["{}"]("({} instanceof " + constructor + ")");
35 testMethod["obj"]("(obj instanceof " + constructor + ")");
/external/javassist/src/test/test/javassist/proxy/
DProxyFactoryCompatibilityTest.java56 proxy1.testMethod(); in testFactoryCompatibility()
63 proxy2.testMethod(); in testFactoryCompatibility()
80 proxy3.testMethod(); in testFactoryCompatibility()
86 proxy4.testMethod(); in testFactoryCompatibility()
97 public void testMethod() in testMethod() method in ProxyFactoryCompatibilityTest.TestClass
112 public void testMethod(); in testMethod() method
/external/apache-harmony/jdwp/src/test/java/org/apache/harmony/jpda/tests/jdwp/VirtualMachine/
DRedefineClassesDebuggee.java41 + RedefineClass_Debuggee.testMethod()); in run()
45 String testMethodResult = RedefineClass_Debuggee.testMethod(); in run()
61 static String testMethod() { in testMethod() method in RedefineClass_Debuggee
/external/icu/icu4j/perf-tests/
Dunicodesetperf.pl78 my $testMethod = $methodPair->[0];
82 print HTML "<P><B>$testMethod vs. $baselineMethod</B></P>\n";
85 print HTML "<TR><TD>Pattern</TD><TD>$testMethod</TD>";
97 print "\n$testMethod $pat\n";
98 my $t = measure2($testMethod, $pat, -$DURATION);
Ducharacterperf.pl88 my $testMethod = $methodPair->[0];
92 print HTML "<P><B>$testMethod vs. $baselineMethod</B></P>\n";
95 print HTML "<TR><TD>Pattern</TD><TD>$testMethod</TD>";
107 print "\n$testMethod $pat\n";
108 my $t = measure2($testMethod, $pat, -$DURATION);
Ddecimalformatperf.pl87 my $testMethod = $methodPair->[0];
91 print HTML "<P><B>$testMethod vs. $baselineMethod</B></P>\n";
94 print HTML "<TR><TD>Options</TD><TD>$testMethod</TD>";
105 print "\n$testMethod [@$pat]\n";
106 my $t = measure2($testMethod, $pat, -$DURATION);
Dconverterperf.pl104 my $testMethod = $methodPair->[0];
108 print HTML "<P><B>$testMethod vs. $baselineMethod</B></P>\n";
111 print HTML "<TR><TD>Options</TD><TD>$testMethod</TD>";
123 print "\n$testMethod [@$pat]\n";
124 my $t = measure2($testMethod, $pat, -$DURATION);
Ddateformatperf.pl91 my $testMethod = $methodPair->[0];
95 print HTML "<P><B>$testMethod vs. $baselineMethod</B></P>\n";
98 print HTML "<TR><TD>Options</TD><TD>$testMethod</TD>";
110 print "\n$testMethod [@$pat]\n";
111 my $t = measure2($testMethod, $pat, -$DURATION);
Dnormperf.pl140 my $testMethod = $methodPair->[0];
144 print HTML "<P><B>$testMethod vs. $baselineMethod</B></P>\n";
147 print HTML "<TR><TD>Options</TD><TD>$testMethod</TD>";
159 print "\n$testMethod [@$pat]\n";
160 my $t = measure2($testMethod, $pat, -$DURATION);
Dperftests.pl79 my $testMethod = $methodPair->[0];
90 my $t = measure2($testclass, $testMethod, $pat, -$DURATION);
124 my $testMethod = $methodPair->[0];
134 my $t = measure2($testclass, $testMethod, $pat, -$DURATION);
/external/testng/src/main/java/org/testng/internal/annotations/
DJDK15AnnotationFinder.java138 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()
/external/robolectric/v1/src/test/java/com/xtremelabs/robolectric/bytecode/
DCustomRobolectricTestRunnerTest.java21 static Method testMethod; field in CustomRobolectricTestRunnerTest
44 assertEquals("shouldInvokeBeforeTestWithTheCorrectMethod", testMethod.getName()); in shouldInvokeBeforeTestWithTheCorrectMethod()
63 testMethod = method; in beforeTest()
/external/junit/src/org/junit/internal/runners/statements/
DInvokeMethod.java13 public InvokeMethod(FrameworkMethod testMethod, Object target) { in InvokeMethod() argument
14 fTestMethod= testMethod; in InvokeMethod()
/external/apache-harmony/jdwp/src/test/java/org/apache/harmony/jpda/tests/jdwp/DebuggerOnDemand/
DOnthowDebuggerLaunchDebuggee.java65 testMethod(); in run()
68 void testMethod() { in testMethod() method in OnthowDebuggerLaunchDebuggee
/external/droiddriver/src/io/appium/droiddriver/runner/
DTestRunner.java163 private <T extends Annotation> T getAnnotation(TestMethod testMethod, Class<T> clazz) { in getBuilderRequirements()
164 T annotation = testMethod.getAnnotation(clazz); in getBuilderRequirements()
166 annotation = testMethod.getEnclosingClass().getAnnotation(clazz); in getBuilderRequirements()

123