Package ejava.projects.eleague.blimpl
Class LeagueTestUtilImpl
- java.lang.Object
-
- ejava.projects.eleague.blimpl.LeagueTestUtilImpl
-
- All Implemented Interfaces:
LeagueTestUtil
public class LeagueTestUtilImpl extends Object implements LeagueTestUtil
-
-
Field Summary
Fields Modifier and Type Field Description protected static String
CREATE_SCRIPT
protected static String
DROP_SCRIPT
private EntityManager
em
-
Constructor Summary
Constructors Constructor Description LeagueTestUtilImpl()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
create(Map<String,Number> sequenceVals)
Map<String,Number>
drop()
protected DBUtil
getDBUtil()
void
reset()
void
setEntityManager(EntityManager em)
-
-
-
Field Detail
-
DROP_SCRIPT
protected static final String DROP_SCRIPT
- See Also:
- Constant Field Values
-
CREATE_SCRIPT
protected static final String CREATE_SCRIPT
- See Also:
- Constant Field Values
-
em
private EntityManager em
-
-
Method Detail
-
setEntityManager
public void setEntityManager(EntityManager em)
-
getDBUtil
protected DBUtil getDBUtil()
-
drop
public Map<String,Number> drop() throws RuntimeException
- Throws:
RuntimeException
-
create
public void create(Map<String,Number> sequenceVals) throws RuntimeException
- Throws:
RuntimeException
-
reset
public void reset() throws RuntimeException
- Specified by:
reset
in interfaceLeagueTestUtil
- Throws:
RuntimeException
-
-