Methods Summary |
---|
public static junit.framework.Test | suite()Setup the test suite.
return getDeploySetup(ClassloaderUnitTestCase.class, "classloader.jar, classloader-shared.jar, classloader-unshared.jar");
|
public void | testEJBOverride()
InitialContext jndiContext = new InitialContext();
Session30 stateless = (Session30)jndiContext.lookup("Session30");
assertNull(stateless.checkVersion());
|
public void | testSharedRepository()
InitialContext jndiContext = new InitialContext();
Session30 stateless = (Session30)jndiContext.lookup("Shared");
assertNull(stateless.checkVersion());
|
public void | testUnharedRepository()
InitialContext jndiContext = new InitialContext();
Session30 stateless = (Session30)jndiContext.lookup("Unshared");
Throwable t = stateless.checkVersion();
assertNotNull(t);
assertTrue(t instanceof java.lang.NoSuchMethodException);
|