[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.7, Mon Dec 29 19:05:40 2003 UTC revision 1.8, Fri Jan 9 20:07:36 2004 UTC
# Line 131  Line 131 
131          }          }
132      }      }
133    
134        /**
135         * toString returns current value.
136         */
137        public void testToString() {
138            AtomicBoolean ai = new AtomicBoolean();
139            assertEquals(ai.toString(), Boolean.toString(false));
140            ai.set(true);
141            assertEquals(ai.toString(), Boolean.toString(true));
142        }
143    
144  }  }

Legend:
Removed from v.1.7  
changed lines
  Added in v.1.8

Doug Lea
ViewVC Help
Powered by ViewVC 1.0.8