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:
Francesco Mangiacrapa 2019-03-06 11:12:33 +00:00
parent aaa7e39164
commit b2a2aedce5
1 changed files with 2 additions and 4 deletions

View File

@ -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");