use of com.hp.mwtests.ts.arjuna.resources.BasicRecord in project narayana by jbosstm.
the class OnePhaseCommitUnitTest method testFailed.
@Test
public void testFailed() throws Exception {
AtomicAction A = new AtomicAction();
OnePhaseAbstractRecord rec1 = new OnePhaseAbstractRecord();
BasicRecord rec2 = new BasicRecord();
A.begin();
A.add(rec1);
A.add(rec2);
A.commit();
assertTrue(!rec1.onePhaseCalled());
}
Aggregations