Package org.jboss.jbossts.qa.ArjunaCore.AbstractRecord.impl

Examples of org.jboss.jbossts.qa.ArjunaCore.AbstractRecord.impl.Service02.dowork()


      for (int j = 0; j < mNumberOfResources; j++)
      {
        //start transaction
        startTx();
        Service02 mService = new Service02(mNumberOfResources);
        mService.dowork(mMaxIteration);
        expectedCommitted += mMaxIteration / 2;
        expectedRolledback += mMaxIteration / 2;
        expectedNested += mMaxIteration;
        expectedTx += mMaxIteration + 1;
        if (j % 2 == 0)
View Full Code Here


      setNumberOfResources(1);

      TxStats mStats = new TxStats();

      Service02 mService = new Service02(mNumberOfResources);
      mService.dowork(mMaxIteration * 2);

      if (mStats.numberOfAbortedTransactions() != mMaxIteration)
      {
        Debug("error in number of aborted transactions: " + mStats.numberOfAbortedTransactions());
        mCorrect = false;
View Full Code Here

TOP
Copyright © 2018 www.massapi.com. 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.