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

Comparing jsr166/src/test/tck/AtomicBooleanTest.java (file contents):
Revision 1.20 by jsr166, Fri Jun 10 20:01:21 2011 UTC vs.
Revision 1.21 by jsr166, Fri Jun 10 20:17:11 2011 UTC

# Line 132 | Line 132 | public class AtomicBooleanTest extends J
132       */
133      public void testToString() {
134          AtomicBoolean ai = new AtomicBoolean();
135 <        assertEquals(ai.toString(), Boolean.toString(false));
135 >        assertEquals(Boolean.toString(false), ai.toString());
136          ai.set(true);
137 <        assertEquals(ai.toString(), Boolean.toString(true));
137 >        assertEquals(Boolean.toString(true), ai.toString());
138      }
139  
140   }

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines