ISIS-1427: reinstating IsisSystemForTest#setUpSystem to avoid too many 
unnecessary breakages.


Project: http://git-wip-us.apache.org/repos/asf/isis/repo
Commit: http://git-wip-us.apache.org/repos/asf/isis/commit/c88f44ff
Tree: http://git-wip-us.apache.org/repos/asf/isis/tree/c88f44ff
Diff: http://git-wip-us.apache.org/repos/asf/isis/diff/c88f44ff

Branch: refs/heads/master
Commit: c88f44ffd33c7c38917969a198b26c02224be13f
Parents: 95c3ecc
Author: Dan Haywood <d...@haywood-associates.co.uk>
Authored: Fri Jun 10 17:42:16 2016 +0100
Committer: Dan Haywood <d...@haywood-associates.co.uk>
Committed: Fri Jun 10 17:42:16 2016 +0100

----------------------------------------------------------------------
 .../org/apache/isis/core/integtestsupport/IsisSystemForTest.java | 4 ++++
 1 file changed, 4 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/isis/blob/c88f44ff/core/integtestsupport/src/main/java/org/apache/isis/core/integtestsupport/IsisSystemForTest.java
----------------------------------------------------------------------
diff --git 
a/core/integtestsupport/src/main/java/org/apache/isis/core/integtestsupport/IsisSystemForTest.java
 
b/core/integtestsupport/src/main/java/org/apache/isis/core/integtestsupport/IsisSystemForTest.java
index 6df861a..b6a677e 100644
--- 
a/core/integtestsupport/src/main/java/org/apache/isis/core/integtestsupport/IsisSystemForTest.java
+++ 
b/core/integtestsupport/src/main/java/org/apache/isis/core/integtestsupport/IsisSystemForTest.java
@@ -269,6 +269,10 @@ public class IsisSystemForTest implements 
org.junit.rules.TestRule, DomainServic
     // populated at #setupSystem
     private IsisComponentProvider componentProvider;
 
+    public IsisSystemForTest setUpSystem() throws RuntimeException {
+        return initIfRequiredThenOpenSession();
+    }
+
     /**
      * Intended to be called from a test's {@link Before} method.
      */

Reply via email to