org.eclipse.jetty.toolchain.test
Class Stress

java.lang.Object
  extended by org.eclipse.jetty.toolchain.test.Stress

public final class Stress
extends Object

Flag indicating that Test is really used for Stress Testing.


Method Summary
static void assume()
          Labels the test method as belonging to Stress testing.
static boolean isEnabled()
          Returns flag indicating if -DSTRESS or -DSTRESS=true is enabled.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

isEnabled

public static boolean isEnabled()
Returns flag indicating if -DSTRESS or -DSTRESS=true is enabled.

Returns:
true if enabled

assume

public static void assume()
Labels the test method as belonging to Stress testing.

Checks for the existence of the "STRESS" system property, if found, it allows the test to execute. If not found, the test is flagged as ignored and returned.



Copyright © 1995-2012 Mort Bay Consulting. All Rights Reserved.