Andreas Schörk created TOMEE-2203: ------------------------------------- Summary: ApplicationException: defined by assemblyDescriptor, embedded don't work Key: TOMEE-2203 URL: https://issues.apache.org/jira/browse/TOMEE-2203 Project: TomEE Issue Type: Bug Reporter: Andreas Schörk
Hello, [https://github.com/1and1/ejb-cdi-unit/blob/master/ejb-cdi-unit-tomee/src/test/java/ejbcdiunit/EmbeddedTomeeAppExcTransactionTest.java] shows a test I would like to use, to show that ejbcdiunit a framework used to simulate a ejb-environment inside junit, behaves as embedded tomee does behave. There is another module which does the same in the case of jboss, The two methods testDeclaredAppExcInCurrentTra and testDeclaredAppRtExcInCurrentTra should allow to check on the behaviour in case of ApplicationExceptions defined by assemblyDescriptor. This seems not to work, so the method of the superclass has been overridden and set to ignore. If you remove these two methods the error will be shown. testDeclaredAppExcInCurrentTra testDeclaredAppExcInCurrentTra testDeclaredAppExcInCurrentTra -- This message was sent by Atlassian JIRA (v7.6.3#76005)