There were actually a few tests that were passing because the deployment failed because the test itself was incorrect (missing persistence unit, missing test superclass).
Also, there are a few tests that deal with incorrect interceptor method signatures. When run in container, an IllegalArgumentException is thrown, while a DefinitionException is thrown otherwise. I've kept @ShouldThrowException(Exception.class) for these.
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira
Pull request at https://github.com/weld/core/pull/326
There were actually a few tests that were passing because the deployment failed because the test itself was incorrect (missing persistence unit, missing test superclass).
Also, there are a few tests that deal with incorrect interceptor method signatures. When run in container, an IllegalArgumentException is thrown, while a DefinitionException is thrown otherwise. I've kept @ShouldThrowException(Exception.class) for these.