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] [Updated] (TOMEE-2203) ApplicationException: defined by assemblyDescriptor, embedded don't work
Date Mon, 30 Jul 2018 09:50:00 GMT

     [ https://issues.apache.org/jira/browse/TOMEE-2203?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Andreas Schörk updated TOMEE-2203:
----------------------------------
    Description: 
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.

 

Greetings,

Andreas

  was:
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


> 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
>            Priority: Major
>
> 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.
>  
> Greetings,
> Andreas



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Mime
View raw message