Skip to main content
aboutsummaryrefslogtreecommitdiffstats
blob: 84a74ca841e2149b0ddb1fd047e62b3459cb032a (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
/**
 * <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.11 2007/03/29 22:14:46 mtaal Exp $
 */

package org.eclipse.emf.teneo.hibernate.test.emf.schemaconstructs;

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

import org.eclipse.emf.teneo.hibernate.test.HibernateTestbed;
import org.eclipse.emf.teneo.test.conf.MultiCfgTestSuite;
import org.eclipse.emf.teneo.test.emf.schemaconstructs.DateTimeAction;
import org.eclipse.emf.teneo.test.emf.schemaconstructs.EMapAction;
import org.eclipse.emf.teneo.test.emf.schemaconstructs.EMapAsListAction;
import org.eclipse.emf.teneo.test.emf.schemaconstructs.EcoreAttrsAction;
import org.eclipse.emf.teneo.test.emf.schemaconstructs.ExtensionAction;
import org.eclipse.emf.teneo.test.emf.schemaconstructs.GroupAction;
import org.eclipse.emf.teneo.test.emf.schemaconstructs.ListAction;
import org.eclipse.emf.teneo.test.emf.schemaconstructs.MixedAction;
import org.eclipse.emf.teneo.test.emf.schemaconstructs.NestedGroupAction;
import org.eclipse.emf.teneo.test.emf.schemaconstructs.RestrictionAction;
import org.eclipse.emf.teneo.test.emf.schemaconstructs.SimpleTypeAction;
import org.eclipse.emf.teneo.test.emf.schemaconstructs.SimplefeaturemapAction;
import org.eclipse.emf.teneo.test.emf.schemaconstructs.SubstitutionAction;
import org.eclipse.emf.teneo.test.emf.schemaconstructs.SubstitutionzvonAction;

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

	public static Test suite() {
		TestSuite suite =
				new MultiCfgTestSuite("Test for org.eclipse.emf.teneo.hibernate.test.emf.schemaconstructs",
					HibernateTestbed.instance().getConfigurations());
		suite.addTestSuite(EcoreAttrsAction.class);

		suite.addTestSuite(SimpleTypeAction.class);

		suite.addTestSuite(EMapAction.class);
		suite.addTestSuite(EMapAsListAction.class);

		suite.addTestSuite(MixedAction.class);
		suite.addTestSuite(DateTimeAction.class);
		suite.addTestSuite(AttributesTest.class);
		suite.addTestSuite(ListAction.class);
		suite.addTestSuite(SimplefeaturemapAction.class);
		suite.addTestSuite(RestrictionAction.class);
		suite.addTestSuite(ExtensionAction.class);
		suite.addTestSuite(GroupAction.class);
		suite.addTestSuite(NestedGroupAction.class);
		suite.addTestSuite(SubstitutionzvonAction.class);
		suite.addTestSuite(SubstitutionAction.class);

		/*
		 * // The anytype test is not yet supported by Hibernate //
		 * suite.addTestSuite(AnyTypeAction.class); // Listunion types are not yet supported by
		 * hibernate // suite.addTestSuite(ListUnionAction.class);
		 */
		// $JUnit-END$
		return suite;
	}

}

Back to the top