01: /*
02: * Author: Chris Seguin
03: *
04: * This software has been developed under the copyleft
05: * rules of the GNU General Public License. Please
06: * consult the GNU General Public License for more
07: * details about use and distribution of this software.
08: */
09: package org.acm.seguin.refactor.method;
10:
11: import junit.framework.*;
12:
13: /**
14: * Runs all the unit tests in this package
15: *
16: *@author Chris Seguin
17: */
18: public class TestPackage {
19: /**
20: * A suite of unit tests for JUnit
21: *
22: *@return The test suite
23: */
24: public static TestSuite suite() {
25: TestSuite suite = new TestSuite();
26:
27: suite.addTest(new TestSuite(TestPushUpMethod.class));
28: suite.addTest(new TestSuite(TestPushDownMethod.class));
29: suite.addTest(new TestSuite(TestPushUpAbstractMethod.class));
30: suite.addTest(new TestSuite(TestMoveMethodRefactoring.class));
31: suite.addTest(new TestSuite(TestExtractMethod.class));
32: suite.addTest(new TestSuite(
33: TestRenameParameterRefactoring.class));
34: suite.addTest(new TestSuite(TestRenameMethodRefactoring.class));
35:
36: return suite;
37: }
38: }
|