[jboss-user] [JBoss Seam] - Re: TestNG and Seam Documentation 12.1. Unit testing Seam co

2007-08-13 Thread EagleEye
chuckadams wrote : You can't depend on the EJB3 container being initialized in a @BeforeClass/beforeTestClass method, because it does in fact run before the embedded container is started by SeamTest.init(). | Yep got the same problem. But with your idea you will get the same problem. It's

[jboss-user] [JBoss Seam] - Re: Integration Testing with TestNG and embeddedEjb

2007-08-13 Thread EagleEye
ok i see. But my Problem is that nothing is workin, even grabbin the component out of the JNDI. (nothing else the seam.core.Component is doing) What can be the problem? That I can't get anything of the seems to be loaded Components? | Object test =

[jboss-user] [JBoss Seam] - Re: Integration Testing with TestNG and embeddedEjb

2007-08-13 Thread EagleEye
[EMAIL PROTECTED] wrote : As I said that JNDI pattern is *wrong* for embedded ejb3. It should be | Super this is working right now! Sorry that i didn't get what u have meant, i changed the jndipattern in the ant build. Thx for your support! View the original post :

[jboss-user] [JBoss Seam] - Re: Problem in Seam Integration testing

2007-08-10 Thread EagleEye
As far as I know, withhin testing stuff You should use the getInstance() method of the SeamTest Cuz it has a lot MockImplementations. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4073054#4073054 Reply to the post :