From 545dda1a6b627bf79b4c9d0b27efc5ffaf4647eb Mon Sep 17 00:00:00 2001 From: erik Date: Sun, 4 Apr 2010 14:02:06 +0000 Subject: [PATCH] --- trunk/support/test/enterprise/pom.xml | 17 +---------------- .../persistence/PersistenceUnitDescription.java | 5 ----- ...tilsTest.java => DatabaseUtilsTestBase.java} | 2 +- ...leTest.java => MyEntityExampleTestBase.java} | 2 +- 4 files changed, 3 insertions(+), 23 deletions(-) rename trunk/support/test/enterprise/src/test/java/org/wamblee/support/persistence/{DatabaseUtilsTest.java => DatabaseUtilsTestBase.java} (98%) rename trunk/support/test/enterprise/src/test/java/org/wamblee/support/persistence/{MyEntityExampleTest.java => MyEntityExampleTestBase.java} (98%) diff --git a/trunk/support/test/enterprise/pom.xml b/trunk/support/test/enterprise/pom.xml index 3a5d6aa6..7a9bfbdd 100644 --- a/trunk/support/test/enterprise/pom.xml +++ b/trunk/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/trunk/support/test/enterprise/src/main/java/org/wamblee/support/persistence/PersistenceUnitDescription.java b/trunk/support/test/enterprise/src/main/java/org/wamblee/support/persistence/PersistenceUnitDescription.java index 0d053bc0..a2499b47 100644 --- a/trunk/support/test/enterprise/src/main/java/org/wamblee/support/persistence/PersistenceUnitDescription.java +++ b/trunk/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/trunk/support/test/enterprise/src/test/java/org/wamblee/support/persistence/DatabaseUtilsTest.java b/trunk/support/test/enterprise/src/test/java/org/wamblee/support/persistence/DatabaseUtilsTestBase.java similarity index 98% rename from trunk/support/test/enterprise/src/test/java/org/wamblee/support/persistence/DatabaseUtilsTest.java rename to trunk/support/test/enterprise/src/test/java/org/wamblee/support/persistence/DatabaseUtilsTestBase.java index 7dad5d92..e55f1341 100644 --- a/trunk/support/test/enterprise/src/test/java/org/wamblee/support/persistence/DatabaseUtilsTest.java +++ b/trunk/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/trunk/support/test/enterprise/src/test/java/org/wamblee/support/persistence/MyEntityExampleTest.java b/trunk/support/test/enterprise/src/test/java/org/wamblee/support/persistence/MyEntityExampleTestBase.java similarity index 98% rename from trunk/support/test/enterprise/src/test/java/org/wamblee/support/persistence/MyEntityExampleTest.java rename to trunk/support/test/enterprise/src/test/java/org/wamblee/support/persistence/MyEntityExampleTestBase.java index e7b86fc9..77f6114a 100644 --- a/trunk/support/test/enterprise/src/test/java/org/wamblee/support/persistence/MyEntityExampleTest.java +++ b/trunk/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; -- 2.31.1