(no commit message)
authorerik <erik@77661180-640e-0410-b3a8-9f9b13e6d0e0>
Sun, 4 Apr 2010 14:02:06 +0000 (14:02 +0000)
committererik <erik@77661180-640e-0410-b3a8-9f9b13e6d0e0>
Sun, 4 Apr 2010 14:02:06 +0000 (14:02 +0000)
support/test/enterprise/pom.xml
support/test/enterprise/src/main/java/org/wamblee/support/persistence/PersistenceUnitDescription.java
support/test/enterprise/src/test/java/org/wamblee/support/persistence/DatabaseUtilsTestBase.java [moved from support/test/enterprise/src/test/java/org/wamblee/support/persistence/DatabaseUtilsTest.java with 98% similarity]
support/test/enterprise/src/test/java/org/wamblee/support/persistence/MyEntityExampleTestBase.java [moved from support/test/enterprise/src/test/java/org/wamblee/support/persistence/MyEntityExampleTest.java with 98% similarity]

index 3a5d6aa6687289bb528b88d77bd647c22d8d3a23..7a9bfbdded5b58a14670e59c085dfc95b4caf672 100644 (file)
@@ -10,7 +10,7 @@
 
   <modelVersion>4.0.0</modelVersion>
   <groupId>org.wamblee</groupId>
-  <artifactId>wamblee-support-test</artifactId>
+  <artifactId>wamblee-support-test-enterprise</artifactId>
   <packaging>jar</packaging>
   <name>wamblee.org support general library</name>
   <url>http://wamblee.org</url>
       <version>0.2-SNAPSHOT</version>
       <type>test-jar</type>
     </dependency>
-    <!-- dependency>
-      <groupId>org.wamblee</groupId>
-      <artifactId>wamblee-hibernate-jpa</artifactId>
-      <version>0.2-SNAPSHOT</version>
-    </dependency -->
     <dependency>
       <groupId>javax.transaction</groupId>
       <artifactId>transaction-api</artifactId>
       <groupId>commons-dbcp</groupId>
       <artifactId>commons-dbcp</artifactId>
     </dependency>
-    <!-- 
-    <dependency>
-      <groupId>toplink.essentials</groupId>
-      <artifactId>toplink-essentials</artifactId>
-    </dependency>
-    -->
-    <dependency>
-      <groupId>org.eclipse.persistence</groupId>
-      <artifactId>eclipselink</artifactId>
-    </dependency>
     <dependency>
       <groupId>javax.persistence</groupId>
       <artifactId>persistence-api</artifactId>
index 0d053bc0f462db1172158857b158dfc47a4bc1d7..a2499b474136a6f07a4eb97414add15ca7cac6b4 100644 (file)
@@ -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 {
 
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 7dad5d92f6ce86a75a08dfd6c7ebb5371d891934..e55f13413e8e84161c3d13b6c6f6b6409d1aa53c 100644 (file)
@@ -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;
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 e7b86fc9564b93fbc035a4e03a16c9da49fc26bd..77f6114a089c74a660824f74f5f9c01476c26ebf 100644 (file)
@@ -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;