KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > org > alfresco > repo > version > VersionTestSuite


1 /*
2  * Copyright (C) 2005 Alfresco, Inc.
3  *
4  * Licensed under the Mozilla Public License version 1.1
5  * with a permitted attribution clause. You may obtain a
6  * copy of the License at
7  *
8  * http://www.alfresco.org/legal/license.txt
9  *
10  * Unless required by applicable law or agreed to in writing,
11  * software distributed under the License is distributed on an
12  * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND,
13  * either express or implied. See the License for the specific
14  * language governing permissions and limitations under the
15  * License.
16  */

17 package org.alfresco.repo.version;
18
19 import junit.framework.Test;
20 import junit.framework.TestSuite;
21
22 import org.alfresco.repo.version.common.VersionHistoryImplTest;
23 import org.alfresco.repo.version.common.VersionImplTest;
24 import org.alfresco.repo.version.common.counter.VersionCounterDaoServiceTest;
25 import org.alfresco.repo.version.common.versionlabel.SerialVersionLabelPolicyTest;
26
27 /**
28  * Version test suite
29  *
30  * @author Roy Wetherall
31  */

32 public class VersionTestSuite extends TestSuite
33 {
34     /**
35      * Creates the test suite
36      *
37      * @return the test suite
38      */

39     public static Test suite()
40     {
41         TestSuite suite = new TestSuite();
42         suite.addTestSuite(VersionImplTest.class);
43         suite.addTestSuite(VersionHistoryImplTest.class);
44         suite.addTestSuite(SerialVersionLabelPolicyTest.class);
45         suite.addTestSuite(VersionCounterDaoServiceTest.class);
46         suite.addTestSuite(VersionServiceImplTest.class);
47         suite.addTestSuite(NodeServiceImplTest.class);
48         suite.addTestSuite(ContentServiceImplTest.class);
49         return suite;
50     }
51 }
52
Popular Tags