Start line:  
End line:  

Snippet Preview

Snippet HTML Code

Stack Overflow Questions
 package org.safehaus.chop.api;
Annotate Jukito enabled test classes with this annotation to run time based stress tests. The difference here is not the number of times your test runs but the amount of time for which your tests should run.
public @interface TimeChop {

The amount of time to run the tests.

the amount of time in milliseconds to run tests
    long time() default .;

The number of threads to use for concurrent invocation per runner.

the number of concurrent threads per runner
    int threads() default .;

Whether or not to perform a saturation test before running this test and use those discovered saturation parameters as overrides to the provided parameters.

whether or not to run a preliminary saturation test
    boolean saturate() default .;

This parameter allows you to introduce a delay between test iterations.

the delay between test iterations in milliseconds
    long delay() default .;
New to GrepCode? Check out our FAQ X