Home
last modified time | relevance | path

Searched defs:testClass (Results 1 – 25 of 168) sorted by relevance

1234567

/external/robolectric-shadows/processor/src/test/java/org/robolectric/annotation/processing/validator/
DRealObjectValidatorTest.java21 …final String testClass = "org.robolectric.annotation.processing.shadows.ShadowRealObjectWithoutImp… in realObjectWithoutImplements_shouldNotCompile() local
31 …final String testClass = "org.robolectric.annotation.processing.shadows.ShadowRealObjectParameteri… in realObjectParameterizedMissingParameters_shouldNotCompile() local
41 …final String testClass = "org.robolectric.annotation.processing.shadows.ShadowRealObjectParameteri… in realObjectParameterizedMismatch_shouldNotCompile() local
51 …final String testClass = "org.robolectric.annotation.processing.shadows.ShadowRealObjectWithEmptyI… in realObjectWithEmptyImplements_shouldNotRaiseOwnError() local
60 final String testClass = in realObjectWithEmptyClassName_shouldNotRaiseOwnError() local
70 …final String testClass = "org.robolectric.annotation.processing.shadows.ShadowRealObjectWithWrongT… in realObjectWithTypeMismatch_shouldNotCompile() local
80 …final String testClass = "org.robolectric.annotation.processing.shadows.ShadowRealObjectWithIncorr… in realObjectWithClassName_typeMismatch_shouldNotCompile() local
90 …final String testClass = "org.robolectric.annotation.processing.shadows.ShadowRealObjectWithCorrec… in realObjectWithCorrectType_shouldCompile() local
108 …final String testClass = "org.robolectric.annotation.processing.shadows.ShadowRealObjectWithNested… in realObjectWithNestedClassName_shouldCompile() local
DImplementsValidatorTest.java17 …final String testClass = "org.robolectric.annotation.processing.shadows.ShadowImplementsWithoutCla… in implementsWithoutClassOrClassName_shouldNotCompile() local
27 final String testClass = in value_withUnresolvableClassNameAndOldMaxSdk_shouldNotCompile() local
36 …final String testClass = "org.robolectric.annotation.processing.shadows.ShadowImplementsDummyWithO… in value_withClassName_shouldNotCompile() local
46 …final String testClass = "org.robolectric.annotation.processing.shadows.ShadowImplementsWithParame… in implementsWithParameterMismatch_shouldNotCompile() local
56 …final String testClass = "org.robolectric.annotation.processing.shadows.ShadowImplementsWithMissin… in implementsWithMissingParameters_shouldNotCompile() local
66 …final String testClass = "org.robolectric.annotation.processing.shadows.ShadowImplementsWithExtraP… in implementsWithExtraParameters_shouldNotCompile() local
76 final String testClass = in constructorShadowWithoutImplementation_shouldNotCompile() local
DResetterValidatorTest.java15 …final String testClass = "org.robolectric.annotation.processing.shadows.ShadowResetterWithoutImple… in resetterWithoutImplements_shouldNotCompile() local
25 … final String testClass = "org.robolectric.annotation.processing.shadows.ShadowResetterNonStatic"; in nonStaticResetter_shouldNotCompile() local
35 … final String testClass = "org.robolectric.annotation.processing.shadows.ShadowResetterNonPublic"; in nonPublicResetter_shouldNotCompile() local
45 …final String testClass = "org.robolectric.annotation.processing.shadows.ShadowResetterWithParamete… in resetterWithParameters_shouldNotCompile() local
55 final String testClass = "org.robolectric.annotation.processing.shadows.ShadowDummy"; in goodResetter_shouldCompile() local
DImplementationValidatorTest.java16 …final String testClass = "org.robolectric.annotation.processing.shadows.ShadowImplementationWithou… in implementationWithoutImplements_shouldNotCompile() local
26 …final String testClass = "org.robolectric.annotation.processing.shadows.ShadowImplementationWithIn… in implementationWithIncorrectVisibility_shouldNotCompile() local
/external/junit/src/main/java/org/junit/validator/
DAnnotationsValidator.java33 public List<Exception> validateTestClass(TestClass testClass) { in validateTestClass()
46 abstract Iterable<T> getAnnotatablesForTestClass(TestClass testClass); in getAnnotatablesForTestClass()
51 public List<Exception> validateTestClass(TestClass testClass) { in validateTestClass()
81 Iterable<TestClass> getAnnotatablesForTestClass(TestClass testClass) { in getAnnotatablesForTestClass()
87 AnnotationValidator validator, TestClass testClass) { in validateAnnotatable()
96 TestClass testClass) { in getAnnotatablesForTestClass()
110 Iterable<FrameworkField> getAnnotatablesForTestClass(TestClass testClass) { in getAnnotatablesForTestClass()
/external/libchrome/base/test/android/junit/src/org/chromium/base/test/params/
DParameterizedRunnerDelegateCommonTest.java24 private static Object createTest(TestClass testClass, ParameterSet classParameterSet) in createTest()
54 TestClass testClass = new TestClass(BadTestClassWithMoreThanOneConstructor.class); in testCreateTestWithMoreThanOneConstructor() local
60 TestClass testClass = new TestClass(BadTestClassWithTwoArgumentConstructor.class); in testCreateTestWithIncorrectArguments() local
67 TestClass testClass = new TestClass(BadTestClassAbstract.class); in testCreateTestWithAbstractClass() local
74 TestClass testClass = new TestClass(BadTestClassConstructorThrows.class); in testCreateTestWithThrowingConstructor() local
/external/vogar/src/vogar/target/junit/junit3/
DTestCaseTransformer.java54 public S createSuite(Class<? extends TestCase> testClass) { in createSuite()
60 Class<? extends TestCase> testClass, String methodName, Annotation[] annotations) { in createTest()
64 private T createWarning(Class<? extends Test> testClass, String name, Throwable throwable) { in createWarning()
68 private List<T> testsFromTestCase(final Class<? extends TestCase> testClass) { in testsFromTestCase()
101 public static void validateTestClass(Class<?> testClass) { in validateTestClass()
DTestCaseRunnerFactory.java75 Class<? extends TestCase> testClass, String methodName, Annotation[] annotations) { in createTest()
81 Class<? extends Test> testClass, String name, Throwable throwable) { in createFailingTest()
89 Class<? extends TestCase> testClass, List<DescribableStatement> tests) { in createSuite()
106 private static TestCase createTestCase(Class<? extends TestCase> testClass, String name) in createTestCase()
134 private final Class<? extends TestCase> testClass; field in TestCaseRunnerFactory.RunTestCaseStatement
138 Class<? extends TestCase> testClass, String name, Annotation[] annotations) { in RunTestCaseStatement()
DTestCaseFactory.java46 T createTest(Class<? extends TestCase> testClass, String methodName, Annotation[] annotations); in createTest()
51 T createFailingTest(Class<? extends Test> testClass, String name, Throwable throwable); in createFailingTest()
56 S createSuite(Class<? extends TestCase> testClass, List<T> tests); in createSuite()
/external/testng/src/main/java/org/testng/
DITestMethodFinder.java63 ITestNGMethod[] getBeforeTestConfigurationMethods(Class<?> testClass); in getBeforeTestConfigurationMethods()
65 ITestNGMethod[] getAfterTestConfigurationMethods(Class<?> testClass); in getAfterTestConfigurationMethods()
67 ITestNGMethod[] getBeforeGroupsConfigurationMethods(Class<?> testClass); in getBeforeGroupsConfigurationMethods()
69 ITestNGMethod[] getAfterGroupsConfigurationMethods(Class<?> testClass); in getAfterGroupsConfigurationMethods()
DIClassListener.java5 void onBeforeClass(ITestClass testClass, IMethodInstance mi); in onBeforeClass()
6 void onAfterClass(ITestClass testClass, IMethodInstance mi); in onAfterClass()
/external/robolectric-shadows/robolectric/src/test/java/org/robolectric/
DConfigMergerTest.java386 …private Config configFor(Class<?> testClass, String methodName, final Map<String, String> configPr… in configFor()
390 private Config configFor(Class<?> testClass, String methodName) throws InitializationError { in configFor()
395 …private Config configFor(Class<?> testClass, String methodName, Config.Implementation globalConfig… in configFor()
399 …private Config configFor(Class<?> testClass, String methodName, final Map<String, String> configPr… in configFor()
407 }.getConfig(testClass, info, globalConfig); in configFor() argument
/external/junit/src/main/java/org/junit/internal/requests/
DClassRequest.java17 public ClassRequest(Class<?> testClass, boolean canUseSuiteMethod) { in ClassRequest()
22 public ClassRequest(Class<?> testClass) { in ClassRequest()
47 public Runner runnerForClass(Class<?> testClass) throws Throwable { in runnerForClass()
/external/llvm-project/clang/test/SemaObjC/
Dsevere-syntax-error.m4 @interface testClass interface
9 @implementation testClass implementation
/external/clang/test/SemaObjC/
Dsevere-syntax-error.m4 @interface testClass interface
9 @implementation testClass implementation
/external/mockito/src/test/java/org/mockito/internal/session/
DDefaultMockitoSessionBuilderTest.java49 TestClass testClass = new TestClass(); in creates_sessions_for_multiple_test_class_instances_for_repeated_calls() local
59 TestClass testClass = new TestClass(); in creates_sessions_for_multiple_test_class_instances_for_varargs_call() local
69 TestClass testClass = new TestClass(); in uses_logger_and_strictness() local
/external/javaparser/javaparser-core-testing/src/test/java/com/github/javaparser/remove/
DNodeRemovalTest.java46 ClassOrInterfaceDeclaration testClass = cu.addClass("test"); in testRemoveClassFromCompilationUnit() local
55 ClassOrInterfaceDeclaration testClass = cu.addClass("test"); in testRemoveFieldFromClass() local
66 ClassOrInterfaceDeclaration testClass = cu.addClass("testC"); in testRemoveStatementFromMethodBody() local
/external/testng/src/test/java/test/annotationtransformer/
DMyListenerTransformer.java16 public void transform(IListenersAnnotation annotation, Class testClass) { in transform()
21 public void transform(IConfigurationAnnotation annotation, Class testClass, in transform()
31 public void transform(ITestAnnotation annotation, Class testClass, Constructor testConstructor, in transform()
/external/libchrome/base/test/android/javatests/src/org/chromium/base/test/params/
DParameterizedRunner.java127 static List<Runner> createRunners(TestClass testClass) in createRunners()
154 private static List<ParameterSet> getParameterSetList(FrameworkField field, TestClass testClass) in getParameterSetList()
197 TestClass testClass) { in getRunnerDelegateClass()
212 TestClass testClass, String parameterSetString, Exception e) { in ParameterizedTestInstantiationException()
/external/mockito/src/main/java/org/mockito/
DMockitoAnnotations.java63 public static void initMocks(Object testClass) { in initMocks()
69 annotationEngine.process(testClass.getClass(), testClass); in initMocks() local
/external/junit/src/main/java/org/junit/internal/builders/
DJUnit3Builder.java9 public Runner runnerForClass(Class<?> testClass) throws Throwable { in runnerForClass()
16 boolean isPre4Test(Class<?> testClass) { in isPre4Test()
/external/junit-params/src/main/java/junitparams/internal/
DInvokeNonParameterisedMethod.java12 private final Object testClass; field in InvokeNonParameterisedMethod
14 InvokeNonParameterisedMethod(FrameworkMethod testMethod, Object testClass) { in InvokeNonParameterisedMethod()
/external/junit/src/main/java/org/junit/runners/
DParentRunner.java72 private final TestClass testClass; field in ParentRunner
90 protected ParentRunner(Class<?> testClass) throws InitializationError { in ParentRunner()
100 protected ParentRunner(TestClass testClass) throws InitializationError { in ParentRunner()
110 protected TestClass createTestClass(Class<?> testClass) { in createTestClass()
/external/javaparser/javaparser-core-testing/src/test/java/com/github/javaparser/builders/
DClassOrInterfaceDeclarationBuildersTest.java51 ClassOrInterfaceDeclaration testClass = cu.addClass("test"); in testAddExtends() local
62 ClassOrInterfaceDeclaration testClass = cu.addClass("test"); in testAddImplements() local
/external/testng/src/main/java/org/testng/internal/annotations/
DJDK15AnnotationFinder.java123 Class<?> testClass; in findAnnotation() local
137 private void transform(IAnnotation a, Class<?> testClass, in transform()
143 m_transformer.transform((ITestAnnotation) a, testClass, testConstructor, testMethod); in transform() local
178 transformer.transform((IListenersAnnotation)a, testClass); in transform() local
209 Class<A> annotationClass, Class<?> testClass, in findAnnotation()

1234567