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

Comparing jsr166/src/test/tck/AtomicIntegerTest.java (file contents):
Revision 1.24 by jsr166, Fri Jun 10 20:17:11 2011 UTC vs.
Revision 1.25 by jsr166, Thu May 30 03:28:55 2013 UTC

# Line 194 | Line 194 | public class AtomicIntegerTest extends J
194      public void testSerialization() throws Exception {
195          AtomicInteger x = new AtomicInteger();
196          AtomicInteger y = serialClone(x);
197 <        assertTrue(x != y);
197 >        assertNotSame(x, y);
198          x.set(22);
199          AtomicInteger z = serialClone(x);
200          assertEquals(22, x.get());

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines