You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@hivemind.apache.org by "Brian K. Wallace (JIRA)" <hi...@jakarta.apache.org> on 2005/02/03 08:43:17 UTC

[jira] Created: (HIVEMIND-90) Example test coverage incomplete

Example test coverage incomplete
--------------------------------

         Key: HIVEMIND-90
         URL: http://issues.apache.org/jira/browse/HIVEMIND-90
     Project: HiveMind
        Type: Test
  Components: examples  
    Versions: 1.1    
    Reporter: Brian K. Wallace
    Priority: Trivial
 Attachments: hivemind-examples-test-coverage.patch

The examples currently have 42.5% test coverage. While the remaining tests (for the most part) are extremely trivial and cross into the 'becomeTimidAndTestEverything' category, writing the tests helped me go through the examples.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa
-
If you want more information on JIRA, or have a bug to report see:
   http://www.atlassian.com/software/jira


---------------------------------------------------------------------
To unsubscribe, e-mail: hivemind-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: hivemind-dev-help@jakarta.apache.org


[jira] Commented: (HIVEMIND-90) Example test coverage incomplete

Posted by "Brian K. Wallace (JIRA)" <hi...@jakarta.apache.org>.
     [ http://issues.apache.org/jira/browse/HIVEMIND-90?page=comments#action_58561 ]
     
Brian K. Wallace commented on HIVEMIND-90:
------------------------------------------

The patch includes TestPanoramaMain which has a try/catch block in testMain. The catch block shouldn't catch Throwable - probably more appropriate to catch a RuntimeException.

> Example test coverage incomplete
> --------------------------------
>
>          Key: HIVEMIND-90
>          URL: http://issues.apache.org/jira/browse/HIVEMIND-90
>      Project: HiveMind
>         Type: Test
>   Components: examples
>     Versions: 1.1
>     Reporter: Brian K. Wallace
>     Priority: Trivial
>  Attachments: hivemind-examples-test-coverage.patch
>
> The examples currently have 42.5% test coverage. While the remaining tests (for the most part) are extremely trivial and cross into the 'becomeTimidAndTestEverything' category, writing the tests helped me go through the examples.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa
-
If you want more information on JIRA, or have a bug to report see:
   http://www.atlassian.com/software/jira


---------------------------------------------------------------------
To unsubscribe, e-mail: hivemind-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: hivemind-dev-help@jakarta.apache.org


[jira] Updated: (HIVEMIND-90) Example test coverage incomplete

Posted by "Brian K. Wallace (JIRA)" <hi...@jakarta.apache.org>.
     [ http://issues.apache.org/jira/browse/HIVEMIND-90?page=history ]

Brian K. Wallace updated HIVEMIND-90:
-------------------------------------

    Attachment: hivemind-examples-test-coverage.patch

Adds some new test cases. Modified a few example files to be able to verify tests.
Notable change is in ProxyLoggingInvocationHandler - removed if(debug) condition since this class is designed to explicitly log everything at debug.

> Example test coverage incomplete
> --------------------------------
>
>          Key: HIVEMIND-90
>          URL: http://issues.apache.org/jira/browse/HIVEMIND-90
>      Project: HiveMind
>         Type: Test
>   Components: examples
>     Versions: 1.1
>     Reporter: Brian K. Wallace
>     Priority: Trivial
>  Attachments: hivemind-examples-test-coverage.patch
>
> The examples currently have 42.5% test coverage. While the remaining tests (for the most part) are extremely trivial and cross into the 'becomeTimidAndTestEverything' category, writing the tests helped me go through the examples.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa
-
If you want more information on JIRA, or have a bug to report see:
   http://www.atlassian.com/software/jira


---------------------------------------------------------------------
To unsubscribe, e-mail: hivemind-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: hivemind-dev-help@jakarta.apache.org