[jboss-as7-dev] jndi lookup from a @RunAsClient test case
Stefano Maestri
smaestri at redhat.com
Fri Sep 2 10:43:08 EDT 2011
Hi all,
I've written a test case that need to invoke an operation (to add a
resource-adapter definition) and then have to make a jndi lookup.
I would define the test as @RunAsClient (arquillian of course) to avoid
to include all Model* classes in deployed rar, but are there any best
practice to make a jndi lookup from this kind of test cases?
What initial context env have I to use?
To get an idea of what I'm trying take a look there
https://github.com/maeste/jboss-as/blob/d7800c96a11c8ba218414be10ed66cdb30c80ff3/testsuite/smoke/src/test/java/org/jboss/as/test/embedded/deployment/rar/AS7_1452/AS7_1452TestCase.java
thanks in advance
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/jboss-as7-dev/attachments/20110902/526ad2f7/attachment.html
More information about the jboss-as7-dev
mailing list