tomee-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Andreas Schörk (JIRA) <j...@apache.org>
Subject [jira] [Created] (TOMEE-2203) ApplicationException: defined by assemblyDescriptor, embedded don't work
Date Mon, 30 Jul 2018 09:49:00 GMT
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)

Mime
View raw message