Package com.google.testing.threadtester

Interface Summary
BaseTestWrapper Interface for running a set of multi-threaded tests.
Breakpoint Represents a request for execution to block at a particular position.
BreakpointHandler A handler that can be added to a Breakpoint.
CallLogger An instance of a CallLogger is provided for every instance of an instrumented class under test.
ClassInstrumentation Contains information about a class that has been instrumented.
MainRunnable<T> Interface passed to the InterleavedRunner that represents the main thread of execution.
MethodInstrumentation Contains information about a method that has been instrumented.
ObjectInstrumentation<T> Contains information about an instance of a class that has been instrumented.
ReusableBreakpoint A Breakpoint designed for repeated use.
SecondaryRunnable<T,M extends MainRunnable<T>> Interface passed to the InterleavedRunner that represents the secondary thread of execution.
Stepper Allows an instrumented class to be stepped through line by line.
ThrowingRunnable A variant of Runnable whose main execution method is declared to throw an Exception.
 

Class Summary
AbstractBreakpoint Base class for implementations of Breakpoint.
AnnotatedTestRunner Runs a set of multithreaded tests defined by a series of annotations.
AnnotatedTestWrapper Implementation of BaseTestWrapper designed for use with AnnotatedTestRunner.
BaseThreadedTestRunner Runs a set of multithreaded tests.
CallLoggerFactory Creates a CallLogger for every instrumented class.
CodePosition Represents a point of execution within the code of a given class.
Instrumentation<T> Factory for obtaining instrumented classes and objects.
InterleavedRunner Utility class that tests two interleaved threads.
LineInstrumentation Represents a single source line in an instrumented class.
MainRunnableImpl<T> Implementation of MainRunnable with empty methods.
MethodInstrumentationImpl Represents a method within an instrumented class.
MethodRecorder<T> Provides a mechanism for creating CodePositions for a given object-under-test, using direct method calls.
RunResult Represents the result of running an InterleavedRunner.
Script<T> A Script represents a sequence of operations carried out on an object-under-test.
ScriptedTask<T> A task added to a Script.
Scripter<T> Runs a sequence of Scripts.
SecondaryRunnableImpl<T,M extends MainRunnable<T>> Implementation of SecondaryRunnable with empty methods.
SinglePositionBreakpoint A Breakpoint based on a single CodePosition.
TestInstrumenter An Instrumenter that transforms a class' bytecode in order to add tracing calls to a CallLogger.
TestThread Implementation of Thread that catches and stores any Exception thrown by the Thread.run() method.
ThreadedTest.NoException Default value for the ThreadedTest.expected() parameter.
ThreadedTestRunner Runs a set of multithreaded tests.
ThreadedTestWrapper Implementation of BaseTestWrapper designed for use with ThreadedTestRunner.
ThreadMonitor Utility class that monitors two threads, and waits for one of them to finish.
 

Exception Summary
TestTimeoutException Exception throw by the test framework if a test operation does not complete during the time specified by Options.timeout.
 

Annotation Types Summary
ThreadedAfter An annotation that designates part of a test suite that uses the AnnotatedTestRunner framework to perform multithreaded tests.
ThreadedAfterAll An optional annotation that designates part of a test suite that uses the AnnotatedTestRunner framework to perform multithreaded tests.
ThreadedBefore An annotation that designates part of a test suite that uses the AnnotatedTestRunner framework to perform multithreaded tests.
ThreadedBeforeAll An optional annotation that designates part of a test suite that uses the AnnotatedTestRunner framework to perform multithreaded tests.
ThreadedMain An annotation that designates part of a test case that uses the AnnotatedTestRunner framework to perform multithreaded tests.
ThreadedSecondary An annotation that designates part of a test case that uses the AnnotatedTestRunner framework to perform multithreaded tests.
ThreadedTest An annotation that designates a test that uses the ThreadedTestRunner framework to perform multithreaded tests.
ThreadedVerification An annotation that designates part of a test case that uses the AnnotatedTestRunner framework to perform multithreaded tests.
 



Copyright © 2013. All Rights Reserved.