public class TestTimeRangeTracker extends Object
| Constructor and Description |
|---|
TestTimeRangeTracker() |
| Modifier and Type | Method and Description |
|---|---|
static void |
main(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 InterruptedException
InterruptedExceptionpublic static void main(String[] args) throws InterruptedException
args - InterruptedException