|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||
java.lang.Objectjunit.framework.Assert
junit.framework.TestCase
JSR166TestCase
ThreadLocalRandomTest
public class ThreadLocalRandomTest
| Nested Class Summary |
|---|
| Field Summary |
|---|
| Fields inherited from class JSR166TestCase |
|---|
eight, expensiveTests, five, four, LONG_DELAY_MS, m1, m10, m2, m3, m4, m5, m6, MEDIUM_DELAY_MS, nine, one, seven, SHORT_DELAY_MS, six, SIZE, SMALL_DELAY_MS, TEST_STRING, three, two, zero |
| Constructor Summary | |
|---|---|
ThreadLocalRandomTest()
|
|
| Method Summary | |
|---|---|
static void |
main(java.lang.String[] args)
|
static junit.framework.Test |
suite()
|
void |
testNextBoolean()
Repeated calls to nextBoolean produce at least one different result |
void |
testNextDouble()
Repeated calls to nextDouble produce at least one different result |
void |
testNextDoubleBounded2()
nextDouble(least, bound) returns least <= value < bound; repeated calls produce at least one different result |
void |
testNextFloat()
Repeated calls to nextFloat produce at least one different result |
void |
testNextGaussian()
Repeated calls to nextGaussian produce at least one different result |
void |
testNextInt()
Repeated calls to nextInt produce at least one different result |
void |
testNextIntBadBounds()
nextInt(least >= bound) throws IllegalArgumentException; |
void |
testNextIntBounded()
nextInt(bound) returns 0 <= value < bound; repeated calls produce at least one different result |
void |
testNextIntBounded2()
nextInt(least, bound) returns least <= value < bound; repeated calls produce at least one different result |
void |
testNextIntBoundedNeg()
nextInt(negative) throws IllegalArgumentException; |
void |
testNextLong()
Repeated calls to nextLong produce at least one different result |
void |
testNextLongBadBounds()
nextLong(least >= bound) throws IllegalArgumentException; |
void |
testNextLongBounded()
nextLong(bound) returns 0 <= value < bound; repeated calls produce at least one different result |
void |
testNextLongBounded2()
nextLong(least, bound) returns least <= value < bound; repeated calls produce at least one different result |
void |
testNextLongBoundedNeg()
nextLong(negative) throws IllegalArgumentException; |
void |
testSetSeed()
setSeed throws UnsupportedOperationException |
| Methods inherited from class junit.framework.TestCase |
|---|
countTestCases, createResult, getName, run, run, runBare, setName, toString |
| Methods inherited from class junit.framework.Assert |
|---|
assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertFalse, assertFalse, assertNotNull, assertNotNull, assertNotSame, assertNotSame, assertNull, assertNull, assertSame, assertSame, assertTrue, assertTrue, fail, fail, failNotEquals, failNotSame, failSame, format |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public ThreadLocalRandomTest()
| Method Detail |
|---|
public static void main(java.lang.String[] args)
public static junit.framework.Test suite()
public void testSetSeed()
public void testNextInt()
public void testNextLong()
public void testNextBoolean()
public void testNextFloat()
public void testNextDouble()
public void testNextGaussian()
public void testNextIntBoundedNeg()
public void testNextIntBadBounds()
public void testNextIntBounded()
public void testNextIntBounded2()
public void testNextLongBoundedNeg()
public void testNextLongBadBounds()
public void testNextLongBounded()
public void testNextLongBounded2()
public void testNextDoubleBounded2()
|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||