01: /*
02: * Bossa Workflow System
03: *
04: * $Id: BossaTestSuite.java,v 1.11 2004/03/15 23:19:31 gdvieira Exp $
05: *
06: * Copyright (C) 2003,2004 OpenBR Sistemas S/C Ltda.
07: *
08: * This file is part of Bossa.
09: *
10: * Bossa is free software; you can redistribute it and/or modify it
11: * under the terms of version 2 of the GNU General Public License as
12: * published by the Free Software Foundation.
13: *
14: * This program is distributed in the hope that it will be useful,
15: * but WITHOUT ANY WARRANTY; without even the implied warranty of
16: * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
17: * General Public License for more details.
18: *
19: * You should have received a copy of the GNU General Public
20: * License along with this program; if not, write to the
21: * Free Software Foundation, Inc., 59 Temple Place - Suite 330,
22: * Boston, MA 02111-1307, USA.
23: */
24:
25: package com.bigbross.bossa;
26:
27: import junit.framework.Test;
28: import junit.framework.TestCase;
29: import junit.framework.TestSuite;
30:
31: import com.bigbross.bossa.history.HistoryTestSuite;
32: import com.bigbross.bossa.io.IOTestSuite;
33: import com.bigbross.bossa.notify.NotifyTestSuite;
34: import com.bigbross.bossa.resource.ResourceTestSuite;
35: import com.bigbross.bossa.wfnet.WFNetTestSuite;
36: import com.bigbross.bossa.work.WorkTestSuite;
37:
38: /**
39: * Tests using all testcases.
40: *
41: * @author <a href="http://www.bigbross.com">BigBross Team</a>
42: **/
43: public class BossaTestSuite extends TestCase {
44:
45: /**
46: * Constructor.
47: *
48: * @param name The name.
49: **/
50: public BossaTestSuite(String name) {
51: super (name);
52: }
53:
54: /**
55: * Makes the suite of tests.
56: *
57: * @return The suite.
58: **/
59: public static Test suite() {
60: TestSuite suite = new TestSuite("Bossa Test Suite");
61: /* All tests should be added here. */
62: suite.addTest(new TestSuite(TimeSourceTest.class));
63: suite.addTest(WFNetTestSuite.suite());
64: suite.addTest(ResourceTestSuite.suite());
65: suite.addTest(WorkTestSuite.suite());
66: suite.addTest(NotifyTestSuite.suite());
67: suite.addTest(HistoryTestSuite.suite());
68: suite.addTest(IOTestSuite.suite());
69: suite.addTest(new TestSuite(SlowFileTests.class));
70: return suite;
71: }
72: }
|