/external/testng/src/main/java/org/testng/ |
H A D | IClassListener.java | 5 void onBeforeClass(ITestClass testClass, IMethodInstance mi); argument 6 void onAfterClass(ITestClass testClass, IMethodInstance mi); argument
|
H A D | IAnnotationTransformer3.java | 7 void transform(IListenersAnnotation annotation, Class testClass); argument
|
H A D | IModuleFactory.java | 16 * @param testClass The test class 21 Module createModule(ITestContext context, Class<?> testClass); argument
|
H A D | ITestMethodFinder.java | 63 ITestNGMethod[] getBeforeTestConfigurationMethods(Class<?> testClass); argument 65 ITestNGMethod[] getAfterTestConfigurationMethods(Class<?> testClass); argument 67 ITestNGMethod[] getBeforeGroupsConfigurationMethods(Class<?> testClass); argument 69 ITestNGMethod[] getAfterGroupsConfigurationMethods(Class<?> testClass); argument
|
/external/robolectric-shadows/processor/src/test/java/org/robolectric/annotation/processing/validator/ |
H A D | ResetterValidatorTest.java | 11 final String testClass = "org.robolectric.annotation.processing.shadows.ShadowResetterWithoutImplements"; 13 .that(testClass) 21 final String testClass = "org.robolectric.annotation.processing.shadows.ShadowResetterNonStatic"; 23 .that(testClass) 31 final String testClass = "org.robolectric.annotation.processing.shadows.ShadowResetterNonPublic"; 33 .that(testClass) 41 final String testClass = "org.robolectric.annotation.processing.shadows.ShadowResetterWithParameters"; 43 .that(testClass) 51 final String testClass = "org.robolectric.annotation.processing.shadows.ShadowDummy"; 53 .that(testClass) [all...] |
H A D | ImplementsValidatorTest.java | 13 final String testClass = "org.robolectric.annotation.processing.shadows.ShadowImplementsWithoutClass"; 15 .that(testClass) 23 final String testClass = "org.robolectric.annotation.processing.shadows.ShadowImplementsAnythingWithoutClassName"; 25 .that(testClass) 33 final String testClass = "org.robolectric.annotation.processing.shadows.ShadowImplementsAnythingWithUnresolvableClassName"; 35 .that(testClass) 43 final String testClass = "org.robolectric.annotation.processing.shadows.ShadowImplementsAnythingWithUnresolvableClassNameAndOldMaxSdk"; 45 .that(testClass) 51 final String testClass = "org.robolectric.annotation.processing.shadows.ShadowImplementsDummyWithOuterDummyClassName"; 53 .that(testClass) [all...] |
H A D | RealObjectValidatorTest.java | 17 final String testClass = "org.robolectric.annotation.processing.shadows.ShadowRealObjectWithoutImplements"; 19 .that(testClass) 27 final String testClass = "org.robolectric.annotation.processing.shadows.ShadowRealObjectParameterizedMissingParameters"; 29 .that(testClass) 37 final String testClass = "org.robolectric.annotation.processing.shadows.ShadowRealObjectParameterizedMismatch"; 39 .that(testClass) 47 final String testClass = "org.robolectric.annotation.processing.shadows.ShadowRealObjectWithEmptyImplements"; 49 .that(testClass) 56 final String testClass = "org.robolectric.annotation.processing.shadows.ShadowRealObjectWithMissingClassName"; 58 .that(testClass) [all...] |
H A D | ImplementationValidatorTest.java | 12 final String testClass = "org.robolectric.annotation.processing.shadows.ShadowImplementationWithoutImplements"; 14 .that(testClass) 22 final String testClass = "org.robolectric.annotation.processing.shadows.ShadowImplementationWithIncorrectVisibility"; 24 .that(testClass)
|
/external/junit/src/main/java/org/junit/internal/builders/ |
H A D | JUnit3Builder.java | 9 public Runner runnerForClass(Class<?> testClass) throws Throwable { argument 10 if (isPre4Test(testClass)) { 11 return new JUnit38ClassRunner(testClass); 16 boolean isPre4Test(Class<?> testClass) { argument 17 return junit.framework.TestCase.class.isAssignableFrom(testClass);
|
H A D | IgnoredBuilder.java | 9 public Runner runnerForClass(Class<?> testClass) { argument 10 if (testClass.getAnnotation(Ignore.class) != null) { 11 return new IgnoredClassRunner(testClass);
|
/external/junit-params/src/main/java/junitparams/internal/ |
H A D | InvokeNonParameterisedMethod.java | 12 private final Object testClass; field in class:InvokeNonParameterisedMethod 14 InvokeNonParameterisedMethod(FrameworkMethod testMethod, Object testClass) { argument 16 this.testClass = testClass; 21 testMethod.invokeExplosively(testClass);
|
/external/junit-params/src/main/java/junitparams/internal/parameters/ |
H A D | ParametersFromTestClassMethod.java | 9 private Class<?> testClass; field in class:ParametersFromTestClassMethod 12 ParametersFromTestClassMethod(FrameworkMethod frameworkMethod, Class<?> testClass) { argument 14 this.testClass = testClass; 20 return paramsFromMethodCommon.paramsFromMethod(testClass); 27 && (!annotation.method().isEmpty() || paramsFromMethodCommon.containsDefaultParametersProvidingMethod(testClass));
|
/external/glide/testutil/src/main/java/com/bumptech/glide/testutil/ |
H A D | TestResourceUtil.java | 16 * @param testClass A Junit test class. 20 public static InputStream openResource(Class testClass, String subPath) { argument 21 return testClass.getResourceAsStream("/" + subPath);
|
/external/javaparser/javaparser-testing/src/test/java/com/github/javaparser/builders/ |
H A D | NodeWithAnnotationsBuildersTest.java | 37 private ClassOrInterfaceDeclaration testClass = cu.addClass("testClass"); ; field in class:NodeWithAnnotationsBuildersTest 45 NormalAnnotationExpr annotation = testClass.addAndGetAnnotation(hey.class); 47 assertEquals(1, testClass.getAnnotations().size()); 48 assertEquals(annotation, testClass.getAnnotation(0)); 49 assertEquals(NormalAnnotationExpr.class, testClass.getAnnotation(0).getClass()); 54 testClass.addMarkerAnnotation("test"); 55 assertEquals(1, testClass.getAnnotations().size()); 60 testClass.addSingleMemberAnnotation("test", "value"); 61 assertEquals(1, testClass [all...] |
/external/mockito/src/main/java/org/mockito/ |
H A D | MockitoAnnotations.java | 58 * Initializes objects annotated with Mockito annotations for given testClass: 63 public static void initMocks(Object testClass) { argument 64 if (testClass == null) { 65 throw new MockitoException("testClass cannot be null. For info how to use @Mock annotations see examples in javadoc for MockitoAnnotations class"); 69 annotationEngine.process(testClass.getClass(), testClass);
|
/external/junit/src/main/java/org/junit/runners/parameterized/ |
H A D | TestWithParameters.java | 20 private final TestClass testClass; field in class:TestWithParameters 24 public TestWithParameters(String name, TestClass testClass, argument 27 notNull(testClass, "The test class is missing."); 30 this.testClass = testClass; 39 return testClass; 50 result = prime * result + testClass.hashCode(); 68 && testClass.equals(other.testClass); 73 return testClass [all...] |
/external/vogar/src/vogar/target/junit/junit3/ |
H A D | TestCaseTransformer.java | 54 public S createSuite(Class<? extends TestCase> testClass) { argument 55 List<T> tests = testsFromTestCase(testClass); 56 return factory.createSuite(testClass, tests); 60 Class<? extends TestCase> testClass, String methodName, Annotation[] annotations) { 61 return factory.createTest(testClass, methodName, annotations); 64 private T createWarning(Class<? extends Test> testClass, String name, Throwable throwable) { argument 65 return factory.createFailingTest(testClass, name, throwable); 68 private List<T> testsFromTestCase(final Class<? extends TestCase> testClass) { argument 75 validateTestClass(testClass); 77 tests.add(createWarning(testClass, "warnin 59 createTest( Class<? extends TestCase> testClass, String methodName, Annotation[] annotations) argument 101 validateTestClass(Class<?> testClass) argument [all...] |
/external/testng/src/test/java/test/annotationtransformer/ |
H A D | MyParamTransformer.java | 14 public void transform(ITestAnnotation annotation, Class testClass, argument 16 if (!onlyOneNonNull(testClass, testConstructor, testMethod)) { 21 public static boolean onlyOneNonNull(Class testClass, Constructor testConstructor, Method testMethod) { argument 22 return ((testClass != null && testConstructor == null && testMethod == null) || 23 (testClass == null && testConstructor != null && testMethod == null) || 24 (testClass == null && testConstructor == null && testMethod != null) );
|
/external/junit/src/main/java/org/junit/validator/ |
H A D | PublicClassValidator.java | 21 * @param testClass the {@link TestClass} that is validated. 25 public List<Exception> validateTestClass(TestClass testClass) { argument 26 if (testClass.isPublic()) { 30 + testClass.getName() + " is not public."));
|
/external/testng/src/test/java/test/guice/ |
H A D | ModuleFactory.java | 11 public Module createModule(ITestContext context, Class<?> testClass) { argument 17 if (GuiceModuleFactoryTest.class == testClass) { 20 throw new RuntimeException("Don't know how to create a module for class " + testClass);
|
/external/junit/src/main/java/org/junit/internal/requests/ |
H A D | ClassRequest.java | 19 public ClassRequest(Class<?> testClass, boolean canUseSuiteMethod) { argument 20 this.fTestClass = testClass; 24 public ClassRequest(Class<?> testClass) { argument 25 this(testClass, true);
|
/external/junit/src/main/java/org/junit/runner/ |
H A D | Computer.java | 30 public Runner runnerForClass(Class<?> testClass) throws Throwable { 31 return getRunner(builder, testClass); 37 * Create a single-class runner for {@code testClass}, using {@code builder} 39 protected Runner getRunner(RunnerBuilder builder, Class<?> testClass) throws Throwable { argument 40 return builder.runnerForClass(testClass);
|
/external/robolectric/v1/src/test/java/com/xtremelabs/robolectric/ |
H A D | WithTestDefaultsRunner.java | 13 public WithTestDefaultsRunner(Class<?> testClass) throws InitializationError { argument 14 super(testClass, new RobolectricConfig(resourceFile("TestAndroidManifest.xml"), resourceFile("res"), resourceFile("assets"))); 16 public WithTestDefaultsRunner(Class<?> testClass,DatabaseMap databaseMap) throws InitializationError { argument 17 super(testClass, new RobolectricConfig(resourceFile("TestAndroidManifest.xml"), resourceFile("res"), resourceFile("assets")), databaseMap);
|
/external/testng/src/main/java/org/testng/internal/ |
H A D | NoOpTestClass.java | 37 public NoOpTestClass(ITestClass testClass) {
argument 38 m_testClass= testClass.getRealClass();
39 m_beforeSuiteMethods= testClass.getBeforeSuiteMethods();
40 m_beforeTestConfMethods= testClass.getBeforeTestConfigurationMethods();
41 m_beforeGroupsMethods= testClass.getBeforeGroupsMethods();
42 m_beforeClassMethods= testClass.getBeforeClassMethods();
43 m_beforeTestMethods= testClass.getBeforeTestMethods();
44 m_afterSuiteMethods= testClass.getAfterSuiteMethods();
45 m_afterTestConfMethods= testClass.getAfterTestConfigurationMethods();
46 m_afterGroupsMethods= testClass [all...] |
/external/testng/src/test/java/test/listeners/ |
H A D | MyClassListener.java | 16 public void onBeforeClass(ITestClass testClass, IMethodInstance mi) { argument 17 beforeNames.add(testClass.getRealClass().getSimpleName()); 21 public void onAfterClass(ITestClass testClass, IMethodInstance mi) { argument 22 afterNames.add(testClass.getRealClass().getSimpleName());
|