From: erik Date: Sun, 4 Apr 2010 14:02:06 +0000 (+0000) Subject: (no commit message) X-Git-Tag: wamblee-utils-0.2~1^2~35 X-Git-Url: http://wamblee.org/gitweb/?a=commitdiff_plain;h=f482faaa0e67c441b7e1972926f49d12860f8056;p=utils --- diff --git a/support/test/enterprise/pom.xml b/support/test/enterprise/pom.xml index 3a5d6aa6..7a9bfbdd 100644 --- a/support/test/enterprise/pom.xml +++ b/support/test/enterprise/pom.xml @@ -10,7 +10,7 @@ 4.0.0 org.wamblee - wamblee-support-test + wamblee-support-test-enterprise jar wamblee.org support general library http://wamblee.org @@ -22,11 +22,6 @@ 0.2-SNAPSHOT test-jar - javax.transaction transaction-api @@ -56,16 +51,6 @@ commons-dbcp commons-dbcp - - - org.eclipse.persistence - eclipselink - javax.persistence persistence-api diff --git a/support/test/enterprise/src/main/java/org/wamblee/support/persistence/PersistenceUnitDescription.java b/support/test/enterprise/src/main/java/org/wamblee/support/persistence/PersistenceUnitDescription.java index 0d053bc0..a2499b47 100644 --- a/support/test/enterprise/src/main/java/org/wamblee/support/persistence/PersistenceUnitDescription.java +++ b/support/test/enterprise/src/main/java/org/wamblee/support/persistence/PersistenceUnitDescription.java @@ -1,11 +1,6 @@ package org.wamblee.support.persistence; -import java.util.ArrayList; -import java.util.Arrays; -import java.util.List; - import org.dbunit.dataset.filter.ITableFilterSimple; -import org.wamblee.support.persistence.toplink.ToplinkTables; public class PersistenceUnitDescription { diff --git a/support/test/enterprise/src/test/java/org/wamblee/support/persistence/DatabaseUtilsTest.java b/support/test/enterprise/src/test/java/org/wamblee/support/persistence/DatabaseUtilsTestBase.java similarity index 98% rename from support/test/enterprise/src/test/java/org/wamblee/support/persistence/DatabaseUtilsTest.java rename to support/test/enterprise/src/test/java/org/wamblee/support/persistence/DatabaseUtilsTestBase.java index 7dad5d92..e55f1341 100644 --- a/support/test/enterprise/src/test/java/org/wamblee/support/persistence/DatabaseUtilsTest.java +++ b/support/test/enterprise/src/test/java/org/wamblee/support/persistence/DatabaseUtilsTestBase.java @@ -17,7 +17,7 @@ import org.wamblee.support.persistence.JpaBuilder; import org.wamblee.support.persistence.PersistenceUnitDescription; import org.wamblee.support.persistence.JpaBuilder.JpaUnitOfWork; -public class DatabaseUtilsTest { +public class DatabaseUtilsTestBase { private Database db; private DataSource dataSource; private PersistenceUnitDescription persistenceUnit; diff --git a/support/test/enterprise/src/test/java/org/wamblee/support/persistence/MyEntityExampleTest.java b/support/test/enterprise/src/test/java/org/wamblee/support/persistence/MyEntityExampleTestBase.java similarity index 98% rename from support/test/enterprise/src/test/java/org/wamblee/support/persistence/MyEntityExampleTest.java rename to support/test/enterprise/src/test/java/org/wamblee/support/persistence/MyEntityExampleTestBase.java index e7b86fc9..77f6114a 100644 --- a/support/test/enterprise/src/test/java/org/wamblee/support/persistence/MyEntityExampleTest.java +++ b/support/test/enterprise/src/test/java/org/wamblee/support/persistence/MyEntityExampleTestBase.java @@ -23,7 +23,7 @@ import static junit.framework.Assert.*; /** * This class shows an example of how to test an entity using jpa. */ -public class MyEntityExampleTest { +public class MyEntityExampleTestBase { // This is the magical object that does all the test setup. private JpaTester jpaTester;