This content has been marked as final.
Show 2 replies
-
1. Re: TestNG & @In problems
inabatch May 6, 2008 4:40 PM (in response to evdelst)Hi,
Earlier, I solved your same problem.
Please try this.
Contexts.getConversationContext().set("user", "x");protected void testComponents() throws Exception { Contexts.getConversationContext().set("user", "x"); assert invokeMethod("#{dummy.test()}").equals("hello x"); }
If target scope is wrong, you may have to fix target scope(e.g. getSessionContext()).
Best regards,
Nobuyuki Inaba -
2. Re: TestNG & @In problems
evdelst May 6, 2008 4:56 PM (in response to evdelst)That was it.
Thank you for your help!
Regards,
Edwin van der Elst