Package process

Source Code of process.ProcLifeCycleDirectStateSetting

package process;

import junit.framework.*;
import de.danet.an.util.junit.EJBClientTest;

/**
* Describe class <code>ProcLifeCycleDirectStateSetting</code> here.
*
* @author weidauer
* @version 1.0
*/
public class ProcLifeCycleDirectStateSetting extends ProcLifeCycle {
    /**
     * Constructor of this TestCase
     * @param name a <code>String</code> value
     */
    public ProcLifeCycleDirectStateSetting(String name) {
  super (name);
    }

    /**
     * Construct this test suit.
     * @return a <code>Test</code> value
     */
    public static Test suite() {
        TestSuite suite = new TestSuite();
  suite.addTest(new ProcLifeCycleDirectStateSetting
          ("importProcessDefinitions"));
  suite.addTest(new ProcLifeCycleDirectStateSetting
                ("checkStartAndFinishModeWithProcessP1"));
  suite.addTest(new ProcLifeCycleDirectStateSetting
          ("checkExceptionsWithProcessP2"));
        return new EJBClientTest (plc, suite);
    }

    /**
     * Initialisation.
     * The <code>setUp</code> method defines the way a state change is
     * realized. Override this method to change this way.
     * @exception Exception if an error occurs
     */
    protected void setUp() throws Exception {
  super.setUp();
  setSetStateDirectly(true);
    }
}
TOP

Related Classes of process.ProcLifeCycleDirectStateSetting

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.