Home
last modified time | relevance | path

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

123456789

/external/robolectric/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 = in resetterWithoutImplements_shouldNotCompile() local
26 final String testClass = in nonStaticResetter_shouldNotCompile() local
37 final String testClass = in nonPublicResetter_shouldNotCompile() local
48 final String testClass = in resetterWithParameters_shouldNotCompile() local
59 final String testClass = "org.robolectric.annotation.processing.shadows.ShadowWithTwoResetters"; in twoValidResetters_shouldNotCompile() local
73 final String testClass = "org.robolectric.annotation.processing.shadows.ShadowDummy"; in goodResetter_shouldCompile() local
/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
/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/vogar/src/vogar/target/junit/junit3/
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()
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()
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/cronet/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/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/TestParameterInjector/src/main/java/com/google/testing/junit/testparameterinjector/
DTestMethodProcessor.java34 List<TestInfo> processTest(Class<?> testClass, TestInfo originalTest); in processTest()
54 Optional<Object> createTest(TestClass testClass, FrameworkMethod method, Optional<Object> test); in createTest()
67 TestClass testClass, in createStatement()
78 ValidationResult validateConstructor(TestClass testClass, List<Throwable> errorsReturned); in validateConstructor()
87 TestClass testClass, FrameworkMethod testMethod, List<Throwable> errorsReturned); in validateTestMethod()
DParameterizedTestMethodProcessor.java63 ParameterizedTestMethodProcessor(TestClass testClass) { in ParameterizedTestMethodProcessor()
89 public ValidationResult validateConstructor(TestClass testClass, List<Throwable> list) { in validateConstructor()
123 TestClass testClass, FrameworkMethod testMethod, List<Throwable> errorsReturned) { in validateTestMethod()
128 public List<TestInfo> processTest(Class<?> testClass, TestInfo originalTest) { in processTest()
162 TestClass testClass, FrameworkMethod method, Optional<Object> test) { in createTest()
178 TestClass testClass, in createStatement()
214 private Optional<FrameworkMethod> getParametersMethod(TestClass testClass) { in getParametersMethod()
DTestParametersMethodProcessor.java55 private final TestClass testClass; field in TestParametersMethodProcessor
76 public TestParametersMethodProcessor(TestClass testClass) { in TestParametersMethodProcessor()
81 public ValidationResult validateConstructor(TestClass testClass, List<Throwable> exceptions) { in validateConstructor()
97 TestClass testClass, FrameworkMethod testMethod, List<Throwable> exceptions) { in validateTestMethod()
195 TestClass testClass, FrameworkMethod method, Optional<Object> test) { in createTest()
218 TestClass testClass, in createStatement()
DTestParameterAnnotationMethodProcessor.java289 private final TestClass testClass; field in TestParameterAnnotationMethodProcessor
296 TestClass testClass, boolean onlyForFieldsAndParameters) { in TestParameterAnnotationMethodProcessor()
312 static TestMethodProcessor forAllAnnotationPlacements(TestClass testClass) { in forAllAnnotationPlacements()
324 static TestMethodProcessor onlyForFieldsAndParameters(TestClass testClass) { in onlyForFieldsAndParameters()
481 public ValidationResult validateConstructor(TestClass testClass, List<Throwable> errorsReturned) { in validateConstructor()
500 testClass, in validateConstructor() local
511 TestClass testClass, FrameworkMethod testMethod, List<Throwable> errorsReturned) { in validateTestMethod()
522 testClass, in validateTestMethod() local
533 TestClass testClass, in validateMethodOrConstructorParameters()
612 TestClass testClass, in createStatement()
[all …]
/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()
/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/dagger2/java/dagger/hilt/android/internal/testing/
DTestComponentDataSupplier.java27 static TestComponentData get(Class<?> testClass) { in get()
51 private static String errorMessage(Class<?> testClass, String generatedClassName) { in errorMessage()
60 private static String getEnclosedClassName(Class<?> testClass) { in getEnclosedClassName()
/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/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/clang/test/SemaObjC/
Dsevere-syntax-error.m4 @interface testClass interface
9 @implementation testClass implementation
/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()

123456789