Skip to main content
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTran Le2013-10-14 22:56:58 +0000
committerTran Le2013-10-14 22:56:58 +0000
commit5714daf4db29dfa0152bcb649710ad0bb9a6c82a (patch)
tree0ec1897a632ba9e456a376545ec320bde7e31c6a /jpa_diagram_editor
parent2607b51682ba9cc806936ffcd55ad636cd77f791 (diff)
downloadwebtools.dali-5714daf4db29dfa0152bcb649710ad0bb9a6c82a.tar.gz
webtools.dali-5714daf4db29dfa0152bcb649710ad0bb9a6c82a.tar.xz
webtools.dali-5714daf4db29dfa0152bcb649710ad0bb9a6c82a.zip
419257 - Pom version updatesv201310142259
Diffstat (limited to 'jpa_diagram_editor')
-rw-r--r--jpa_diagram_editor/development/org.eclipse.jpt.jpadiagrameditor.repository/category.xml2
-rw-r--r--jpa_diagram_editor/development/org.eclipse.jpt.jpadiagrameditor.repository/pom.xml2
-rw-r--r--jpa_diagram_editor/features/org.eclipse.jpt.jpadiagrameditor.feature/pom.xml2
-rw-r--r--jpa_diagram_editor/features/org.eclipse.jpt.jpadiagrameditor.tests.feature/pom.xml2
-rw-r--r--jpa_diagram_editor/features/org.eclipse.jpt.jpadiagrameditor_sdk.feature/pom.xml2
-rw-r--r--jpa_diagram_editor/plugins/org.eclipse.jpt.jpadiagrameditor.branding/pom.xml2
-rw-r--r--jpa_diagram_editor/plugins/org.eclipse.jpt.jpadiagrameditor.doc.user/pom.xml2
-rw-r--r--jpa_diagram_editor/plugins/org.eclipse.jpt.jpadiagrameditor.ui/pom.xml2
-rw-r--r--jpa_diagram_editor/tests/org.eclipse.jpt.jpadiagrameditor.swtbot.tests/pom.xml2
-rw-r--r--jpa_diagram_editor/tests/org.eclipse.jpt.jpadiagrameditor.swtbot.tests/src/org/eclipse/jpt/jpadiagrameditor/swtbot/tests/mappedsuperclass/relationships/MappedSuperclassRelationshipsSWTBotTest.java377
-rw-r--r--jpa_diagram_editor/tests/org.eclipse.jpt.jpadiagrameditor.ui.tests/pom.xml2
11 files changed, 10 insertions, 387 deletions
diff --git a/jpa_diagram_editor/development/org.eclipse.jpt.jpadiagrameditor.repository/category.xml b/jpa_diagram_editor/development/org.eclipse.jpt.jpadiagrameditor.repository/category.xml
index 0fdaffd8a4..cca57cd5ec 100644
--- a/jpa_diagram_editor/development/org.eclipse.jpt.jpadiagrameditor.repository/category.xml
+++ b/jpa_diagram_editor/development/org.eclipse.jpt.jpadiagrameditor.repository/category.xml
@@ -1,6 +1,6 @@
<?xml version="1.0" encoding="UTF-8"?>
<site>
- <feature url="features/org.eclipse.jpt.jpadiagrameditor.feature_1.2.0.qualifier.jar" id="org.eclipse.jpt.jpadiagrameditor.feature" version="1.2.0.qualifier">
+ <feature url="features/org.eclipse.jpt.jpadiagrameditor.feature_1.2.100.qualifier.jar" id="org.eclipse.jpt.jpadiagrameditor.feature" version="1.2.100.qualifier">
<category name="jpa_diagram_editor"/>
</feature>
<category-def name="jpa_diagram_editor" label="JPA Diagram Editor"/>
diff --git a/jpa_diagram_editor/development/org.eclipse.jpt.jpadiagrameditor.repository/pom.xml b/jpa_diagram_editor/development/org.eclipse.jpt.jpadiagrameditor.repository/pom.xml
index 50c15f238d..9efb0e0b65 100644
--- a/jpa_diagram_editor/development/org.eclipse.jpt.jpadiagrameditor.repository/pom.xml
+++ b/jpa_diagram_editor/development/org.eclipse.jpt.jpadiagrameditor.repository/pom.xml
@@ -18,7 +18,7 @@
<parent>
<groupId>org.eclipse.webtools.dali</groupId>
<artifactId>org.eclipse.webtools.dali</artifactId>
- <version>3.6.0-SNAPSHOT</version>
+ <version>3.4.0-SNAPSHOT</version>
<relativePath>../../../</relativePath>
</parent>
diff --git a/jpa_diagram_editor/features/org.eclipse.jpt.jpadiagrameditor.feature/pom.xml b/jpa_diagram_editor/features/org.eclipse.jpt.jpadiagrameditor.feature/pom.xml
index 3f579e7a18..03c699acbf 100644
--- a/jpa_diagram_editor/features/org.eclipse.jpt.jpadiagrameditor.feature/pom.xml
+++ b/jpa_diagram_editor/features/org.eclipse.jpt.jpadiagrameditor.feature/pom.xml
@@ -18,7 +18,7 @@
<parent>
<groupId>org.eclipse.webtools.dali</groupId>
<artifactId>org.eclipse.webtools.dali</artifactId>
- <version>3.6.0-SNAPSHOT</version>
+ <version>3.4.0-SNAPSHOT</version>
<relativePath>../../../</relativePath>
</parent>
diff --git a/jpa_diagram_editor/features/org.eclipse.jpt.jpadiagrameditor.tests.feature/pom.xml b/jpa_diagram_editor/features/org.eclipse.jpt.jpadiagrameditor.tests.feature/pom.xml
index 91f2633814..c8b815cddf 100644
--- a/jpa_diagram_editor/features/org.eclipse.jpt.jpadiagrameditor.tests.feature/pom.xml
+++ b/jpa_diagram_editor/features/org.eclipse.jpt.jpadiagrameditor.tests.feature/pom.xml
@@ -16,7 +16,7 @@
<parent>
<groupId>org.eclipse.webtools.dali</groupId>
<artifactId>org.eclipse.webtools.dali</artifactId>
- <version>3.6.0-SNAPSHOT</version>
+ <version>3.4.0-SNAPSHOT</version>
<relativePath>../../../</relativePath>
</parent>
diff --git a/jpa_diagram_editor/features/org.eclipse.jpt.jpadiagrameditor_sdk.feature/pom.xml b/jpa_diagram_editor/features/org.eclipse.jpt.jpadiagrameditor_sdk.feature/pom.xml
index c4e8e9bae4..e9459cb7a9 100644
--- a/jpa_diagram_editor/features/org.eclipse.jpt.jpadiagrameditor_sdk.feature/pom.xml
+++ b/jpa_diagram_editor/features/org.eclipse.jpt.jpadiagrameditor_sdk.feature/pom.xml
@@ -16,7 +16,7 @@
<parent>
<groupId>org.eclipse.webtools.dali</groupId>
<artifactId>org.eclipse.webtools.dali</artifactId>
- <version>3.6.0-SNAPSHOT</version>
+ <version>3.4.0-SNAPSHOT</version>
<relativePath>../../../</relativePath>
</parent>
diff --git a/jpa_diagram_editor/plugins/org.eclipse.jpt.jpadiagrameditor.branding/pom.xml b/jpa_diagram_editor/plugins/org.eclipse.jpt.jpadiagrameditor.branding/pom.xml
index 6d26366db8..c97e5803a0 100644
--- a/jpa_diagram_editor/plugins/org.eclipse.jpt.jpadiagrameditor.branding/pom.xml
+++ b/jpa_diagram_editor/plugins/org.eclipse.jpt.jpadiagrameditor.branding/pom.xml
@@ -16,7 +16,7 @@
<parent>
<groupId>org.eclipse.webtools.dali</groupId>
<artifactId>org.eclipse.webtools.dali</artifactId>
- <version>3.6.0-SNAPSHOT</version>
+ <version>3.4.0-SNAPSHOT</version>
<relativePath>../../../</relativePath>
</parent>
diff --git a/jpa_diagram_editor/plugins/org.eclipse.jpt.jpadiagrameditor.doc.user/pom.xml b/jpa_diagram_editor/plugins/org.eclipse.jpt.jpadiagrameditor.doc.user/pom.xml
index 2021768791..be5396e01c 100644
--- a/jpa_diagram_editor/plugins/org.eclipse.jpt.jpadiagrameditor.doc.user/pom.xml
+++ b/jpa_diagram_editor/plugins/org.eclipse.jpt.jpadiagrameditor.doc.user/pom.xml
@@ -16,7 +16,7 @@
<parent>
<groupId>org.eclipse.webtools.dali</groupId>
<artifactId>org.eclipse.webtools.dali</artifactId>
- <version>3.6.0-SNAPSHOT</version>
+ <version>3.4.0-SNAPSHOT</version>
<relativePath>../../../</relativePath>
</parent>
diff --git a/jpa_diagram_editor/plugins/org.eclipse.jpt.jpadiagrameditor.ui/pom.xml b/jpa_diagram_editor/plugins/org.eclipse.jpt.jpadiagrameditor.ui/pom.xml
index f140549742..aa3686528e 100644
--- a/jpa_diagram_editor/plugins/org.eclipse.jpt.jpadiagrameditor.ui/pom.xml
+++ b/jpa_diagram_editor/plugins/org.eclipse.jpt.jpadiagrameditor.ui/pom.xml
@@ -18,7 +18,7 @@
<parent>
<groupId>org.eclipse.webtools.dali</groupId>
<artifactId>org.eclipse.webtools.dali</artifactId>
- <version>3.6.0-SNAPSHOT</version>
+ <version>3.4.0-SNAPSHOT</version>
<relativePath>../../../</relativePath>
</parent>
diff --git a/jpa_diagram_editor/tests/org.eclipse.jpt.jpadiagrameditor.swtbot.tests/pom.xml b/jpa_diagram_editor/tests/org.eclipse.jpt.jpadiagrameditor.swtbot.tests/pom.xml
index 87e8bd85b6..c9cca1809a 100644
--- a/jpa_diagram_editor/tests/org.eclipse.jpt.jpadiagrameditor.swtbot.tests/pom.xml
+++ b/jpa_diagram_editor/tests/org.eclipse.jpt.jpadiagrameditor.swtbot.tests/pom.xml
@@ -17,7 +17,7 @@
<parent>
<groupId>org.eclipse.webtools.dali</groupId>
<artifactId>org.eclipse.webtools.dali</artifactId>
- <version>3.6.0-SNAPSHOT</version>
+ <version>3.4.0-SNAPSHOT</version>
<relativePath>../../../</relativePath>
</parent>
diff --git a/jpa_diagram_editor/tests/org.eclipse.jpt.jpadiagrameditor.swtbot.tests/src/org/eclipse/jpt/jpadiagrameditor/swtbot/tests/mappedsuperclass/relationships/MappedSuperclassRelationshipsSWTBotTest.java b/jpa_diagram_editor/tests/org.eclipse.jpt.jpadiagrameditor.swtbot.tests/src/org/eclipse/jpt/jpadiagrameditor/swtbot/tests/mappedsuperclass/relationships/MappedSuperclassRelationshipsSWTBotTest.java
deleted file mode 100644
index 045b85ca21..0000000000
--- a/jpa_diagram_editor/tests/org.eclipse.jpt.jpadiagrameditor.swtbot.tests/src/org/eclipse/jpt/jpadiagrameditor/swtbot/tests/mappedsuperclass/relationships/MappedSuperclassRelationshipsSWTBotTest.java
+++ /dev/null
@@ -1,377 +0,0 @@
-package org.eclipse.jpt.jpadiagrameditor.swtbot.tests.mappedsuperclass.relationships;
-
-import org.eclipse.jpt.jpa.core.JpaProject;
-import org.eclipse.jpt.jpa.core.MappingKeys;
-import org.eclipse.jpt.jpadiagrameditor.swtbot.tests.internal.AbstractSwtBotEditorTest;
-import org.eclipse.jpt.jpadiagrameditor.swtbot.tests.utils.Utils;
-import org.eclipse.jpt.jpadiagrameditor.ui.internal.i18n.JPAEditorMessages;
-import org.eclipse.jpt.jpadiagrameditor.ui.internal.relations.IRelation;
-import org.eclipse.swtbot.eclipse.gef.finder.widgets.SWTBotGefEditPart;
-import org.eclipse.swtbot.swt.finder.junit.SWTBotJunit4ClassRunner;
-import org.junit.BeforeClass;
-import org.junit.Test;
-import org.junit.runner.RunWith;
-
-@RunWith(SWTBotJunit4ClassRunner.class)
-@SuppressWarnings("restriction")
-public class MappedSuperclassRelationshipsSWTBotTest extends AbstractSwtBotEditorTest {
-
- private static String TEST_PROJECT = "Test_" + System.currentTimeMillis();
- private static JpaProject jpaProject;
-
- @BeforeClass
- public static void beforeClass() throws Exception {
- jpaProject = createJPa20Project(TEST_PROJECT);
- }
-
- /**
- * Tests that the creation of a one-to-one unidirectional relationship from
- * mapped superclass to entity is possible.
- */
- @Test
- public void testOneToOneUniDirRelFromMappedSuperclass() {
- Utils.sayTestStarted("testOneToOneUniDirRelFromMappedSuperclass");
-
- assertTrue("The diagram must be empty.", jpaDiagramEditor
- .mainEditPart().children().isEmpty());
-
- SWTBotGefEditPart mappedSuperclass = editorProxy
- .addMappedSuperclassToDiagram(50, 50, jpaProject);
-
- SWTBotGefEditPart entity = editorProxy.addEntityToDiagram(50, 200,
- jpaProject);
-
- // create One-to-One unidirectional relation from the mapped superclass
- // to entity
-
- editorProxy
- .testUniDirRelation(
- JPAEditorMessages.CreateOneToOneUniDirRelationFeature_oneToOneUniDirFeatureName,
- mappedSuperclass,
- entity,
- IRelation.RelType.ONE_TO_ONE,
- MappingKeys.ONE_TO_ONE_ATTRIBUTE_MAPPING_KEY, true, false);
-
- editorProxy.deleteDiagramElements(false);
-
- jpaDiagramEditor.save();
-
- Utils.sayTestFinished("testOneToOneUniDirRelFromMappedSuperclass");
- }
-
- /**
- * Tests that the creation of a one-to-many unidirectional relationship from
- * mapped superclass to entity is possible.
- */
- @Test
- public void testOneToManyUniDirRelFromMappedSuperclass() {
- Utils.sayTestStarted("testOneToManyUniDirRelFromMappedSuperclass");
-
- assertTrue("The diagram must be empty.", jpaDiagramEditor
- .mainEditPart().children().isEmpty());
-
- SWTBotGefEditPart mappedSuperclass = editorProxy
- .addMappedSuperclassToDiagram(50, 50, jpaProject);
-
- SWTBotGefEditPart entity = editorProxy.addEntityToDiagram(50, 200,
- jpaProject);
-
- // create One-to-many unidirectional relation from the mapped superclass
- // to entity1
-
- editorProxy
- .testUniDirRelation(
- JPAEditorMessages.CreateOneToManyUniDirRelationFeature_oneToManyUniDirFeatureName,
- mappedSuperclass,
- entity,
- IRelation.RelType.ONE_TO_MANY,
- MappingKeys.ONE_TO_MANY_ATTRIBUTE_MAPPING_KEY, false, false);
-
- editorProxy.deleteDiagramElements(false);
-
- jpaDiagramEditor.save();
-
- Utils.sayTestFinished("testOneToManyUniDirRelFromMappedSuperclass");
- }
-
- /**
- * Tests that the creation of a many-to-one unidirectional relationship from
- * mapped superclass to entity is possible.
- */
- @Test
- public void testManyToOneUniDirRelFromMappedSuperclass() {
- Utils.sayTestStarted("testManyToOneUniDirRelFromMappedSuperclass");
-
- assertTrue("The diagram must be empty.", jpaDiagramEditor
- .mainEditPart().children().isEmpty());
-
- SWTBotGefEditPart mappedSuperclass = editorProxy
- .addMappedSuperclassToDiagram(50, 50, jpaProject);
-
- SWTBotGefEditPart entity = editorProxy.addEntityToDiagram(50, 200,
- jpaProject);
-
- // create Many-to-One unidirectional relation from the mapped superclass
- // to entity1
-
- editorProxy
- .testUniDirRelation(
- JPAEditorMessages.CreateManyToOneUniDirRelationFeature_manyToOneUniDirFeatureName,
- mappedSuperclass,
- entity,
- IRelation.RelType.MANY_TO_ONE,
- MappingKeys.MANY_TO_ONE_ATTRIBUTE_MAPPING_KEY, true, false);
-
- editorProxy.deleteDiagramElements(false);
-
- jpaDiagramEditor.save();
-
- Utils.sayTestFinished("testManyToOneUniDirRelFromMappedSuperclass");
- }
-
- /**
- * Tests that the creation of a many-to-many unidirectional relationship
- * from mapped superclass to entity is possible.
- */
- @Test
- public void testManyToManyUniDirRelFromMappedSuperclass() {
- Utils.sayTestStarted("testManyToManyUniDirRelFromMappedSuperclass");
-
- assertTrue("The diagram must be empty.", jpaDiagramEditor
- .mainEditPart().children().isEmpty());
-
- SWTBotGefEditPart mappedSuperclass = editorProxy
- .addMappedSuperclassToDiagram(50, 50, jpaProject);
-
- SWTBotGefEditPart entity = editorProxy.addEntityToDiagram(50, 200,
- jpaProject);
-
- // create Many-to-Many unidirectional relation from the mapped
- // superclass
- // to entity1
-
- editorProxy
- .testUniDirRelation(
- JPAEditorMessages.CreateManyToManyUniDirRelationFeature_manyToManyUniDirFeatureName,
- mappedSuperclass,
- entity,
- IRelation.RelType.MANY_TO_MANY,
- MappingKeys.MANY_TO_MANY_ATTRIBUTE_MAPPING_KEY, false, false);
-
- editorProxy.deleteDiagramElements(false);
-
- jpaDiagramEditor.save();
-
- Utils.sayTestFinished("testManyToManyUniDirRelFromMappedSuperclass");
- }
-
- /**
- * Test no one-to-one unidirectional or bidirectional relationship from
- * entity to mapped superclass is created.
- */
- @Test
- public void testOneToOneRelationFromEntityToMappedSuperclass() {
- Utils.sayTestStarted("testOneToOneRelationFromEntityToMappedSuperclass");
-
- assertTrue("The diagram must be empty.", jpaDiagramEditor
- .mainEditPart().children().isEmpty());
-
- SWTBotGefEditPart mappedSuperclass = editorProxy
- .addMappedSuperclassToDiagram(50, 50, jpaProject);
-
- SWTBotGefEditPart entity = editorProxy.addEntityToDiagram(50, 200,
- jpaProject);
-
- editorProxy
- .testNoConnectionIsCreated(
- JPAEditorMessages.CreateOneToOneUniDirRelationFeature_oneToOneUniDirFeatureName,
- 2, entity, mappedSuperclass);
-
- editorProxy
- .testNoConnectionIsCreated(
- JPAEditorMessages.CreateOneToOneBiDirRelationFeature_oneToOneBiDirFeatureName,
- 3, entity, mappedSuperclass);
-
- editorProxy.deleteDiagramElements(false);
- jpaDiagramEditor.save();
-
- Utils.sayTestFinished("testOneToOneRelationFromEntityToMappedSuperclass");
- }
-
- /**
- * Test no one-to-one bidirectional relationship from mapped superclass to
- * entity is created.
- */
- @Test
- public void testOneToOneBiDirRelationFromMappedSuperclassToEntity() {
- Utils.sayTestStarted("testOneToOneBiDirRelationFromMappedSuperclassToEntity");
-
- assertTrue("The diagram must be empty.", jpaDiagramEditor
- .mainEditPart().children().isEmpty());
-
- SWTBotGefEditPart mappedSuperclass = editorProxy
- .addMappedSuperclassToDiagram(50, 50, jpaProject);
-
- SWTBotGefEditPart entity = editorProxy.addEntityToDiagram(50, 200,
- jpaProject);
-
- editorProxy
- .testNoConnectionIsCreated(
- JPAEditorMessages.CreateOneToOneBiDirRelationFeature_oneToOneBiDirFeatureName,
- 3, mappedSuperclass, entity);
-
- editorProxy.deleteDiagramElements(false);
- jpaDiagramEditor.save();
-
- Utils.sayTestFinished("testOneToOneBiDirRelationFromMappedSuperclassToEntity");
- }
-
- /**
- * Test no one-to-many unidirectional relationship from entity to mapped
- * superclass is created.
- */
- @Test
- public void testOneToManyUniDirRelationFromEntityToMappedSuperclass() {
- Utils.sayTestStarted("testOneToManyUniDirRelationFromEntityToMappedSuperclass");
-
- assertTrue("The diagram must be empty.", jpaDiagramEditor
- .mainEditPart().children().isEmpty());
-
- SWTBotGefEditPart mappedSuperclass = editorProxy
- .addMappedSuperclassToDiagram(50, 50, jpaProject);
-
- SWTBotGefEditPart entity = editorProxy.addEntityToDiagram(50, 200,
- jpaProject);
-
- editorProxy
- .testNoConnectionIsCreated(
- JPAEditorMessages.CreateOneToManyUniDirRelationFeature_oneToManyUniDirFeatureName,
- 0, entity, mappedSuperclass);
-
- editorProxy.deleteDiagramElements(false);
- jpaDiagramEditor.save();
-
- Utils.sayTestFinished("testOneToManyUniDirRelationFromEntityToMappedSuperclass");
- }
-
- /**
- * Test no many-to-one unidirectional or bidirectional relationship from
- * entity to mapped superclass is created.
- */
- @Test
- public void testManyToOneRelationFromEntityToMappedSuperclass() {
- Utils.sayTestStarted("testManyToOneRelationFromEntityToMappedSuperclass");
-
- assertTrue("The diagram must be empty.", jpaDiagramEditor
- .mainEditPart().children().isEmpty());
-
- SWTBotGefEditPart mappedSuperclass = editorProxy
- .addMappedSuperclassToDiagram(50, 50, jpaProject);
-
- SWTBotGefEditPart entity = editorProxy.addEntityToDiagram(50, 200,
- jpaProject);
-
- editorProxy
- .testNoConnectionIsCreated(
- JPAEditorMessages.CreateManyToOneUniDirRelationFeature_manyToOneUniDirFeatureName,
- 2, entity, mappedSuperclass);
-
- editorProxy
- .testNoConnectionIsCreated(
- JPAEditorMessages.CreateManyToOneBiDirRelationFeature_manyToOneBiDirFeatureName,
- 3, entity, mappedSuperclass);
-
- editorProxy.deleteDiagramElements(false);
- jpaDiagramEditor.save();
-
- Utils.sayTestFinished("testManyToOneRelationFromEntityToMappedSuperclass");
- }
-
- /**
- * Test no many-to-one bidirectional relationship from mapped superclass to
- * entity is created.
- */
- @Test
- public void testManyToOneBiDirRelationFromMappedSuperclassToEntity() {
- Utils.sayTestStarted("testManyToOneBiDirRelationFromMappedSuperclassToEntity");
-
- assertTrue("The diagram must be empty.", jpaDiagramEditor
- .mainEditPart().children().isEmpty());
-
- SWTBotGefEditPart mappedSuperclass = editorProxy
- .addMappedSuperclassToDiagram(50, 50, jpaProject);
-
- SWTBotGefEditPart entity = editorProxy.addEntityToDiagram(50, 200,
- jpaProject);
-
- editorProxy
- .testNoConnectionIsCreated(
- JPAEditorMessages.CreateManyToOneBiDirRelationFeature_manyToOneBiDirFeatureName,
- 3, mappedSuperclass, entity);
-
- editorProxy.deleteDiagramElements(false);
- jpaDiagramEditor.save();
-
- Utils.sayTestFinished("testManyToOneBiDirRelationFromMappedSuperclassToEntity");
- }
-
- /**
- * Test no many-to-many unidirectional or bidirectional relationship from
- * entity to mapped superclass is created.
- */
- @Test
- public void testManyToManyUniDirRelationFromEntityToEmbeddable() {
- Utils.sayTestStarted("testManyToManyUniDirRelationFromEntityToEmbeddable");
-
- assertTrue("The diagram must be empty.", jpaDiagramEditor
- .mainEditPart().children().isEmpty());
-
- SWTBotGefEditPart mappedSuperclass = editorProxy
- .addMappedSuperclassToDiagram(50, 50, jpaProject);
- SWTBotGefEditPart entity = editorProxy.addEntityToDiagram(50, 200,
- jpaProject);
-
- editorProxy
- .testNoConnectionIsCreated(
- JPAEditorMessages.CreateManyToManyUniDirRelationFeature_manyToManyUniDirFeatureName,
- 0, entity, mappedSuperclass);
-
- editorProxy
- .testNoConnectionIsCreated(
- JPAEditorMessages.CreateManyToManyBiDirRelationFeature_manyToManyBiDirFeatureName,
- 1, entity, mappedSuperclass);
-
- editorProxy.deleteDiagramElements(false);
- jpaDiagramEditor.save();
-
- Utils.sayTestFinished("testManyToManyUniDirRelationFromEntityToEmbeddable");
- }
-
- /**
- * Test no many-to-many bidirectional relationship from mapped superclass to
- * entity is created.
- */
- @Test
- public void testManyToManyBiDirRelationFromMappedSuperclassToEntity() {
- Utils.sayTestStarted("testManyToManyBiDirRelationFromMappedSuperclassToEntity");
-
- assertTrue("The diagram must be empty.", jpaDiagramEditor
- .mainEditPart().children().isEmpty());
-
- SWTBotGefEditPart mappedSuperclass = editorProxy
- .addMappedSuperclassToDiagram(50, 50, jpaProject);
-
- SWTBotGefEditPart entity = editorProxy.addEntityToDiagram(50, 200,
- jpaProject);
-
- editorProxy
- .testNoConnectionIsCreated(
- JPAEditorMessages.CreateManyToManyBiDirRelationFeature_manyToManyBiDirFeatureName,
- 1, mappedSuperclass, entity);
-
- editorProxy.deleteDiagramElements(false);
-// jpaDiagramEditor.saveAndClose();
-
- Utils.sayTestFinished("testManyToManyBiDirRelationFromMappedSuperclassToEntity");
- }
-}
diff --git a/jpa_diagram_editor/tests/org.eclipse.jpt.jpadiagrameditor.ui.tests/pom.xml b/jpa_diagram_editor/tests/org.eclipse.jpt.jpadiagrameditor.ui.tests/pom.xml
index 8f9faa0ceb..99cc11715c 100644
--- a/jpa_diagram_editor/tests/org.eclipse.jpt.jpadiagrameditor.ui.tests/pom.xml
+++ b/jpa_diagram_editor/tests/org.eclipse.jpt.jpadiagrameditor.ui.tests/pom.xml
@@ -18,7 +18,7 @@
<parent>
<groupId>org.eclipse.webtools.dali</groupId>
<artifactId>org.eclipse.webtools.dali</artifactId>
- <version>3.6.0-SNAPSHOT</version>
+ <version>3.4.0-SNAPSHOT</version>
<relativePath>../../../</relativePath>
</parent>

Back to the top