X-Git-Url: http://wamblee.org/gitweb/?a=blobdiff_plain;f=security%2Fjpatest%2Fsrc%2Ftest%2Fjava%2Forg%2Fwamblee%2Fsecurity%2Fauthentication%2Fjpa%2FJpaGroupSetTest.java;h=0c645ff668533b3caa8f0fce0ab4961cba8dac76;hb=7911867f17b475f221d93f106c3f1dfecd0b295e;hp=6f791cdd76777124a6d90bb2524012cce780ad23;hpb=c352d5f80485dd4d4edca02abec7144a0856b940;p=utils diff --git a/security/jpatest/src/test/java/org/wamblee/security/authentication/jpa/JpaGroupSetTest.java b/security/jpatest/src/test/java/org/wamblee/security/authentication/jpa/JpaGroupSetTest.java index 6f791cdd..0c645ff6 100644 --- a/security/jpatest/src/test/java/org/wamblee/security/authentication/jpa/JpaGroupSetTest.java +++ b/security/jpatest/src/test/java/org/wamblee/security/authentication/jpa/JpaGroupSetTest.java @@ -11,7 +11,6 @@ import org.wamblee.test.persistence.JpaTester; import org.wamblee.test.persistence.DatabaseUtils.JdbcUnitOfWork; import org.wamblee.test.transactions.TransactionProxyFactory; - public class JpaGroupSetTest extends InMemoryGroupSetTest { private static final String GROUP_TABLE = "SEC_GROUP"; @@ -25,8 +24,9 @@ public class JpaGroupSetTest extends InMemoryGroupSetTest { public void setUp() throws Exception { jpaTester = new JpaTester(new SecurityPersistenceUnit()); jpaTester.start(); - - // Superclass setup will call createGroupSet so requires initialized JPA. + + // Superclass setup will call createGroupSet so requires initialized + // JPA. super.setUp(); } @@ -70,7 +70,8 @@ public class JpaGroupSetTest extends InMemoryGroupSetTest { protected GroupSet createGroupSet() { TransactionProxyFactory factory = new TransactionProxyFactory( jpaTester.getJpaBuilder(), GroupSet.class); - GroupSet groupset = new JpaGroupSet(factory.getTransactionScopedEntityManager()); + GroupSet groupset = new JpaGroupSet(factory + .getTransactionScopedEntityManager()); GroupSet proxy = factory.getProxy(groupset); return proxy; }