Skip to main content
aboutsummaryrefslogtreecommitdiffstats
blob: f7072daa47679e53b071d1df9ae974aa42725971 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
/**
 * <copyright>
 *
 * Copyright (c) 2005, 2006, 2007 Springsite BV (The Netherlands) and others
 * All rights reserved. This program and the accompanying materials
 * are made available under the terms of the Eclipse Public License v1.0
 * which accompanies this distribution, and is available at
 * http://www.eclipse.org/legal/epl-v10.html
 *
 * Contributors:
 *   Martin Taal
 * </copyright>
 *
 * $Id: AllTests.java,v 1.27 2007/12/28 14:36:36 mtaal Exp $
 */

package org.eclipse.emf.teneo.jpox.test.emf.sample;

import junit.framework.Test;
import junit.framework.TestSuite;

import org.eclipse.emf.teneo.jpox.test.JPOXTestbed;
import org.eclipse.emf.teneo.test.conf.MultiCfgTestSuite;
import org.eclipse.emf.teneo.test.emf.sample.CarAction;
import org.eclipse.emf.teneo.test.emf.sample.CatalogResourceAction;
import org.eclipse.emf.teneo.test.emf.sample.ForumAction;
import org.eclipse.emf.teneo.test.emf.sample.InventoryAction;
import org.eclipse.emf.teneo.test.emf.sample.LibraryFKAction;
import org.eclipse.emf.teneo.test.emf.sample.LibraryGlobalEagerAction;
import org.eclipse.emf.teneo.test.emf.sample.LibraryNonResolvingAction;
import org.eclipse.emf.teneo.test.emf.sample.LibraryResourceAction;
import org.eclipse.emf.teneo.test.emf.sample.LibraryResourceCutPasteAction;
import org.eclipse.emf.teneo.test.emf.sample.LibrarySerializationAction;
import org.eclipse.emf.teneo.test.emf.sample.LibraryValidateResourceAction;
import org.eclipse.emf.teneo.test.emf.sample.PlayAction;
import org.eclipse.emf.teneo.test.emf.sample.PrimerPOAction;
import org.eclipse.emf.teneo.test.emf.sample.ProductAction;
import org.eclipse.emf.teneo.test.emf.sample.RentalResourceReferenceAction;
import org.eclipse.emf.teneo.test.emf.sample.SunBooksAction;

/**
 * All tests
 * 
 * @author <a href="mailto:mtaal@elver.org">Martin Taal</a>
 * @version $Revision: 1.27 $
 */
public class AllTests {

	public static Test suite() {
		TestSuite suite =
				new MultiCfgTestSuite("Test for org.eclipse.emf.teneo.test.samples", JPOXTestbed.instance()
					.getConfigurations());

		suite.addTestSuite(LibrarySerializationAction.class);
		suite.addTestSuite(CarAction.class);

		suite.addTestSuite(LibraryFKAction.class);
		suite.addTestSuite(LibraryTest.class);

		suite.addTestSuite(RentalResourceReferenceAction.class);

		suite.addTestSuite(ProductAction.class);
		suite.addTestSuite(LibraryPMControllerAction.class);

		suite.addTestSuite(ExtendedPO2Test.class);

		suite.addTestSuite(LibraryResourceCutPasteAction.class);
		suite.addTestSuite(LibraryNonResolvingAction.class);

		suite.addTestSuite(LibraryValidateResourceAction.class);
		suite.addTestSuite(LibraryResourceAction.class);
		suite.addTestSuite(LibraryGlobalEagerAction.class);

		// suite.addTestSuite(WorkFlowAction.class);
		suite.addTestSuite(SunBooksAction.class);

		suite.addTestSuite(InventoryAction.class);
		suite.addTestSuite(CatalogResourceAction.class);

		suite.addTestSuite(AccountingTest.class);
		if (!JPOXTestbed.isRunningOnEMFTServer()) {
			suite.addTestSuite(SchoolLibraryTest.class);
			suite.addTestSuite(PlayImExportTest.class);
		}
		suite.addTestSuite(PlayAction.class);

		suite.addTestSuite(PrimerPOAction.class);
		suite.addTestSuite(ForumAction.class);
		suite.addTestSuite(CatalogTest.class);
		return suite;
	}
}

Back to the top