Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authormtaal2007-02-05 10:35:34 -0500
committermtaal2007-02-05 10:35:34 -0500
commit2c8765edcac2376e442e4dc312b31312a235f403 (patch)
tree5992987404e58d8c89773c168b44a37dfbfbd49a
parent647f8880fcd245ab74d45c937795cd954f2228c1 (diff)
downloadorg.eclipse.emf.teneo-2c8765edcac2376e442e4dc312b31312a235f403.tar.gz
org.eclipse.emf.teneo-2c8765edcac2376e442e4dc312b31312a235f403.tar.xz
org.eclipse.emf.teneo-2c8765edcac2376e442e4dc312b31312a235f403.zip
[172755]
-rw-r--r--tests/org.eclipse.emf.teneo.commontest/src/org/eclipse/emf/teneo/test/emf/annotations/DuplicatesAction.java9
-rw-r--r--tests/org.eclipse.emf.teneo.commontest/src/org/eclipse/emf/teneo/test/emf/annotations/SetAction.java19
2 files changed, 21 insertions, 7 deletions
diff --git a/tests/org.eclipse.emf.teneo.commontest/src/org/eclipse/emf/teneo/test/emf/annotations/DuplicatesAction.java b/tests/org.eclipse.emf.teneo.commontest/src/org/eclipse/emf/teneo/test/emf/annotations/DuplicatesAction.java
index 3bdbd6e0b..25981df31 100644
--- a/tests/org.eclipse.emf.teneo.commontest/src/org/eclipse/emf/teneo/test/emf/annotations/DuplicatesAction.java
+++ b/tests/org.eclipse.emf.teneo.commontest/src/org/eclipse/emf/teneo/test/emf/annotations/DuplicatesAction.java
@@ -11,11 +11,14 @@
* Martin Taal
* </copyright>
*
- * $Id: DuplicatesAction.java,v 1.2 2007/02/01 12:35:36 mtaal Exp $
+ * $Id: DuplicatesAction.java,v 1.3 2007/02/05 15:35:34 mtaal Exp $
*/
package org.eclipse.emf.teneo.test.emf.annotations;
+import java.util.Properties;
+
+import org.eclipse.emf.teneo.PersistenceOptions;
import org.eclipse.emf.teneo.samples.emf.annotations.duplicates.ChildItem;
import org.eclipse.emf.teneo.samples.emf.annotations.duplicates.DuplicatesFactory;
import org.eclipse.emf.teneo.samples.emf.annotations.duplicates.DuplicatesPackage;
@@ -27,7 +30,7 @@ import org.eclipse.emf.teneo.test.stores.TestStore;
* Testcase
*
* @author <a href="mailto:mtaal@elver.org">Martin Taal</a>
- * @version $Revision: 1.2 $
+ * @version $Revision: 1.3 $
*/
public class DuplicatesAction extends AbstractTestAction
{
@@ -41,7 +44,7 @@ public class DuplicatesAction extends AbstractTestAction
{
super(DuplicatesPackage.eINSTANCE);
}
-
+
/** Test */
public void doAction(TestStore store)
{
diff --git a/tests/org.eclipse.emf.teneo.commontest/src/org/eclipse/emf/teneo/test/emf/annotations/SetAction.java b/tests/org.eclipse.emf.teneo.commontest/src/org/eclipse/emf/teneo/test/emf/annotations/SetAction.java
index ec94569db..34272eccc 100644
--- a/tests/org.eclipse.emf.teneo.commontest/src/org/eclipse/emf/teneo/test/emf/annotations/SetAction.java
+++ b/tests/org.eclipse.emf.teneo.commontest/src/org/eclipse/emf/teneo/test/emf/annotations/SetAction.java
@@ -11,14 +11,16 @@
* Martin Taal
* </copyright>
*
- * $Id: SetAction.java,v 1.4 2007/02/01 12:35:36 mtaal Exp $
+ * $Id: SetAction.java,v 1.5 2007/02/05 15:35:34 mtaal Exp $
*/
package org.eclipse.emf.teneo.test.emf.annotations;
import java.util.ArrayList;
+import java.util.Properties;
import org.eclipse.emf.ecore.InternalEObject;
+import org.eclipse.emf.teneo.PersistenceOptions;
import org.eclipse.emf.teneo.samples.emf.annotations.set.ContainedItem;
import org.eclipse.emf.teneo.samples.emf.annotations.set.Item;
import org.eclipse.emf.teneo.samples.emf.annotations.set.ItemList;
@@ -31,7 +33,7 @@ import org.eclipse.emf.teneo.test.stores.TestStore;
* Test 1n relation (contained and non-contained) using sets.
*
* @author <a href="mailto:mtaal@elver.org">Martin Taal</a>
- * @version $Revision: 1.4 $
+ * @version $Revision: 1.5 $
*/
public class SetAction extends AbstractTestAction
{
@@ -46,11 +48,20 @@ public class SetAction extends AbstractTestAction
{
super(SetPackage.eINSTANCE);
}
-
+
+ /* (non-Javadoc)
+ * @see org.eclipse.emf.teneo.test.AbstractTestAction#getExtraConfigurationProperties()
+ */
+ public Properties getExtraConfigurationProperties() {
+ final Properties props = new Properties();
+ props.put(PersistenceOptions.QUALIFY_ENTITY_NAME, PersistenceOptions.QUALIFY_ENTITY_NAME_NSPREFIX);
+ return props;
+ }
+
/** Creates an item, an address and links them to a po. */
public void doAction(TestStore store)
{
- final SetFactory factory = SetFactory.eINSTANCE;
+ final SetFactory factory = SetFactory.eINSTANCE;
// create a book, writer and library
ArrayList names = new ArrayList();
ArrayList cnames = new ArrayList();

Back to the top