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

Comparing jsr166/src/test/tck/ConcurrentSkipListMapTest.java (file contents):
Revision 1.20 by jsr166, Sat Oct 9 19:30:34 2010 UTC vs.
Revision 1.23 by jsr166, Thu Apr 14 22:55:08 2011 UTC

# Line 1 | Line 1
1   /*
2   * Written by Doug Lea with assistance from members of JCP JSR-166
3   * Expert Group and released to the public domain, as explained at
4 < * http://creativecommons.org/licenses/publicdomain
4 > * http://creativecommons.org/publicdomain/zero/1.0/
5   */
6  
7   import junit.framework.*;
# Line 980 | Line 980 | public class ConcurrentSkipListMapTest e
980       * Submaps of submaps subdivide correctly
981       */
982      public void testRecursiveSubMaps() throws Exception {
983 <        int mapSize = 1000;
983 >        int mapSize = expensiveTests ? 1000 : 100;
984          Class cl = ConcurrentSkipListMap.class;
985          NavigableMap<Integer, Integer> map = newMap(cl);
986          bs = new BitSet(mapSize);
# Line 1161 | Line 1161 | public class ConcurrentSkipListMapTest e
1161       */
1162      void check(NavigableMap<Integer, Integer> map,
1163                        final int min, final int max, final boolean ascending) {
1164 <       class ReferenceSet {
1164 >        class ReferenceSet {
1165              int lower(int key) {
1166                  return ascending ? lowerAscending(key) : higherAscending(key);
1167              }

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines