<html>
<head>
<meta http-equiv="content-type" content="text/html; charset=ISO-8859-1">
</head>
<body bgcolor="#FFFFFF" text="#000000">
Hi all,<br>
<br>
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.<br>
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?<br>
What initial context env have I to use?<br>
<br>
To get an idea of what I'm trying take a look there<br>
<br>
<meta http-equiv="content-type" content="text/html;
charset=ISO-8859-1">
<a
href="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">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</a><br>
<br>
thanks in advance<br>
</body>
</html>