Author: ppoddar
Date: Fri Jan 30 03:53:09 2009
New Revision: 739159
URL: http://svn.apache.org/viewvc?rev=739159&view=rev
Log:
OPENJPA-703: Deactivate a test whose domain model clashing with other tables
during schema creation
Modified:
openjpa/trunk/openjpa-persistence-jdbc/src/test/java/org/apache/openjpa/persistence/jdbc/sqlcache/TestEagerQueries.java
Modified:
openjpa/trunk/openjpa-persistence-jdbc/src/test/java/org/apache/openjpa/persistence/jdbc/sqlcache/TestEagerQueries.java
URL:
http://svn.apache.org/viewvc/openjpa/trunk/openjpa-persistence-jdbc/src/test/java/org/apache/openjpa/persistence/jdbc/sqlcache/TestEagerQueries.java?rev=739159&r1=739158&r2=739159&view=diff
==============================================================================
---
openjpa/trunk/openjpa-persistence-jdbc/src/test/java/org/apache/openjpa/persistence/jdbc/sqlcache/TestEagerQueries.java
(original)
+++
openjpa/trunk/openjpa-persistence-jdbc/src/test/java/org/apache/openjpa/persistence/jdbc/sqlcache/TestEagerQueries.java
Fri Jan 30 03:53:09 2009
@@ -40,8 +40,8 @@
// Deactivated becuase of schema definition clasing with other
// commonly named stuff such as Person Book etc.
-public class TestEagerQueries extends SingleEMFTestCase {
- public void xsetUp() {
+public abstract class TestEagerQueries extends SingleEMFTestCase {
+ public void setUp() {
super.setUp(DROP_TABLES,
Person.class, Author.class, Singer.class,
Merchandise.class, Book.class, CD.class);
@@ -75,7 +75,7 @@
em.getTransaction().commit();
}
- public void xtestQueryWithLazyRelationIsCached() {
+ public void testQueryWithLazyRelationIsCached() {
// Author is lazily related to Book
String jpql = "select p from Author p";
EntityManager em = emf.createEntityManager();
@@ -101,7 +101,7 @@
assertNull(author2.getBooks());
}
- public void xtestQueryWithEagerRelationIsNotCached() {
+ public void testQueryWithEagerRelationIsNotCached() {
// Book is eagerly related to Author
String jpql = "select b from Book b";
EntityManager em = emf.createEntityManager();