Repository: incubator-juneau
Updated Branches:
  refs/heads/master 1688d75db -> 856dd0d7b


Fix testcase failure when running from a timezone east of GMT.

Project: http://git-wip-us.apache.org/repos/asf/incubator-juneau/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-juneau/commit/856dd0d7
Tree: http://git-wip-us.apache.org/repos/asf/incubator-juneau/tree/856dd0d7
Diff: http://git-wip-us.apache.org/repos/asf/incubator-juneau/diff/856dd0d7

Branch: refs/heads/master
Commit: 856dd0d7bc35429acd86dcbf9274219cf68473f0
Parents: 1688d75
Author: jamesbognar <[email protected]>
Authored: Sun Sep 4 14:07:04 2016 -0400
Committer: jamesbognar <[email protected]>
Committed: Sun Sep 4 14:08:09 2016 -0400

----------------------------------------------------------------------
 .../juneau/a/rttests/RoundTripTransformBeansTest.java     | 10 +++++-----
 1 file changed, 5 insertions(+), 5 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-juneau/blob/856dd0d7/juneau-core/src/test/java/org/apache/juneau/a/rttests/RoundTripTransformBeansTest.java
----------------------------------------------------------------------
diff --git 
a/juneau-core/src/test/java/org/apache/juneau/a/rttests/RoundTripTransformBeansTest.java
 
b/juneau-core/src/test/java/org/apache/juneau/a/rttests/RoundTripTransformBeansTest.java
index 984f005..b9353eb 100755
--- 
a/juneau-core/src/test/java/org/apache/juneau/a/rttests/RoundTripTransformBeansTest.java
+++ 
b/juneau-core/src/test/java/org/apache/juneau/a/rttests/RoundTripTransformBeansTest.java
@@ -2,7 +2,7 @@
 // * Licensed to the Apache Software Foundation (ASF) under one or more 
contributor license agreements.  See the NOTICE file *
 // * distributed with this work for additional information regarding copyright 
ownership.  The ASF licenses this file        *
 // * to you under the Apache License, Version 2.0 (the "License"); you may not 
use this file except in compliance            *
-// * with the License.  You may obtain a copy of the License at                
                                              * 
+// * with the License.  You may obtain a copy of the License at                
                                              *
 // *                                                                           
                                              *
 // *  http://www.apache.org/licenses/LICENSE-2.0                               
                                              *
 // *                                                                           
                                              *
@@ -207,12 +207,12 @@ public class RoundTripTransformBeansTest extends 
RoundTripTest {
                assertNull(t.fn2Calendar);
 
                // DateSwap
-               assertEquals(1000, t.fDate.getTime());
+               assertEquals(1000, t.fDate.getTime() % 3600000);
                assertNull(t.fnDate);
-               assertEquals(3000, t.faDate[2].getTime());
-               assertEquals(4000, t.flDate.get(0).getTime());
+               assertEquals(3000, t.faDate[2].getTime() % 3600000);
+               assertEquals(4000, t.flDate.get(0).getTime() % 3600000);
                assertNull(t.flDate.get(1));
-               assertEquals(5000, t.fmDate.get("foo").getTime());
+               assertEquals(5000, t.fmDate.get("foo").getTime() % 3600000);
                assertNull(t.fmDate.get("bar"));
        }
 

Reply via email to