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/28 09:11:53 UTC

[isis] branch ISIS-2705 updated (e89b1ac -> d0398db)

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

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


    from e89b1ac  ISIS-2705: sets up new facets to hide an object if (from perms) all of its members are hidden.  Also new facets on members of _other_ objects that navigate to said types, to hide them if the target is not visible to the user
     add 499670b  Merge pull request #567 from apache/ISIS-2705
     add 7851ff6  ISIS-2706: workarounds so that ApplicationTenancy can be persisted.
     new d0398db  ISIS-2705: fixes metamodel test

The 1 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails.  The revisions
listed as "add" were already present in the repository and have only
been added to this reference.


Summary of changes:
 .../core/metamodel/facets/param/name/ParameterNameFacetTest.java  | 5 ++---
 .../applib/tenancy/dom/ApplicationTenancyRepositoryAbstract.java  | 2 +-
 .../extensions/secman/jpa/tenancy/dom/ApplicationTenancy.java     | 8 +++++++-
 3 files changed, 10 insertions(+), 5 deletions(-)

[isis] 01/01: ISIS-2705: fixes metamodel test

Posted by da...@apache.org.
This is an automated email from the ASF dual-hosted git repository.

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

commit d0398dbdfca0e91f5f31c16b2742fdf1d43fb3a3
Author: danhaywood <da...@haywood-associates.co.uk>
AuthorDate: Fri May 28 10:11:39 2021 +0100

    ISIS-2705: fixes metamodel test
---
 .../core/metamodel/facets/param/name/ParameterNameFacetTest.java     | 5 ++---
 1 file changed, 2 insertions(+), 3 deletions(-)

diff --git a/core/metamodel/src/test/java/org/apache/isis/core/metamodel/facets/param/name/ParameterNameFacetTest.java b/core/metamodel/src/test/java/org/apache/isis/core/metamodel/facets/param/name/ParameterNameFacetTest.java
index ade8cad..5cac001 100644
--- a/core/metamodel/src/test/java/org/apache/isis/core/metamodel/facets/param/name/ParameterNameFacetTest.java
+++ b/core/metamodel/src/test/java/org/apache/isis/core/metamodel/facets/param/name/ParameterNameFacetTest.java
@@ -58,13 +58,12 @@ public class ParameterNameFacetTest extends AbstractFacetFactoryJUnit4TestCase {
 
         val metaModelContext = MetaModelContext_forTesting.builder().build();
 
-        ((ProgrammingModelAbstract)programmingModel)
-        .init(new ProgrammingModelInitFilterDefault(), metaModelContext);
+        programmingModel.init(new ProgrammingModelInitFilterDefault(), metaModelContext);
 
         super.setUpFacetedMethodAndParameter();
 
         // verify that
-        assertEquals(117, programmingModel.streamFactories().count());
+        assertEquals(118, programmingModel.streamFactories().count());
     }
 
     @Override