ViewVC Help
View File | Revision Log | Show Annotations | Download File | Root Listing
root/jsr166/jsr166/src/test/tck/ThreadLocalRandomTest.java
(Generate patch)

Comparing jsr166/src/test/tck/ThreadLocalRandomTest.java (file contents):
Revision 1.14 by jsr166, Sun Jul 14 16:55:01 2013 UTC vs.
Revision 1.18 by jsr166, Wed Sep 25 07:39:17 2013 UTC

# Line 36 | Line 36 | public class ThreadLocalRandomTest exten
36      // max sampled long bound
37      static final long MAX_LONG_BOUND = (1L << 42);
38  
39 +    // Number of replications for other checks
40 +    static final int REPS = 20;
41 +
42      /**
43       * setSeed throws UnsupportedOperationException
44       */
# Line 267 | Line 270 | public class ThreadLocalRandomTest exten
270          long firstRand = 0;
271          ThreadLocalRandom firstThreadLocalRandom = null;
272  
273 <        final CheckedRunnable getRandomState = new CheckedRunnable() {
273 >        Runnable getRandomState = new CheckedRunnable() {
274              public void realRun() {
275                  ThreadLocalRandom current = ThreadLocalRandom.current();
276                  assertSame(current, ThreadLocalRandom.current());

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines