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

Comparing jsr166/src/test/tck/ConcurrentSkipListSetTest.java (file contents):
Revision 1.14 by jsr166, Wed Aug 25 01:44:48 2010 UTC vs.
Revision 1.16 by jsr166, Mon Oct 11 05:40:41 2010 UTC

# Line 659 | Line 659 | public class ConcurrentSkipListSetTest e
659       * Subsets of subsets subdivide correctly
660       */
661      public void testRecursiveSubSets() throws Exception {
662 <        int setSize = 1000;
662 >        int setSize = expensiveTests ? 1000 : 100;
663          Class cl = ConcurrentSkipListSet.class;
664  
665          NavigableSet<Integer> set = newSet(cl);
# Line 875 | Line 875 | public class ConcurrentSkipListSetTest e
875                  // BitSet should support this! Test would run much faster
876                  while (element >= min) {
877                      if (bs.get(element))
878 <                        return(element);
878 >                        return element;
879                      element--;
880                  }
881                  return -1;

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines