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

1 23 4 5 6 7 8 91011>>

  /external/junit/src/main/java/org/junit/internal/runners/
ClassRoadie.java 21 private TestClass testClass;
25 public ClassRoadie(RunNotifier notifier, TestClass testClass,
28 this.testClass = testClass;
54 List<Method> befores = testClass.getBefores();
70 List<Method> afters = testClass.getAfters();
TestMethod.java 22 private TestClass testClass;
24 public TestMethod(Method method, TestClass testClass) {
26 this.testClass = testClass;
60 return testClass.getAnnotatedMethods(Before.class);
64 return testClass.getAnnotatedMethods(After.class);
ErrorReportingRunner.java 16 private final Class<?> testClass;
18 public ErrorReportingRunner(Class<?> testClass, Throwable cause) {
19 if (testClass == null) {
22 this.testClass = testClass;
28 Description description = Description.createSuiteDescription(testClass);
58 return Description.createTestDescription(testClass,
MethodValidator.java 26 private TestClass testClass;
28 public MethodValidator(TestClass testClass) {
29 this.testClass = testClass;
37 List<Method> methods = testClass.getAnnotatedMethods(Test.class);
63 testClass.getConstructor();
71 List<Method> methods = testClass.getAnnotatedMethods(annotation);
  /external/vogar/src/vogar/target/
CaliperTargetRunner.java 31 private final Class<?> testClass;
34 public CaliperTargetRunner(TargetMonitor monitor, Class<?> testClass, String[] args) {
36 this.testClass = testClass;
41 monitor.outcomeStarted(testClass.getName());
43 .add(testClass.getName())
  /external/vogar/src/vogar/target/junit/junit3/
AlternateSuiteMethodBuilder.java 64 public Runner runnerForClass(Class<?> testClass) throws Throwable {
65 if (new ClassAnalyzer(testClass).hasMethod(true, Test.class, "suite")) {
68 test = SuiteMethod.testFromSuiteMethod(testClass);
71 testClass, "suite", testClass.getAnnotations());
77 .transform(testClass, test);
AlternateTestCaseBuilder.java 43 public Runner runnerForClass(Class<?> testClass) throws Throwable {
44 if (junit.framework.TestCase.class.isAssignableFrom(testClass)) {
46 Class<? extends TestCase> testCaseClass = testClass.asSubclass(TestCase.class);
  /frameworks/base/core/tests/coretests/src/android/content/pm/
OptionalClassRunner.java 47 public OptionalClassRunner(Class<?> testClass) throws InitializationError {
48 OptionalClass annotation = testClass.getAnnotation(OptionalClass.class);
51 "No " + OptionalClass.class.getName() + " annotation found on " + testClass);
59 delegate = new JUnit4(testClass);
63 delegate = new ClassNotFoundRunner(testClass, className);
93 ClassNotFoundRunner(Class<?> testClass, String className)
95 super(testClass);
96 this.mChildren = Collections.singletonList(new ChildRunner(testClass, className));
120 ChildRunner(Class<?> testClass, String className) {
121 this.mTestClass = testClass;
    [all...]
  /frameworks/base/test-runner/src/android/test/
AndroidTestRunner.java 54 Class testClass = loadTestClass(testClassName);
56 if (shouldRunSingleTestMethod(testMethodName, testClass)) {
57 TestCase testCase = buildSingleTestMethod(testClass, testMethodName);
60 mTestClassName = testClass.getSimpleName();
62 setTest(getTest(testClass), testClass);
70 private void setTest(Test test, Class<? extends Test> testClass) {
72 if (TestSuite.class.isAssignableFrom(testClass)) {
75 mTestClassName = testClass.getSimpleName();
99 private TestCase buildSingleTestMethod(Class testClass, String testMethodName)
    [all...]
  /external/mockito/src/main/java/org/mockito/internal/runners/
StrictRunner.java 17 private final Class<?> testClass;
23 * @param testClass - for reporting purposes
25 public StrictRunner(InternalRunner runner, Class<?> testClass) {
27 this.testClass = testClass;
49 reporter.validateUnusedStubs(testClass, notifier);
  /external/testng/src/test/java/test/annotationtransformer/
MyListenerTransformer.java 16 public void transform(IListenersAnnotation annotation, Class testClass) {
21 public void transform(IConfigurationAnnotation annotation, Class testClass,
31 public void transform(ITestAnnotation annotation, Class testClass, Constructor testConstructor,
  /external/vogar/src/vogar/target/junit/
MappingAnnotatedBuilder.java 41 public Runner runnerForClass(Class<?> testClass) throws Exception {
42 RunWith runWith = testClass.getAnnotation(RunWith.class);
48 return buildRunner(runnerClass, testClass);
VogarTestCaseRunnerFactory.java 47 Class<? extends TestCase> testClass, List<DescribableStatement> tests) {
55 tests.add(createTest(testClass, methodName, NO_ANNOTATIONS));
59 return super.createSuite(testClass, tests);
JUnitTargetRunner.java 44 private final Class<?> testClass;
49 int timeoutSeconds, Class<?> testClass,
54 this.testClass = testClass;
63 Runner runner = builder.safeRunnerForClass(testClass);
65 throw new IllegalStateException("Cannot create runner for: " + testClass.getName());
  /external/vogar/test/vogar/target/
TestRunnerRule.java 47 Class<?> testClass = testRunnerProperties.testClass();
48 if (testClass != TestRunnerProperties.Default.class) {
49 testClassOrPackage = testClass.getName();
59 public Class<?> testClass() {
60 return testRunnerProperties.testClass();
  /external/glide/testutil/src/main/java/com/bumptech/glide/testutil/
TestUtil.java 15 public static byte[] resourceToBytes(Class testClass, String resourceName) throws IOException {
16 return isToBytes(TestResourceUtil.openResource(testClass, resourceName));
  /external/testng/src/main/java/org/testng/internal/annotations/
BaseAnnotation.java 26 public void setTestClass(Class testClass) {
27 m_testClass = testClass;
DefaultAnnotationTransformer.java 14 public void transform(ITestAnnotation annotation, Class testClass,
  /frameworks/opt/setupwizard/library/test/robotest/src/com/android/setupwizardlib/robolectric/
SuwLibRobolectricTestRunner.java 26 public SuwLibRobolectricTestRunner(Class<?> testClass) throws InitializationError {
27 super(testClass);
  /external/javaparser/javaparser-testing/src/test/java/com/github/javaparser/builders/
FieldDeclarationBuildersTest.java 39 private ClassOrInterfaceDeclaration testClass = cu.addClass("testClass");
54 testClass.addPrivateField(int.class, "myField").createGetter();
55 assertEquals(2, testClass.getMembers().size());
56 assertEquals(MethodDeclaration.class, testClass.getMember(1).getClass());
57 List<MethodDeclaration> methodsWithName = testClass.getMethodsByName("getMyField");
67 testClass.addPrivateField(int.class, "myField").createSetter();
68 assertEquals(2, testClass.getMembers().size());
69 assertEquals(MethodDeclaration.class, testClass.getMember(1).getClass());
70 List<MethodDeclaration> methodsWithName = testClass.getMethodsByName("setMyField")
    [all...]
  /external/testng/src/main/java/org/testng/internal/
TestMethodWorker.java 106 ITestClass testClass = testMethod.getTestClass();
108 invokeBeforeClassMethods(testClass, testMthdInst);
115 invokeAfterClassMethods(testClass, testMthdInst);
143 * @param testClass
146 protected void invokeBeforeClassMethods(ITestClass testClass, IMethodInstance mi) {
148 listener.onBeforeClass(testClass, mi);
156 ITestNGMethod[] classMethods= testClass.getBeforeClassMethods();
165 // System.out.println("SYNCHRONIZING ON " + testClass
169 synchronized(testClass) {
170 Set<Object> instances= invokedBeforeClassMethods.get(testClass);
    [all...]
  /external/flatbuffers/tests/FlatBuffers.Test/
Program.cs 33 foreach (var testClass in testClasses)
35 var methods = testClass.GetMethods(BindingFlags.Public |
39 var inst = Activator.CreateInstance(testClass);
51 testClass.Name ,method.Name, ex.GetBaseException());
  /external/icu/icu4c/source/test/intltest/
uobjtest.h 37 UObject *testClass(UObject *obj,
  /external/junit/src/main/java/org/junit/runners/model/
RunnerBuilder.java 28 * public TextFileSuite(Class testClass, RunnerBuilder builder) {
45 * @param testClass class to be run
49 public abstract Runner runnerForClass(Class<?> testClass) throws Throwable;
54 * @param testClass class to be run
57 public Runner safeRunnerForClass(Class<?> testClass) {
59 return runnerForClass(testClass);
61 return new ErrorReportingRunner(testClass, e);
  /external/testng/src/main/java/org/testng/
IAnnotationTransformer.java 16 * Note that only one of the three parameters testClass,
21 * @param testClass If the annotation was found on a class, this
28 public void transform(ITestAnnotation annotation, Class testClass,

Completed in 687 milliseconds

1 23 4 5 6 7 8 91011>>