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

Examples of org.jboss.jbossts.qa.ArjunaCore.AbstractRecord.impl.Service01


      TxStats mStats = new TxStats();

      startTx();
      //add abstract record
      Service01 mService = new Service01(mNumberOfResources);
      mService.setupOper();
      mService.doWork(mMaxIteration);
      //comit transaction
      commit();

      mService = new Service01(mNumberOfResources);
      //start new AtomicAction
      startTx();
      mService.setupOper();
      mService.doWork(mMaxIteration);
      //abort transaction
      abort();

      if (mStats.numberOfAbortedTransactions() != 1)
      {
View Full Code Here


    try
    {
      setNumberOfCalls(2);
      setNumberOfResources(1);

      Service01 mService = new Service01(mNumberOfResources);
      TxStats mStats = new TxStats();

      startTx();
      mService.setupOper(true);
      mService.doWork(mMaxIteration);
      commit();

      mService = new Service01(mNumberOfResources);
      //start new AtomicAction
      startTx();
      mService.setupOper(true);
      mService.doWork(mMaxIteration);
      abort();

      //test what the final stat values are
      if (mStats.numberOfAbortedTransactions() != 1)
      {
View Full Code Here

TOP

Related Classes of org.jboss.jbossts.qa.ArjunaCore.AbstractRecord.impl.Service01

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.