4647484950515253
return new JBossTestSetup(getDeploySetup(BMTCleanUpUnitTestCase.class, "bmtcleanuptest.jar")); } public void testIncomplete() throws Exception { BMTCleanUp bean = getBean(); bean.testIncomplete(); }
5253545556575859
bean.testIncomplete(); } public void testTxTimeout() throws Exception { BMTCleanUp bean = getBean(); bean.testTxTimeout(); }
6061626364656667686970717273747576
} } public void testIncomplete() throws RemoteException { BMTCleanUp remote = (BMTCleanUp) sessionCtx.getEJBObject(); try { remote.doIncomplete(); } catch (RemoteException expected) { // expected } checkTransaction(); remote.doNormal(); }
888990919293949596979899100101102103104
} } public void testTxTimeout() throws RemoteException { BMTCleanUp remote = (BMTCleanUp) sessionCtx.getEJBObject(); try { remote.doTimeout(); } catch (RemoteException expected) { // expected } checkTransaction(); remote.doNormal(); }