| |
|
| org.objectweb.jonas.jtests.util.JTestCase org.objectweb.jonas.jtests.clients.j2eeca.F_runtimeTest
F_runtimeTest | public class F_runtimeTest extends JTestCase (Code) | | Tests Jonas Connector Architecture Basic error logging and tracing and component-managed sign-on.
|
Method Summary | |
public static void | main(String args) | protected void | setUp() | protected void | startUp(String testName) | public static Test | suite() | protected void | tearDown() | public void | testPrintWriterNull() Basic error logging and tracing negative test.
An application server is required to use the following interfaces (supported
by the resource adapter) to provide basic error logging and tracing for its
configured set of resource adapters.
• ManagedConnectionFactory.set/getLogWriter
• ManagedConnection.set/getLogWriter
This test
includes in jonas-ra.xml file the log-enabled info as
shown below. | public void | testSecurityContextApplication() Component managed sign-on.
The application server relies on the resource adapter to manage EIS
sign-on. |
setUp | protected void setUp()(Code) | | |
suite | public static Test suite()(Code) | | |
testPrintWriterNull | public void testPrintWriterNull() throws Exception(Code) | | Basic error logging and tracing negative test.
An application server is required to use the following interfaces (supported
by the resource adapter) to provide basic error logging and tracing for its
configured set of resource adapters.
• ManagedConnectionFactory.set/getLogWriter
• ManagedConnection.set/getLogWriter
This test
includes in jonas-ra.xml file the log-enabled info as
shown below. The Nolog.rar
is used. This test looks up "FictionalNolog" in the JNDI name space. The F_runtimeTest is
deployed with log-enabled set to false.
<log-enabled>false</log-enabled>
<log-topic></log-topic>
|
testSecurityContextApplication | public void testSecurityContextApplication() throws Exception(Code) | | Component managed sign-on.
The application server relies on the resource adapter to manage EIS
sign-on. Username and password are passed during connection.
When this class is deployed, the runtime.xml file contains:
<res-auth>Application</res-auth>
|
|
|
|