incubator-isis-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From danhayw...@apache.org
Subject svn commit: r1380407 - /incubator/isis/trunk/framework/runtimes/dflt/testsupport/src/test/java/org/apache/isis/runtimes/dflt/runtime/fixturedomainservice/ObjectFixtureFilePersistorTest.java
Date Mon, 03 Sep 2012 23:37:42 GMT
Author: danhaywood
Date: Mon Sep  3 23:37:41 2012
New Revision: 1380407

URL: http://svn.apache.org/viewvc?rev=1380407&view=rev
Log:
ISIS-255

making all the tests be skipped if not running under GMT.

Modified:
    incubator/isis/trunk/framework/runtimes/dflt/testsupport/src/test/java/org/apache/isis/runtimes/dflt/runtime/fixturedomainservice/ObjectFixtureFilePersistorTest.java

Modified: incubator/isis/trunk/framework/runtimes/dflt/testsupport/src/test/java/org/apache/isis/runtimes/dflt/runtime/fixturedomainservice/ObjectFixtureFilePersistorTest.java
URL: http://svn.apache.org/viewvc/incubator/isis/trunk/framework/runtimes/dflt/testsupport/src/test/java/org/apache/isis/runtimes/dflt/runtime/fixturedomainservice/ObjectFixtureFilePersistorTest.java?rev=1380407&r1=1380406&r2=1380407&view=diff
==============================================================================
--- incubator/isis/trunk/framework/runtimes/dflt/testsupport/src/test/java/org/apache/isis/runtimes/dflt/runtime/fixturedomainservice/ObjectFixtureFilePersistorTest.java
(original)
+++ incubator/isis/trunk/framework/runtimes/dflt/testsupport/src/test/java/org/apache/isis/runtimes/dflt/runtime/fixturedomainservice/ObjectFixtureFilePersistorTest.java
Mon Sep  3 23:37:41 2012
@@ -80,6 +80,8 @@ public class ObjectFixtureFilePersistorT
 
         iswf.fixtures.smpl2.setName("Joe Bloggs");
         iswf.fixtures.smpl2.setDate(dateFormat.parse("09-Apr-2011 02:10 UTC"));
+
+        assumeThat(TimeZone.getDefault().getDisplayName(), is("Greenwich Mean Time"));
     }
     
 
@@ -95,7 +97,6 @@ public class ObjectFixtureFilePersistorT
         final SimpleEntity epv = (SimpleEntity) object;
         assertEquals("Fred Smith", epv.getName());
         
-        assumeThat(TimeZone.getDefault().getDisplayName(), is("Greenwich Mean Time"));
         assertEquals(dateFormat.parse("08-Mar-2010 01:00 GMT"), epv.getDate());
     }
 



Mime
View raw message