Skip to main content
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorkmoore2009-11-25 13:00:18 -0500
committerkmoore2009-11-25 13:00:18 -0500
commiteb863b66a85f27cd6086df30daf670e8e9ef905c (patch)
treeadab5543d9d40f79702d85657065e42d33d26b80
parentbfc8a6bddae31e130cfb9df479d303ca3825e26f (diff)
downloadwebtools.dali-eb863b66a85f27cd6086df30daf670e8e9ef905c.tar.gz
webtools.dali-eb863b66a85f27cd6086df30daf670e8e9ef905c.tar.xz
webtools.dali-eb863b66a85f27cd6086df30daf670e8e9ef905c.zip
broke a test with last change
-rw-r--r--jpa/tests/org.eclipse.jpt.core.tests/src/org/eclipse/jpt/core/tests/internal/context/orm/OrmXmlTests.java2
1 files changed, 2 insertions, 0 deletions
diff --git a/jpa/tests/org.eclipse.jpt.core.tests/src/org/eclipse/jpt/core/tests/internal/context/orm/OrmXmlTests.java b/jpa/tests/org.eclipse.jpt.core.tests/src/org/eclipse/jpt/core/tests/internal/context/orm/OrmXmlTests.java
index a06171d898..8c5e5f2340 100644
--- a/jpa/tests/org.eclipse.jpt.core.tests/src/org/eclipse/jpt/core/tests/internal/context/orm/OrmXmlTests.java
+++ b/jpa/tests/org.eclipse.jpt.core.tests/src/org/eclipse/jpt/core/tests/internal/context/orm/OrmXmlTests.java
@@ -43,6 +43,7 @@ public class OrmXmlTests extends ContextModelTestCase
assertEquals(2, getJpaProject().jpaFilesSize());
JpaXmlResource ormResource = getOrmXmlResource();
ormResource.getContents().clear();
+ ormResource.save(null);
//the ContentType of the orm.xml file is no longer orm, so the jpa file is removed
assertNull(getOrmXml());
@@ -51,6 +52,7 @@ public class OrmXmlTests extends ContextModelTestCase
XmlEntityMappings xmlEntityMappings = OrmFactory.eINSTANCE.createXmlEntityMappings();
xmlEntityMappings.setVersion("1.0");
ormResource.getContents().add(xmlEntityMappings);
+ ormResource.save(null);
assertNotNull(getOrmXml().getEntityMappings());
assertEquals(2, getJpaProject().jpaFilesSize());

Back to the top