[jboss-user] [JBoss Seam] - Re: Substituting ScopeType.APPLICATION components during tes

charles.crouch@jboss.com do-not-reply at jboss.com
Tue Mar 13 11:57:47 EDT 2007


Thanks Christian
Interesting, I don't see MOCK as an option described here:

http://docs.jboss.com/seam/1.2.0.GA/reference/en/html/annotations.html

How would this work exactly? When I was not running tests would I need comment out the @Name and @Install(precedence=MOCK) annotations on MyMockProductionInitializer in order to get my regular productionInitializer to be used?

Or is Seam smart enough to only kickin the @Install(precedence=MOCK)  when running SeamTests?

Thanks

View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4027590#4027590

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4027590



More information about the jboss-user mailing list