public class TestTimeRangeTracker
extends java.lang.Object
| Constructor and Description |
|---|
TestTimeRangeTracker() |
| Modifier and Type | Method and Description |
|---|---|
static void |
main(java.lang.String[] args)
Bit of code to test concurrent access on this class.
|
void |
testAlwaysDecrementingSetsMaximum() |
void |
testArriveAtRightAnswer()
Run a bunch of threads against a single TimeRangeTracker and ensure we arrive
at right range.
|
void |
testSimpleInRange() |
public void testAlwaysDecrementingSetsMaximum()
public void testSimpleInRange()
public void testArriveAtRightAnswer()
throws java.lang.InterruptedException
java.lang.InterruptedExceptionpublic static void main(java.lang.String[] args)
throws java.lang.InterruptedException
args - java.lang.InterruptedException