/*
* This file is part of the WfMOpen project.
* Copyright (C) 2001-2003 Danet GmbH (www.danet.de), GS-AN.
* All rights reserved.
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 2 of the License, or
* (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this program; if not, write to the Free Software
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
*
* $Id: CreateTest.java 1607 2006-09-29 12:32:13Z drmlipp $
*
* $Log$
* Revision 1.1.1.1 2004/08/18 15:18:46 drmlipp
* Update to 1.2
*
* Revision 1.1 2004/05/07 12:56:04 lipp
* Create test for timings.
*
*/
package load;
import javax.security.auth.login.LoginException;
import de.danet.an.util.junit.EJBClientTest;
import common.UTLoginContext;
import junit.framework.Test;
import junit.framework.TestCase;
import junit.framework.TestSuite;
/**
* This class provides ...
*
* @author <a href="mailto:mnl@mnl.de">Michael N. Lipp</a>
* @version $Revision: 1607 $
*/
public class CreateTest extends TestCase {
private static UTLoginContext plc = null;
static {
try {
plc = new UTLoginContext();
plc.login();
} catch (LoginException e) {
throw new IllegalStateException (e.getMessage ());
}
}
/**
* Creates an instance of <code>CreateTest</code>
* with all attributes initialized to default values.
*/
public CreateTest (String name) {
super (name);
}
/**
* Make this test suite.
*/
public static Test suite() {
TestSuite rootSuite = new TestSuite();
rootSuite.addTest(new ProcHandling("importProcessDefinitions"));
for (int i = 0; i < 10; i++) {
rootSuite.addTest(new ProcHandling("createProcess11Acts"));
}
return new EJBClientTest (plc, rootSuite);
}
}