[cvs] / jsr166 / src / test / tck / AtomicBooleanTest.java Repository:
ViewVC logotype

Diff of /jsr166/src/test/tck/AtomicBooleanTest.java

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.20, Fri Jun 10 20:01:21 2011 UTC revision 1.21, Fri Jun 10 20:17:11 2011 UTC
# Line 132  Line 132 
132       */       */
133      public void testToString() {      public void testToString() {
134          AtomicBoolean ai = new AtomicBoolean();          AtomicBoolean ai = new AtomicBoolean();
135          assertEquals(ai.toString(), Boolean.toString(false));          assertEquals(Boolean.toString(false), ai.toString());
136          ai.set(true);          ai.set(true);
137          assertEquals(ai.toString(), Boolean.toString(true));          assertEquals(Boolean.toString(true), ai.toString());
138      }      }
139    
140  }  }

Legend:
Removed from v.1.20  
changed lines
  Added in v.1.21

Doug Lea
ViewVC Help
Powered by ViewVC 1.0.8