Skip to main content
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorkmoore2009-12-15 09:50:44 -0500
committerkmoore2009-12-15 09:50:44 -0500
commit72569843f551a03874c34a3dcbcec9fa01cff484 (patch)
treea2eafac4a106531a5f7df52b8f39dc96f4162058
parent4c323bd2dfff4f456a9cf53099a7766a07572215 (diff)
downloadwebtools.dali-72569843f551a03874c34a3dcbcec9fa01cff484.tar.gz
webtools.dali-72569843f551a03874c34a3dcbcec9fa01cff484.tar.xz
webtools.dali-72569843f551a03874c34a3dcbcec9fa01cff484.zip
removed some commented out System.err statements, the tests pass in the build now
-rw-r--r--jpa/tests/org.eclipse.jpt.core.tests/src/org/eclipse/jpt/core/tests/internal/model/JpaModelTests.java15
1 files changed, 3 insertions, 12 deletions
diff --git a/jpa/tests/org.eclipse.jpt.core.tests/src/org/eclipse/jpt/core/tests/internal/model/JpaModelTests.java b/jpa/tests/org.eclipse.jpt.core.tests/src/org/eclipse/jpt/core/tests/internal/model/JpaModelTests.java
index ebcf897c65..11dbf5bea2 100644
--- a/jpa/tests/org.eclipse.jpt.core.tests/src/org/eclipse/jpt/core/tests/internal/model/JpaModelTests.java
+++ b/jpa/tests/org.eclipse.jpt.core.tests/src/org/eclipse/jpt/core/tests/internal/model/JpaModelTests.java
@@ -214,24 +214,15 @@ public class JpaModelTests extends TestCase {
assertEquals(2, jpaProject.jpaFilesSize());
assertNotNull(jpaProject.getJpaFile(this.getFile(this.testProject, "src/test/pkg/TestEntity.java")));
assertNotNull(jpaProject.getJpaFile(this.getFile(this.testProject, "src/test/pkg/TestEntity2.java")));
-//// assertNotNull(jpaProject.getJpaFile(this.getFile(this.testProject, "src/META-INF/persistence.xml")));
-//// assertNotNull(jpaProject.getJpaFile(this.getFile(this.testProject, "src/META-INF/orm.xml")));
-// int size = JptCorePlugin.getJpaModel().getJpaProjectsSize();
-// if (size != 1) {
-// System.err.println("bogus size: " + size);
-// System.err.println("bogus project: " + JptCorePlugin.getJpaProject(this.testProject.getProject()));
-// }
+// assertNotNull(jpaProject.getJpaFile(this.getFile(this.testProject, "src/META-INF/persistence.xml")));
+// assertNotNull(jpaProject.getJpaFile(this.getFile(this.testProject, "src/META-INF/orm.xml")));
+
// now remove the JPA facet
facetSettingsFile.setContents(new ByteArrayInputStream(oldDocument.getBytes()), false, false, null);
assertEquals(0, JptCorePlugin.getJpaModel().getJpaProjectsSize());
jpaProject = JptCorePlugin.getJpaProject(this.testProject.getProject());
assertNull(jpaProject);
-// int newSize = JptCorePlugin.getJpaModel().getJpaProjectsSize();
-// if (newSize != 0) {
-// System.err.println("bogus size: " + newSize);
-// System.err.println("bogus project: " + JptCorePlugin.getJpaProject(this.testProject.getProject()));
-// }
}
public void testEditFacetSettingsFileRemoveThenAddJpaFacet() throws Exception {

Back to the top