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 a6 * copy of the License at7 *8 * http://www.alfresco.org/legal/license.txt9 *10 * Unless required by applicable law or agreed to in writing,11 * software distributed under the License is distributed on an12 * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND,13 * either express or implied. See the License for the specific14 * language governing permissions and limitations under the15 * 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 suite29 * 30 * @author Roy Wetherall31 */32 public class VersionTestSuite extends TestSuite33 {34 /**35 * Creates the test suite36 * 37 * @return the test suite38 */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