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.3 by jsr166, Sat Aug 1 21:56:02 2009 UTC vs.
Revision 1.4 by jsr166, Sat Aug 1 22:09:13 2009 UTC

# Line 88 | Line 88 | public class PhaserTest extends JSR166Te
88      }
89  
90      /**
91 <     * Registering any more then 65536 parties causes IllegalStateExceptiom
91 >     * Registering more than 65536 parties causes IllegalStateException
92       */
93      public void testRegister2() {
94          Phaser phaser = new Phaser(0);
# Line 137 | Line 137 | public class PhaserTest extends JSR166Te
137  
138      /**
139       * Invoking bulkRegister with a negative parameter throws an
140 <     * IllegalArgumentExceptiom
140 >     * IllegalArgumentException
141       */
142      public void testBulkRegister1() {
143          try {
# Line 158 | Line 158 | public class PhaserTest extends JSR166Te
158      }
159  
160      /**
161 <     * Registering with a number of parties greater then or equal to 1<<16
162 <     * throws IllegalStateExceptiom.
161 >     * Registering with a number of parties greater than or equal to 1<<16
162 >     * throws IllegalStateException.
163       */
164      public void testBulkRegister3() {
165          try {

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines