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 2020/01/29 19:38:40 UTC

[isis] 11/25: ISIS-2273: fixing classpath for runtimeservices

This is an automated email from the ASF dual-hosted git repository.

danhaywood pushed a commit to branch ISIS-2062
in repository https://gitbox.apache.org/repos/asf/isis.git

commit f24e9cb7079de713dc5f122c4c1e4c4d13e54865
Author: danhaywood <da...@haywood-associates.co.uk>
AuthorDate: Wed Jan 29 17:53:26 2020 +0000

    ISIS-2273: fixing classpath for runtimeservices
---
 core/runtimeservices/pom.xml                                       | 7 +++++++
 .../wrapper/WrapperFactoryDefault_wrappedObject_Test.java          | 4 +---
 2 files changed, 8 insertions(+), 3 deletions(-)

diff --git a/core/runtimeservices/pom.xml b/core/runtimeservices/pom.xml
index d555a04..0ed1f2e 100644
--- a/core/runtimeservices/pom.xml
+++ b/core/runtimeservices/pom.xml
@@ -82,6 +82,13 @@
             <scope>test</scope>
         </dependency>
 
+        <dependency>
+            <groupId>org.apache.isis.core</groupId>
+            <artifactId>isis-core-config</artifactId>
+            <type>test-jar</type>
+            <scope>test</scope>
+        </dependency>
+
 		<dependency>
             <groupId>org.apache.isis.core</groupId>
             <artifactId>isis-core-metamodel</artifactId>
diff --git a/core/runtimeservices/src/test/java/org/apache/isis/core/runtimeservices/wrapper/WrapperFactoryDefault_wrappedObject_Test.java b/core/runtimeservices/src/test/java/org/apache/isis/core/runtimeservices/wrapper/WrapperFactoryDefault_wrappedObject_Test.java
index df7def1..722bc0c 100644
--- a/core/runtimeservices/src/test/java/org/apache/isis/core/runtimeservices/wrapper/WrapperFactoryDefault_wrappedObject_Test.java
+++ b/core/runtimeservices/src/test/java/org/apache/isis/core/runtimeservices/wrapper/WrapperFactoryDefault_wrappedObject_Test.java
@@ -44,6 +44,7 @@ import org.apache.isis.applib.services.wrapper.InvalidException;
 import org.apache.isis.applib.services.xactn.TransactionService;
 import org.apache.isis.core.codegen.bytebuddy.services.ProxyFactoryServiceByteBuddy;
 import org.apache.isis.core.commons.internal.plugins.codegen.ProxyFactoryService;
+import org.apache.isis.core.config.unittestsupport.internal._Config;
 import org.apache.isis.core.metamodel.MetaModelContext_forTesting;
 import org.apache.isis.core.metamodel.context.MetaModelContext;
 import org.apache.isis.core.metamodel.facetapi.FacetUtil;
@@ -72,7 +73,6 @@ import org.apache.isis.core.runtimeservices.wrapper.dom.employees.EmployeeReposi
 import org.apache.isis.core.runtimeservices.wrapper.dom.employees.EmployeeRepositoryImpl;
 import org.apache.isis.core.security.authentication.AuthenticationSessionProvider;
 import org.apache.isis.core.security.authentication.standard.SimpleSession;
-import org.apache.isis.core.unittestsupport.config._Config;
 import org.apache.isis.core.unittestsupport.jmocking.JUnitRuleMockery2;
 import org.apache.isis.core.unittestsupport.jmocking.JUnitRuleMockery2.Mode;
 import org.apache.isis.schema.cmd.v2.CommandDto;
@@ -87,9 +87,7 @@ public class WrapperFactoryDefault_wrappedObject_Test {
     @Rule
     public ExpectedException expectedException = ExpectedException.none();
 
-    //@Mock private ObjectAdapterProvider mockAdapterManager;
     @Mock private AuthenticationSessionProvider mockAuthenticationSessionProvider;
-//    @Mock private PersistenceSessionServiceInternal mockPersistenceSessionServiceInternal;
     @Mock private MessageService mockMessageService;
     @Mock private CommandContext mockCommandContext;
     @Mock private Command mockCommand;