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

Comparing jsr166/src/test/tck/AtomicLongFieldUpdaterTest.java (file contents):
Revision 1.25 by jsr166, Tue Apr 2 04:11:28 2013 UTC vs.
Revision 1.27 by jsr166, Wed Dec 31 19:05:42 2014 UTC

# Line 6 | Line 6
6   * Pat Fisher, Mike Judd.
7   */
8  
9 import junit.framework.*;
9   import java.util.concurrent.atomic.AtomicLongFieldUpdater;
10  
11 + import junit.framework.Test;
12 + import junit.framework.TestSuite;
13 +
14   public class AtomicLongFieldUpdaterTest extends JSR166TestCase {
15      volatile long x = 0;
16      int z;
# Line 34 | Line 36 | public class AtomicLongFieldUpdaterTest
36              updaterFor("y");
37              shouldThrow();
38          } catch (RuntimeException success) {
39 <            assertTrue(success.getCause() != null);
39 >            assertNotNull(success.getCause());
40          }
41      }
42  

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines