Home
last modified time | relevance | path

Searched refs:testAnnotation (Results 1 – 11 of 11) sorted by relevance

/external/testng/src/main/java/org/testng/internal/
DTestNGMethod.java95 ITestAnnotation testAnnotation = in init() local
98 if (testAnnotation == null) { in init()
100testAnnotation = AnnotationHelper.findTest(getAnnotationFinder(), m_method.getDeclaringClass()); in init()
103 if (null != testAnnotation) { in init()
104 setTimeOut(testAnnotation.getTimeOut()); in init()
105 m_successPercentage = testAnnotation.getSuccessPercentage(); in init()
107 setInvocationCount(testAnnotation.getInvocationCount()); in init()
108 m_totalInvocationCount = testAnnotation.getInvocationCount(); in init()
109 setThreadPoolSize(testAnnotation.getThreadPoolSize()); in init()
110 setAlwaysRun(testAnnotation.getAlwaysRun()); in init()
[all …]
DRegexpExpectedExceptionsHolder.java58 ITestAnnotation testAnnotation = finder.findAnnotation(method, ITestAnnotation.class); in getRegExp() local
59 if (testAnnotation != null) { in getRegExp()
60 return testAnnotation.getExpectedExceptionsMessageRegExp(); in getRegExp()
DExpectedExceptionsHolder.java35 ITestAnnotation testAnnotation = finder.findAnnotation(method, ITestAnnotation.class); in findExpectedClasses() local
36 if (testAnnotation != null) { in findExpectedClasses()
37 return testAnnotation.getExpectedExceptions(); in findExpectedClasses()
/external/dagger2/javatests/dagger/hilt/processor/internal/generatesrootinput/
DGeneratesRootInputProcessorTest.java74 Source testAnnotation = in succeeds_ComponentProcessorWaitsForAnnotationsWithGeneratesRootInput() local
81 HiltCompilerTests.hiltCompiler(testAnnotation) in succeeds_ComponentProcessorWaitsForAnnotationsWithGeneratesRootInput()
/external/TestParameterInjector/junit4/src/main/java/com/google/testing/junit/testparameterinjector/
DPluggableTestRunner.java199 Test testAnnotation = method.getAnnotation(Test.class); in withPotentialTimeoutInternal() local
200 if (testAnnotation == null) { in withPotentialTimeoutInternal()
202 } else if (testAnnotation.timeout() <= 0) { in withPotentialTimeoutInternal()
206 .withTimeout(testAnnotation.timeout(), TimeUnit.MILLISECONDS) in withPotentialTimeoutInternal()
/external/auto/value/src/test/java/com/google/auto/value/processor/
DAutoAnnotationErrorsTest.java202 JavaFileObject testAnnotation = in testWrongTypeCollection() local
235 javac().withProcessors(new AutoAnnotationProcessor()).compile(testSource, testAnnotation); in testWrongTypeCollection()
DPropertyAnnotationsTest.java83 OtherAnnotation testAnnotation() default @OtherAnnotation(foo = 23, bar = "baz"); in testAnnotation() method
/external/testng/src/main/java/org/testng/reporters/
DXMLSuiteResultWriter.java225 Test testAnnotation; in getTestResultAttributes() local
227 testAnnotation = cm.getMethod().getAnnotation(Test.class); in getTestResultAttributes()
228 if (testAnnotation != null) { in getTestResultAttributes()
229 String dataProvider = testAnnotation.dataProvider(); in getTestResultAttributes()
/external/apache-commons-lang/src/test/java/org/apache/commons/lang3/
DAnnotationUtilsTest.java516 final TestMethodAnnotation testAnnotation = in testToString() local
519 final String annotationString = AnnotationUtils.toString(testAnnotation); in testToString()
/external/guice/core/test/com/google/inject/multibindings/
DProvidesIntoTest.java47 public void testAnnotation() throws Exception { in testAnnotation() method in ProvidesIntoTest
/external/javassist/src/test/javassist/
DJvstTest3.java14 public void testAnnotation() throws Exception { in testAnnotation() method in JvstTest3