Package com.clarkware.junitperf

Examples of com.clarkware.junitperf.TestMethodFactory


    public static Test suite() {
        TestSuite rootSuite = new TestSuite();
     rootSuite.addTest(new ProcHandling("importProcessDefinitions"));

        TestSuite suite = new TestSuite();
  TestMethodFactory factory
      = new TestMethodFactory(ProcHandling.class, "createProcess6Acts");
  addTest (suite, "Create 6 activities", factory);

  factory = new TestMethodFactory
      (ProcHandling.class, "createProcess11Acts");
  addTest (suite, "Create 11 activities", factory);

  factory = new TestMethodFactory
      (ProcHandling.class, "createProcess21Acts");
  addTest (suite, "Create 21 activities", factory);

  Map tg = new HashMap ();
  tg.put ("title", "Create Tests");
  rootSuite.addTest (new NamedTestGroup (suite, "TestGroup", tg));

  suite = new TestSuite ();

  factory = new TestMethodFactory
      (ProcHandling.class, "createStart11Acts");
  addTest (suite, "Create and start 11 activities", factory);

  tg.put ("title", "Create and Start Tests");
  rootSuite.addTest (new NamedTestGroup (suite, "TestGroup", tg));
View Full Code Here

TOP

Related Classes of com.clarkware.junitperf.TestMethodFactory

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.