HomeSort by relevance Sort by last modified time
    Searched refs:testClass (Results 1 - 25 of 548) sorted by null

1 2 3 4 5 6 7 8 91011>>

  /external/testng/src/main/java/org/testng/
IClassListener.java 5 void onBeforeClass(ITestClass testClass, IMethodInstance mi);
6 void onAfterClass(ITestClass testClass, IMethodInstance mi);
IAnnotationTransformer3.java 7 void transform(IListenersAnnotation annotation, Class testClass);
IModuleFactory.java 16 * @param testClass The test class
21 Module createModule(ITestContext context, Class<?> testClass);
ITestMethodFinder.java 63 ITestNGMethod[] getBeforeTestConfigurationMethods(Class<?> testClass);
65 ITestNGMethod[] getAfterTestConfigurationMethods(Class<?> testClass);
67 ITestNGMethod[] getBeforeGroupsConfigurationMethods(Class<?> testClass);
69 ITestNGMethod[] getAfterGroupsConfigurationMethods(Class<?> testClass);
  /external/robolectric-shadows/processor/src/test/java/org/robolectric/annotation/processing/validator/
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...]
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...]
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...]
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)
  /cts/hostsidetests/inputmethodservice/common/src/android/inputmethodservice/cts/common/test/
TestInfo.java 27 public final String testClass;
30 public TestInfo(final String testPackage, final String testClass, final String testMethod) {
32 this.testClass = testClass;
42 return testClass + "#" + testMethod;
  /external/junit/src/main/java/org/junit/internal/builders/
JUnit3Builder.java 9 public Runner runnerForClass(Class<?> testClass) throws Throwable {
10 if (isPre4Test(testClass)) {
11 return new JUnit38ClassRunner(testClass);
16 boolean isPre4Test(Class<?> testClass) {
17 return junit.framework.TestCase.class.isAssignableFrom(testClass);
IgnoredBuilder.java 9 public Runner runnerForClass(Class<?> testClass) {
10 if (testClass.getAnnotation(Ignore.class) != null) {
11 return new IgnoredClassRunner(testClass);
  /external/junit-params/src/main/java/junitparams/internal/
InvokeNonParameterisedMethod.java 12 private final Object testClass;
14 InvokeNonParameterisedMethod(FrameworkMethod testMethod, Object testClass) {
16 this.testClass = testClass;
21 testMethod.invokeExplosively(testClass);
  /external/junit-params/src/main/java/junitparams/internal/parameters/
ParametersFromTestClassMethod.java 9 private Class<?> testClass;
12 ParametersFromTestClassMethod(FrameworkMethod frameworkMethod, Class<?> testClass) {
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/
TestResourceUtil.java 16 * @param testClass A Junit test class.
20 public static InputStream openResource(Class testClass, String subPath) {
21 return testClass.getResourceAsStream("/" + subPath);
  /external/javaparser/javaparser-testing/src/test/java/com/github/javaparser/builders/
NodeWithAnnotationsBuildersTest.java 37 private ClassOrInterfaceDeclaration testClass = cu.addClass("testClass"); ;
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.getAnnotations().size())
    [all...]
  /external/mockito/src/main/java/org/mockito/
MockitoAnnotations.java 58 * Initializes objects annotated with Mockito annotations for given testClass:
63 public static void initMocks(Object testClass) {
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/
TestWithParameters.java 8 import org.junit.runners.model.TestClass;
20 private final TestClass testClass;
24 public TestWithParameters(String name, TestClass testClass,
27 notNull(testClass, "The test class is missing.");
30 this.testClass = testClass;
38 public TestClass getTestClass() {
39 return testClass;
    [all...]
  /external/vogar/src/vogar/target/junit/junit3/
TestCaseTransformer.java 54 public S createSuite(Class<? extends TestCase> testClass) {
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) {
65 return factory.createFailingTest(testClass, name, throwable);
68 private List<T> testsFromTestCase(final Class<? extends TestCase> testClass) {
75 validateTestClass(testClass);
77 tests.add(createWarning(testClass, "warning", e))
    [all...]
  /external/testng/src/test/java/test/annotationtransformer/
MyParamTransformer.java 14 public void transform(ITestAnnotation annotation, Class testClass,
16 if (!onlyOneNonNull(testClass, testConstructor, testMethod)) {
21 public static boolean onlyOneNonNull(Class testClass, Constructor testConstructor, Method testMethod) {
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/
PublicClassValidator.java 8 import org.junit.runners.model.TestClass;
11 * Validates that a {@link TestClass} is public.
19 * Validate that the specified {@link TestClass} is public.
21 * @param testClass the {@link TestClass} that is validated.
25 public List<Exception> validateTestClass(TestClass testClass) {
26 if (testClass.isPublic()) {
30 + testClass.getName() + " is not public."));
  /external/testng/src/test/java/test/guice/
ModuleFactory.java 11 public Module createModule(ITestContext context, Class<?> testClass) {
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/
ClassRequest.java 19 public ClassRequest(Class<?> testClass, boolean canUseSuiteMethod) {
20 this.fTestClass = testClass;
24 public ClassRequest(Class<?> testClass) {
25 this(testClass, true);
  /external/junit/src/main/java/org/junit/runner/
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 {
40 return builder.runnerForClass(testClass);
  /external/robolectric/v1/src/test/java/com/xtremelabs/robolectric/
WithTestDefaultsRunner.java 13 public WithTestDefaultsRunner(Class<?> testClass) throws InitializationError {
14 super(testClass, new RobolectricConfig(resourceFile("TestAndroidManifest.xml"), resourceFile("res"), resourceFile("assets")));
16 public WithTestDefaultsRunner(Class<?> testClass,DatabaseMap databaseMap) throws InitializationError {
17 super(testClass, new RobolectricConfig(resourceFile("TestAndroidManifest.xml"), resourceFile("res"), resourceFile("assets")), databaseMap);
  /external/testng/src/main/java/org/testng/internal/
NoOpTestClass.java 37 public NoOpTestClass(ITestClass testClass) {
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.getAfterGroupsMethods();
    [all...]

Completed in 975 milliseconds

1 2 3 4 5 6 7 8 91011>>