com.google.testing.threadtester
Interface BaseTestWrapper

All Known Implementing Classes:
AnnotatedTestWrapper, ThreadedTestWrapper

public interface BaseTestWrapper

Interface for running a set of multi-threaded tests. A BaseThreadedTestRunner loads a new instance of this class to perform the actual test run.

Note that because the test classes are loaded in a separate class loader, all access must be done via reflection. The various implementations of BaseTestWrapper simplify this process by having a single entry point that the BaseThreadedTestRunner can invoke. The implementation can then make compiled calls into the test classes.

Author:
alasdair.mackintosh@gmail.com (Alasdair Mackintosh)
See Also:
BaseThreadedTestRunner

Method Summary
 void runTests(Class<?> testClass, List<String> instrumentedClasses)
          Runs the multithreaded tests defined in the given test class.
 

Method Detail

runTests

void runTests(Class<?> testClass,
              List<String> instrumentedClasses)
              throws Exception
Runs the multithreaded tests defined in the given test class.

Throws:
Exception


Copyright © 2013. All Rights Reserved.