org.apache.sling.testing.tools.sling
Class TimeoutsProvider
java.lang.Object
org.apache.sling.testing.tools.sling.TimeoutsProvider
public class TimeoutsProvider
- extends java.lang.Object
Return timeout values that can be multiplied by a configurable
factor. Useful to cope with slower integration testing systems:
use timeout constants in your code that work for usual development
systems, and set a multiplier when running on a slower system.
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
PROP_TIMEOUT_MULTIPLIER
public static final java.lang.String PROP_TIMEOUT_MULTIPLIER
- See Also:
- Constant Field Values
getInstance
public static TimeoutsProvider getInstance()
getTimeout
public long getTimeout(long nomimalValue)
getTimeout
public int getTimeout(int nomimalValue)
Copyright © 2007-2011 The Apache Software Foundation. All Rights Reserved.