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

Comparing jsr166/src/test/tck/ConcurrentHashMap8Test.java (file contents):
Revision 1.10 by jsr166, Thu May 30 03:28:55 2013 UTC vs.
Revision 1.11 by jsr166, Sun Jul 14 16:35:48 2013 UTC

# Line 439 | Line 439 | public class ConcurrentHashMap8Test exte
439          assertEquals(y, x);
440      }
441  
442
442      static final int SIZE = 10000;
443      static ConcurrentHashMap<Long, Long> longMap;
444  
# Line 637 | Line 636 | public class ConcurrentHashMap8Test exte
636          assertEquals(adder.sum(), 3 * SIZE * (SIZE - 1) / 2);
637      }
638  
640
639      /**
640       * reduceKeysSequentially accumulates across all keys,
641       */
# Line 658 | Line 656 | public class ConcurrentHashMap8Test exte
656          assertEquals((long)r, (long)SIZE * (SIZE - 1) / 2);
657      }
658  
661
659      /**
660       * reduceEntriesSequentially accumulates across all entries
661       */
# Line 761 | Line 758 | public class ConcurrentHashMap8Test exte
758          assertEquals((long)r, (long)3 * SIZE * (SIZE - 1) / 2);
759      }
760  
764
761      /**
762       * reduceKeysToLongSequentially accumulates mapped keys
763       */

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines