You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@isis.apache.org by da...@apache.org on 2012/09/04 01:37:42 UTC

svn commit: r1380407 - /incubator/isis/trunk/framework/runtimes/dflt/testsupport/src/test/java/org/apache/isis/runtimes/dflt/runtime/fixturedomainservice/ObjectFixtureFilePersistorTest.java

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());
     }