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

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

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

revision 1.21, Sat May 28 12:13:08 2011 UTC revision 1.22, Tue May 31 16:16:24 2011 UTC
# Line 7  Line 7 
7   */   */
8    
9  import junit.framework.*;  import junit.framework.*;
10  import java.util.concurrent.*;  import java.util.concurrent.CountDownLatch;
11  import java.io.*;  import java.util.concurrent.TimeUnit;
12    
13  public class TimeUnitTest extends JSR166TestCase {  public class TimeUnitTest extends JSR166TestCase {
14      public static void main(String[] args) {      public static void main(String[] args) {
# Line 455  Line 455 
455       * a deserialized serialized unit is the same instance       * a deserialized serialized unit is the same instance
456       */       */
457      public void testSerialization() throws Exception {      public void testSerialization() throws Exception {
458          TimeUnit q = TimeUnit.MILLISECONDS;          TimeUnit x = TimeUnit.MILLISECONDS;
459          assertSame(q, serialClone(q));          assertSame(x, serialClone(x));
460      }      }
461    
462  }  }

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

Doug Lea
ViewVC Help
Powered by ViewVC 1.0.8