X-Git-Url: http://wamblee.org/gitweb/?a=blobdiff_plain;f=security%2Fjpatest%2Fsrc%2Ftest%2Fjava%2Forg%2Fwamblee%2Fsecurity%2Fauthentication%2Fjpa%2FJpaUserAdministrationTest.java;h=9084a3f8433a41e099ad5802783a011e6276dc07;hb=cb91054f35281c6fc5619f93ff71df46bf4686b9;hp=8eaa8becfe14909f48c75307b64c63cb7c1ee55d;hpb=0788052b0c089361d8e00724028356c4fa6f28e8;p=utils diff --git a/security/jpatest/src/test/java/org/wamblee/security/authentication/jpa/JpaUserAdministrationTest.java b/security/jpatest/src/test/java/org/wamblee/security/authentication/jpa/JpaUserAdministrationTest.java index 8eaa8bec..9084a3f8 100644 --- a/security/jpatest/src/test/java/org/wamblee/security/authentication/jpa/JpaUserAdministrationTest.java +++ b/security/jpatest/src/test/java/org/wamblee/security/authentication/jpa/JpaUserAdministrationTest.java @@ -20,24 +20,9 @@ import java.sql.Connection; import org.apache.commons.logging.Log; import org.apache.commons.logging.LogFactory; -import org.junit.Ignore; -import org.wamblee.cache.EhCache; -import org.wamblee.io.ClassPathResource; -import org.wamblee.security.authentication.GroupSet; -import org.wamblee.security.authentication.NameValidator; -import org.wamblee.security.authentication.RegexpNameValidator; -import org.wamblee.security.authentication.User; import org.wamblee.security.authentication.UserAdministration; -import org.wamblee.security.authentication.UserAdministrationImpl; import org.wamblee.security.authentication.UserAdministrationImplTest; -import org.wamblee.security.authentication.UserSet; -import org.wamblee.security.authentication.jpa.JpaGroupSet; -import org.wamblee.security.authentication.jpa.JpaUserSet; -import org.wamblee.security.encryption.Md5HexMessageDigester; -import org.wamblee.security.encryption.MessageDigester; -import org.wamblee.support.persistence.JpaTester; -import org.wamblee.support.persistence.TransactionProxyFactory; -import org.wamblee.support.persistence.DatabaseUtils.JdbcUnitOfWork; +import org.wamblee.test.persistence.DatabaseUtils.JdbcUnitOfWork; /** * User administration tests with persistence based on Hibernate. This executes @@ -87,7 +72,7 @@ public class JpaUserAdministrationTest extends UserAdministrationImplTest { for (final Method method : methods) { if (method.getName().startsWith("test")) { - userAdminTester.getJpaTester().getDbUtils().cleanDatabase(); + userAdminTester.getJpaTester().getDbUtils().cleanDatabase(new SecurityTables()); clearUserCache(); userAdminTester.getJpaTester().getDbUtils().executeInTransaction( new JdbcUnitOfWork() {