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

Comparing jsr166/src/test/tck/PhaserTest.java (file contents):
Revision 1.22 by jsr166, Mon Nov 8 20:02:57 2010 UTC vs.
Revision 1.23 by dl, Sat Nov 27 16:47:05 2010 UTC

# Line 329 | Line 329 | public class PhaserTest extends JSR166Te
329          Phaser parent = new Phaser();
330          Phaser child = new Phaser(parent);
331          assertState(child, 0, 0, 0);
332 <        assertState(parent, 0, 1, 1);
332 >        assertState(parent, 0, 0, 0);
333          assertEquals(0, child.register());
334          assertState(child, 0, 1, 1);
335          assertState(parent, 0, 1, 1);
# Line 362 | Line 362 | public class PhaserTest extends JSR166Te
362          Phaser root = new Phaser();
363          Phaser parent = new Phaser(root);
364          Phaser child = new Phaser(parent);
365 <        assertState(root, 0, 1, 1);
366 <        assertState(parent, 0, 1, 1);
365 >        assertState(root, 0, 0, 0);
366 >        assertState(parent, 0, 0, 0);
367          assertState(child, 0, 0, 0);
368          assertEquals(0, child.register());
369          assertState(root, 0, 1, 1);

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines