[jira] Created: (JMOCK-167) Don't report "returns a default value" for void methods

View: New views
4 Messages — Rating Filter:   Alert me  

[jira] Created: (JMOCK-167) Don't report "returns a default value" for void methods

by JIRA jira@codehaus.org :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Don't report "returns a default value" for void methods
-------------------------------------------------------

                 Key: JMOCK-167
                 URL: http://jira.codehaus.org/browse/JMOCK-167
             Project: jMock
          Issue Type: Improvement
          Components: Library
            Reporter: Steve Freeman
            Priority: Minor


When a void method isn't called, the error message looks like:

expected exactly 1 time, never invoked: auction.join(); returns a default value

The "returns a default value" is correct but confusing. We should either say "void" or nothing at all for void methods

--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

       

---------------------------------------------------------------------
To unsubscribe from this list please visit:

    http://xircles.codehaus.org/manage_email


[jira] Assigned: (JMOCK-167) Don't report "returns a default value" for void methods

by JIRA jira@codehaus.org :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message


     [ http://jira.codehaus.org/browse/JMOCK-167?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Nat Pryce reassigned JMOCK-167:
-------------------------------

    Assignee: Steve Freeman

> Don't report "returns a default value" for void methods
> -------------------------------------------------------
>
>                 Key: JMOCK-167
>                 URL: http://jira.codehaus.org/browse/JMOCK-167
>             Project: jMock
>          Issue Type: Improvement
>          Components: Library
>            Reporter: Steve Freeman
>            Assignee: Steve Freeman
>            Priority: Minor
>
> When a void method isn't called, the error message looks like:
> expected exactly 1 time, never invoked: auction.join(); returns a default value
> The "returns a default value" is correct but confusing. We should either say "void" or nothing at all for void methods

--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

       

---------------------------------------------------------------------
To unsubscribe from this list please visit:

    http://xircles.codehaus.org/manage_email


[jira] Resolved: (JMOCK-167) Don't report "returns a default value" for void methods

by JIRA jira@codehaus.org :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message


     [ http://jira.codehaus.org/browse/JMOCK-167?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Nat Pryce resolved JMOCK-167.
-----------------------------

       Resolution: Fixed
    Fix Version/s: 2.7.0

Fixed in subversion.

> Don't report "returns a default value" for void methods
> -------------------------------------------------------
>
>                 Key: JMOCK-167
>                 URL: http://jira.codehaus.org/browse/JMOCK-167
>             Project: jMock
>          Issue Type: Improvement
>          Components: Library
>            Reporter: Steve Freeman
>            Assignee: Steve Freeman
>            Priority: Minor
>             Fix For: 2.7.0
>
>
> When a void method isn't called, the error message looks like:
> expected exactly 1 time, never invoked: auction.join(); returns a default value
> The "returns a default value" is correct but confusing. We should either say "void" or nothing at all for void methods

--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

       

---------------------------------------------------------------------
To unsubscribe from this list, please visit:

    http://xircles.codehaus.org/manage_email



[jira] Updated: (JMOCK-167) Don't report "returns a default value" for void methods

by JIRA jira@codehaus.org :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message


     [ http://jira.codehaus.org/browse/JMOCK-167?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Nat Pryce updated JMOCK-167:
----------------------------

    Fix Version/s:     (was: 2.7.0)
                   2.6.0

> Don't report "returns a default value" for void methods
> -------------------------------------------------------
>
>                 Key: JMOCK-167
>                 URL: http://jira.codehaus.org/browse/JMOCK-167
>             Project: jMock
>          Issue Type: Improvement
>          Components: Library
>            Reporter: Steve Freeman
>            Assignee: Steve Freeman
>            Priority: Minor
>             Fix For: 2.6.0
>
>
> When a void method isn't called, the error message looks like:
> expected exactly 1 time, never invoked: auction.join(); returns a default value
> The "returns a default value" is correct but confusing. We should either say "void" or nothing at all for void methods

--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

       

---------------------------------------------------------------------
To unsubscribe from this list, please visit:

    http://xircles.codehaus.org/manage_email