Skip to main content
aboutsummaryrefslogtreecommitdiffstats
blob: 25c746509943244993b8105df2625b614068fb73 (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
/**
 * <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: AllGenerateTests.java,v 1.18 2007/07/11 17:14:37 mtaal Exp $
 */

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

import junit.framework.Test;

import org.eclipse.emf.teneo.jpox.test.JPOXTestbed;
import org.eclipse.emf.teneo.jpox.test.generate.JPOXGenerateTest;
import org.eclipse.emf.teneo.test.conf.MultiCfgTestSuite;
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;
import org.eclipse.emf.teneo.test.emf.sample.WorkFlowAction;

/**
 * All tests
 * 
 * @author <a href="mailto:mtaal@elver.org">Martin Taal</a>
 * @version $Revision: 1.18 $
 */
public class AllGenerateTests {
	public static Test suite() {
		MultiCfgTestSuite suite =
				new MultiCfgTestSuite("Test for org.eclipse.emf.teneo.test.samples", JPOXTestbed.instance()
					.getConfigurations());
		suite.addTest(new JPOXGenerateTest(LibraryFKAction.class));

		suite.addTest(new JPOXGenerateTest(LibraryTest.testAction));
		suite.addTest(new JPOXGenerateTest(RentalResourceReferenceAction.class));

		suite.addTest(new JPOXGenerateTest(SchoolLibraryTest.testAction));

		suite.addTest(new JPOXGenerateTest(LibraryPMControllerAction.class));

		suite.addTest(new JPOXGenerateTest(LibraryResourceCutPasteAction.class));
		suite.addTest(new JPOXGenerateTest(LibraryNonResolvingAction.class));

		suite.addTest(new JPOXGenerateTest(LibrarySerializationAction.class));
		suite.addTest(new JPOXGenerateTest(LibraryResourceAction.class));
		suite.addTest(new JPOXGenerateTest(LibraryValidateResourceAction.class));
		suite.addTest(new JPOXGenerateTest(LibraryGlobalEagerAction.class));

		suite.addTest(new JPOXGenerateTest(WorkFlowAction.class));
		suite.addTest(new JPOXGenerateTest(SunBooksAction.class));

		suite.addTest(new JPOXGenerateTest(InventoryAction.class));
		suite.addTest(new JPOXGenerateTest(CatalogResourceAction.class));
		suite.addTest(new JPOXGenerateTest(ExtendedPO2Test.testAction));

		suite.addTest(new JPOXGenerateTest(AccountingTest.testAction));

		suite.addTest(new JPOXGenerateTest(PlayImExportTest.testAction));
		suite.addTest(new JPOXGenerateTest(PlayAction.class));

		suite.addTest(new JPOXGenerateTest(ProductAction.class));
		suite.addTest(new JPOXGenerateTest(PrimerPOAction.class));
		suite.addTest(new JPOXGenerateTest(ForumAction.class));
		suite.addTest(new JPOXGenerateTest(CatalogTest.testAction));

		return suite;
	}
}

Back to the top