Package edu.umd.cs.mtc
MultithreadedTC: This package provides a unit
testing framework for concurrent applications.
It provides a class MultithreadedTestCase
that makes it easy to define a test case that has multiple threads,
and tools to assist in evaluating the behavior of the
code under difference scenarios.
In particular, it provides a metronome framework for coordinating the actions in multiple threads, and a way to force wait and await calls to immediately return, testing various concurrency scenarios.
- Since:
- 1.0
- Author:
- William Pugh, Nathaniel Ayewah
-
Class Summary Class Description MultiThreadedRunner A junit runner which runs the threaded methods before the actual junit test method.MultithreadedTestCase This is the base class for each test in the MultithreadedTC framework.RunThreadsThenInvokeMethod This class plugs theMultithreadedTestCase
into the JUnit framework. -
Annotation Types Summary Annotation Type Description MultithreadedTest Annotation to indicate that a test triggers a multithreaded test case and that the threads should be run multiple times.Threaded Annotation to indicate that a method in aMultithreadedTestCase
should be run in a separate thread.