commented test
git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/portlets/user/performfish-analytics-portlet@178490 82a268e6-3cf1-43bd-a215-b396298e98cf
This commit is contained in:
parent
aaa7e39164
commit
b2a2aedce5
|
@ -10,8 +10,6 @@ import org.gcube.portlets.user.performfishanalytics.server.database.EntityManage
|
|||
import org.gcube.portlets.user.performfishanalytics.server.persistence.GenericPersistenceDaoBuilder;
|
||||
import org.gcube.portlets.user.performfishanalytics.shared.Population;
|
||||
import org.gcube.portlets.user.performfishanalytics.shared.exceptions.DatabaseServiceException;
|
||||
import org.junit.Before;
|
||||
import org.junit.Test;
|
||||
|
||||
|
||||
/**
|
||||
|
@ -24,14 +22,14 @@ public class TestEntityManagerFactory {
|
|||
EntityManagerFactory entityManagerFactory;
|
||||
//EntityManager em;
|
||||
|
||||
@Before
|
||||
//@Before
|
||||
public void instanceFactory() throws Exception{
|
||||
EntityManagerFactoryCreator mng = EntityManagerFactoryCreator.instanceLocalMode();
|
||||
entityManagerFactory = mng.getEntityManagerFactory();
|
||||
//em = entityManagerFactory.createEntityManager();
|
||||
}
|
||||
|
||||
@Test
|
||||
//@Test
|
||||
public void init() throws DatabaseServiceException{
|
||||
|
||||
GenericPersistenceDaoBuilder<Population> builderPopulation = new GenericPersistenceDaoBuilder<Population>(entityManagerFactory, "Population");
|
||||
|
|
Loading…
Reference in New Issue