You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@isis.apache.org by "Kevin Meyer (JIRA)" <ji...@apache.org> on 2011/06/05 19:38:47 UTC

[jira] [Resolved] (ISIS-96) JUnit viewer does not always detect "hideXXX"

     [ https://issues.apache.org/jira/browse/ISIS-96?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Kevin Meyer resolved ISIS-96.
-----------------------------

       Resolution: Invalid
    Fix Version/s: 0.1.2-incubating-SNAPSHOT
         Assignee: Kevin Meyer

I had forgotten to "wrap" the service in question. A correctly wrapped service (or domain object) *does* through the expected HiddenException. See the junit viewer module in the quickstart archetype.

> JUnit viewer does not always detect "hideXXX"
> ---------------------------------------------
>
>                 Key: ISIS-96
>                 URL: https://issues.apache.org/jira/browse/ISIS-96
>             Project: Isis
>          Issue Type: Bug
>          Components: Viewer: JUnit
>    Affects Versions: 0.1.2-incubating-SNAPSHOT
>            Reporter: Kevin Meyer
>            Assignee: Kevin Meyer
>              Labels: test
>             Fix For: 0.1.2-incubating-SNAPSHOT
>
>
> I have a method "public void registerVoteFor(Member member) ". 
> In the HTML viewer, "public boolean hideRegisterVoteFor()" is called, but not in the JUnit viewer - I am expecting a HiddenException, but it is not thrown.
> "public boolean hideRegisterVoteFor(Member member)" is never called, but this is known, and was previously discussed.
> For clarity, other "hideXXX()" methods are called, for properties (e.g. Member#getInitials()), and HiddenException is thrown.

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira