incubator-isis-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Kevin Meyer (JIRA)" <j...@apache.org>
Subject [jira] [Resolved] (ISIS-96) JUnit viewer does not always detect "hideXXX"
Date Sun, 05 Jun 2011 17:38:47 GMT

     [ 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

Mime
View raw message