Package org.jpos.transaction.participant

Examples of org.jpos.transaction.participant.CheckPoint


        assertEquals("(ArrayList) members.size()", 1, members.size());
    }

    @Test
    public void testCommit2() throws Throwable {
        members.add(new CheckPoint());
        transactionManager.commit(1, 100L, new IOException(), members, false, null, null);
        assertEquals("(ArrayList) members.size()", 1, members.size());
    }
View Full Code Here


        assertTrue("Test completed without Exception", true);
    }

    @Test
    public void testCommit6() throws Throwable {
        TransactionParticipant p = new CheckPoint();
        transactionManager.commit(p, 100L, "");
        assertTrue("Test completed without Exception", true);
    }
View Full Code Here

        assertEquals("result", 0, result);
    }

    @Test
    public void testPrepare2() throws Throwable {
        int result = transactionManager.prepare(new CheckPoint(), 100L, Boolean.FALSE);
        assertEquals("result", 193, result);
    }
View Full Code Here

TOP

Related Classes of org.jpos.transaction.participant.CheckPoint

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.