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/05/09 13:04:03 UTC

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

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


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 a 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

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

Posted by "Dan Haywood (Closed) (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/ISIS-96?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Dan Haywood closed ISIS-96.
---------------------------

    
> 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
>            Reporter: Kevin Meyer
>            Assignee: Kevin Meyer
>              Labels: test
>             Fix For: 0.1.2-incubating
>
>
> 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.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

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

Posted by "Kevin Meyer (JIRA)" <ji...@apache.org>.
     [ 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

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

Posted by "Kevin Meyer (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/ISIS-96?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Kevin Meyer updated ISIS-96:
----------------------------

    Description: 
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.

  was:
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 a known, and was previously discussed.

For clarity, other "hideXXX()" methods are called, for properties (e.g. Member#getInitials()), and HiddenException is thrown.


> 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
>              Labels: test
>
> 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