use of com.hp.mwtests.ts.arjuna.resources.ExtendedObject in project narayana by jbosstm.
the class ExtendedUnitTest method testCadaver.
@Test
public void testCadaver() throws Exception {
arjPropertyManager.getCoordinatorEnvironmentBean().setReadonlyOptimisation(false);
AtomicAction A = new AtomicAction();
AtomicAction B = new AtomicAction();
ExtendedObject bo = new ExtendedObject();
Uid id = bo.get_uid();
bo = new ExtendedObject(id);
A.begin();
B.begin();
bo.set(2);
bo.terminate();
B.commit();
A.commit();
}
Aggregations