[weld-issues] [JBoss JIRA] Commented: (WELD-61) Test errors creating client proxy

Pete Muir (JIRA) jira-events at lists.jboss.org
Thu Jan 14 07:45:30 EST 2010


    [ https://jira.jboss.org/jira/browse/WELD-61?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12505871#action_12505871 ] 

Pete Muir commented on WELD-61:
-------------------------------

Possibly I was looking at the coverage report, or more possibly the fact that the exception above is wrong according to the spec, but we weren't testing this.

> Test errors creating client proxy
> ---------------------------------
>
>                 Key: WELD-61
>                 URL: https://jira.jboss.org/jira/browse/WELD-61
>             Project: Weld
>          Issue Type: Task
>          Components: Scopes & Contexts
>            Reporter: Pete Muir
>            Assignee: Nicklas Karlsson
>            Priority: Minor
>             Fix For: 1.0.1.CR1
>
>
> This block
>       catch (InstantiationException e)
> 	      {
> 	         throw new RuntimeException("Could not instantiate client proxy for " + bean, e);
> 	      }
> 	      catch (IllegalAccessException e)
> 	      {
> 	         throw new RuntimeException("Could not access bean correctly when creating client proxy for " + bean, e);
> 	      }
> isn't tested

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

        


More information about the weld-issues mailing list