Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
Diffstat (limited to 'tests/org.eclipse.emf.teneo.commontest/src/org/eclipse/emf/teneo/test/emf/schemaconstructs/RestrictionAction.java')
-rwxr-xr-xtests/org.eclipse.emf.teneo.commontest/src/org/eclipse/emf/teneo/test/emf/schemaconstructs/RestrictionAction.java58
1 files changed, 58 insertions, 0 deletions
diff --git a/tests/org.eclipse.emf.teneo.commontest/src/org/eclipse/emf/teneo/test/emf/schemaconstructs/RestrictionAction.java b/tests/org.eclipse.emf.teneo.commontest/src/org/eclipse/emf/teneo/test/emf/schemaconstructs/RestrictionAction.java
new file mode 100755
index 000000000..f5d21a3e9
--- /dev/null
+++ b/tests/org.eclipse.emf.teneo.commontest/src/org/eclipse/emf/teneo/test/emf/schemaconstructs/RestrictionAction.java
@@ -0,0 +1,58 @@
+/**
+ * <copyright>
+ *
+ * Copyright (c) 2005, 2006, 2007, 2008 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: RestrictionAction.java,v 1.4 2008/02/28 07:08:16 mtaal Exp $
+ */
+
+package org.eclipse.emf.teneo.test.emf.schemaconstructs;
+
+import org.eclipse.emf.teneo.samples.emf.schemaconstructs.restriction.RestrictionPackage;
+import org.eclipse.emf.teneo.test.AbstractTestAction;
+import org.eclipse.emf.teneo.test.stores.TestStore;
+
+/**
+ * Tests for the mixed construction.
+ *
+ * @author <a href="mailto:mtaal@elver.org">Martin Taal</a>
+ * @version $Revision: 1.4 $
+*/
+public class RestrictionAction extends AbstractTestAction
+{
+ /**
+ * Constructor for ClassHierarchyParsing.
+ * @param arg0
+ */
+ public RestrictionAction()
+ {
+ super(RestrictionPackage.eINSTANCE);
+ }
+
+ /** Returns true if hibernate is enabled for a test, false otherwise */
+ protected boolean hibernateEnabled()
+ {
+ return true;
+ }
+
+ /** Creates simple types and tests against */
+ public void doAction(TestStore store)
+ {
+ // test a simple type
+ //final RestrictionFactory factory = RestrictionFactory.eINSTANCE;
+ {
+ {
+ store.beginTransaction();
+ store.commitTransaction();
+ }
+ }
+ }
+} \ No newline at end of file

Back to the top