13 |
|
|
14 |
|
public class AtomicIntegerTest extends JSR166TestCase { |
15 |
|
public static void main(String[] args) { |
16 |
< |
junit.textui.TestRunner.run(suite()); |
16 |
> |
main(suite(), args); |
17 |
|
} |
18 |
|
public static Test suite() { |
19 |
|
return new TestSuite(AtomicIntegerTest.class); |
191 |
|
} |
192 |
|
|
193 |
|
/** |
194 |
< |
* a deserialized serialized atomic holds same value |
194 |
> |
* a deserialized/reserialized atomic holds same value |
195 |
|
*/ |
196 |
|
public void testSerialization() throws Exception { |
197 |
|
AtomicInteger x = new AtomicInteger(); |