Package org.apache.derbyTesting.system.oe.client

Examples of org.apache.derbyTesting.system.oe.client.Submitter


     * as individual transactions and as a block.
     * @throws Exception
     */
    public void testSubmitter() throws Exception
    {
        Submitter submitter = new Submitter(this, this.ops, this.rand,
                (short) 1);
       
        int tranCount = 37;
        for (int i = 0; i < tranCount; i++)
        {
            submitter.runTransaction(null);
        }
       
        int tranCount2 = 47;
        submitter.runTransactions(null, tranCount2);
       
        int[] executeCounts = submitter.getTransactionCount();
        int totalTran = 0;
        for (int i = 0; i < executeCounts.length; i++)
            totalTran += executeCounts[i];
       
        assertEquals("Mismatch on Submitter transaction count",
View Full Code Here


     * as individual transactions and as a block.
     * @throws Exception
     */
    public void testSubmitter() throws Exception
    {
        Submitter submitter = new Submitter(this, this.ops, this.rand,
                (short) 1);
       
        int tranCount = 37;
        for (int i = 0; i < tranCount; i++)
        {
            submitter.runTransaction(null);
        }
       
        int tranCount2 = 47;
        submitter.runTransactions(null, tranCount2);
       
        int[] executeCounts = submitter.getTransactionCount();
        int totalTran = 0;
        for (int i = 0; i < executeCounts.length; i++)
            totalTran += executeCounts[i];
       
        assertEquals("Mismatch on Submitter transaction count",
View Full Code Here

TOP

Related Classes of org.apache.derbyTesting.system.oe.client.Submitter

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.