Package com.clarkware.junitperf
package com.clarkware.junitperf
-
ClassDescriptionThe
ConstantTimeris aTimerwith a constant delay.TheLoadTestis a test decorator that runs a test with a simulated number of concurrent users and iterations.TheRandomTimeris aTimerwith a random delay and a uniformly distributed variation.TheTestFactoryclass creates thread-localTestSuiteinstances.TheTestMethodFactoryclass is aTestFactorythat creates thread-localTestSuiteinstances containing a specific test method of aTestCase.TheThreadBarrierclass provides a callback method for threads to signal their completion.TheThreadedTestis a test decorator that runs a test in a separate thread.TheThreadedTestGroupis aThreadGroupthat catches and handles exceptions thrown by threads created and started byThreadedTestinstances.TheTimedTestis a test decorator that runs a test and measures the elapsed time of the test.TheTimerinterface defines the common interface implemented by all classes whose instances serve as pluggable timers.