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 2021/05/21 06:00:10 UTC

[isis] branch ISIS-2644 updated: ISIS-2644: fixes regression test

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

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


The following commit(s) were added to refs/heads/ISIS-2644 by this push:
     new 276758f  ISIS-2644: fixes regression test
276758f is described below

commit 276758f3a6efc65c91d4026074b04aaf03045d65
Author: danhaywood <da...@haywood-associates.co.uk>
AuthorDate: Fri May 21 06:59:55 2021 +0100

    ISIS-2644: fixes regression test
---
 .../domainmodel/jdo/DomainModelTest_jdoMixins.java | 26 +++++++++++-----------
 1 file changed, 13 insertions(+), 13 deletions(-)

diff --git a/regressiontests/stable-persistence-jdo/src/test/java/org/apache/isis/testdomain/domainmodel/jdo/DomainModelTest_jdoMixins.java b/regressiontests/stable-persistence-jdo/src/test/java/org/apache/isis/testdomain/domainmodel/jdo/DomainModelTest_jdoMixins.java
index 55670f6..5f359df 100644
--- a/regressiontests/stable-persistence-jdo/src/test/java/org/apache/isis/testdomain/domainmodel/jdo/DomainModelTest_jdoMixins.java
+++ b/regressiontests/stable-persistence-jdo/src/test/java/org/apache/isis/testdomain/domainmodel/jdo/DomainModelTest_jdoMixins.java
@@ -38,11 +38,11 @@ import org.apache.isis.testing.integtestsupport.applib.validate.DomainModelValid
 import lombok.val;
 
 @SpringBootTest(
-        classes = { 
+        classes = {
                 Configuration_usingJdo.class,
                 Configuration_usingValidDomain.class,
-                
-        }, 
+
+        },
         properties = {
                 "isis.core.meta-model.introspector.mode=FULL",
                 "isis.applib.annotation.domain-object.editing=TRUE",
@@ -54,28 +54,28 @@ import lombok.val;
     IsisPresets.SilenceProgrammingModel
 })
 class DomainModelTest_jdoMixins {
-    
+
     @Inject private ServiceRegistry serviceRegistry;
     @Inject private SpecificationLoader specificationLoader;
-   
+
     @Test
     void goodDomain_shouldPassValidation() {
         //debug();
         assertFalse(specificationLoader.snapshotSpecifications().isEmpty());
-        
+
         val validateDomainModel = new DomainModelValidator(serviceRegistry);
         validateDomainModel.throwIfInvalid(); // should not throw
     }
-    
+
     @Test
     void pluginProvidedMixins_shouldBePickedUp() {
-        
+
         val holderSpec = specificationLoader.loadSpecification(JdoProduct.class);
-        
-        val mx_datanucleusIdLong = holderSpec.getAssociationElseFail("datanucleusIdLong"); // plugged in mixin
-        assertNotNull(mx_datanucleusIdLong);
-        
+
+        val mx_datanucleusVersionLong = holderSpec.getAssociationElseFail("datanucleusVersionLong"); // plugged in mixin
+        assertNotNull(mx_datanucleusVersionLong);
+
     }
-    
+
 
 }