Home
last modified time | relevance | path

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

1234

/external/OpenCL-CTS/test_conformance/images/clCopyImage/
Dtest_loops.cpp28 …e_id device, cl_context context, cl_command_queue queue, MethodsToTest testMethod, cl_mem_flags fl… in test_image_type() argument
44 if( testMethod == k1D ) in test_image_type()
49 else if( testMethod == k2D ) in test_image_type()
54 else if( testMethod == k3D ) in test_image_type()
59 else if( testMethod == k1DArray ) in test_image_type()
64 else if( testMethod == k2DArray ) in test_image_type()
69 else if( testMethod == k2DTo3D ) in test_image_type()
74 else if( testMethod == k3DTo2D ) in test_image_type()
79 else if( testMethod == k2DArrayTo2D ) in test_image_type()
84 else if( testMethod == k2DTo2DArray ) in test_image_type()
[all …]
/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 …]
/external/junit/src/main/java/org/junit/internal/runners/
DMethodRoadie.java30 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/libchrome/base/test/android/junit/src/org/chromium/base/test/util/
DSkipCheckTest.java88 Method testMethod = UnannotatedBaseClass.class.getMethod("unannotatedMethod", in getAnnotationsForMethodNone() local
91 testMethod, TestAnnotation.class); in getAnnotationsForMethodNone()
97 Method testMethod = UnannotatedBaseClass.class.getMethod("annotatedMethod", in getAnnotationsForMethodOnMethod() local
100 testMethod, TestAnnotation.class); in getAnnotationsForMethodOnMethod()
106 Method testMethod = AnnotatedBaseClass.class.getMethod("unannotatedMethod", in getAnnotationsForMethodOnClass() local
109 testMethod, TestAnnotation.class); in getAnnotationsForMethodOnClass()
115 Method testMethod = ExtendsAnnotatedBaseClass.class.getMethod("unannotatedMethod", in getAnnotationsForMethodOnSuperclass() local
118 testMethod, TestAnnotation.class); in getAnnotationsForMethodOnSuperclass()
124 Method testMethod = AnnotatedBaseClass.class.getMethod("annotatedMethod", in getAnnotationsOverlapping() local
127 testMethod, TestAnnotation.class); in getAnnotationsOverlapping()
/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()
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
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
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
/external/OpenCL-CTS/test_conformance/images/clFillImage/
Dtest_loops.cpp30 …e_id device, cl_context context, cl_command_queue queue, MethodsToTest testMethod, cl_mem_flags fl… in test_image_type() argument
36 if ( testMethod == k1D ) in test_image_type()
42 else if ( testMethod == k2D ) in test_image_type()
48 else if ( testMethod == k1DArray ) in test_image_type()
54 else if ( testMethod == k2DArray ) in test_image_type()
60 else if ( testMethod == k3D ) in test_image_type()
119 …ge_set( cl_device_id device, cl_context context, cl_command_queue queue, MethodsToTest testMethod ) in test_image_set() argument
123 ret += test_image_type( device, context, queue, testMethod, CL_MEM_READ_ONLY ); in test_image_set()
/external/junit-params/src/main/java/junitparams/internal/
DInvokeNonParameterisedMethod.java11 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()
DInvokeParameterisedMethod.java23 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()
DTestMethod.java51 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/
DInvokeMethod.java7 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/javassist/src/test/test/javassist/proxy/
DProxyFactoryCompatibilityTest.java58 proxy1.testMethod(); in testFactoryCompatibility()
65 proxy2.testMethod(); in testFactoryCompatibility()
82 proxy3.testMethod(); in testFactoryCompatibility()
89 proxy4.testMethod(); in testFactoryCompatibility()
100 public void testMethod() in testMethod() method in ProxyFactoryCompatibilityTest.TestClass
115 public void testMethod(); in testMethod() method
/external/junit/src/main/java/org/junit/experimental/theories/
DTheories.java176 private final FrameworkMethod testMethod; field in Theories.TheoryAnchor
181 public TheoryAnchor(FrameworkMethod testMethod, TestClass testClass) { in TheoryAnchor() argument
182 this.testMethod = testMethod; in TheoryAnchor()
193 testMethod.getMethod(), getTestClass())); in evaluate()
196 boolean hasTheoryAnnotation = testMethod.getAnnotation(Theory.class) != null; in evaluate()
265 }.methodBlock(testMethod).evaluate(); in runWithCompleteAssignment()
293 throw new ParameterizedAssertionError(e, testMethod.getName(),
298 Theory annotation = testMethod.getMethod().getAnnotation(
/external/grpc-grpc-java/okhttp/src/test/java/io/grpc/okhttp/
DOptionalMethodTest.java36 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/
DParametersReaderProvidersTest.java36 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/
DRedefineClassesDebuggee.java42 + 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/
Ddecimalformatperf.pl89 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);
Ddateformatperf.pl93 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);
Ducharacterperf.pl90 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);
Dunicodesetperf.pl80 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);
Dnormperf.pl142 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);
Dconverterperf.pl106 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);

1234