public abstract class NinjaDaoTestBase extends Object
| Constructor and Description |
|---|
NinjaDaoTestBase()
Constructor checks if NinjaMode was set in System properties, if not,
NinjaMode.test is used as default
|
NinjaDaoTestBase(NinjaMode testMode)
Constructor, receives the test mode to choose the database
|
| Modifier and Type | Method and Description |
|---|---|
protected <T> T |
getInstance(Class<T> clazz)
Get the DAO instances ready to use
|
void |
initialize() |
void |
stop() |
public NinjaDaoTestBase()
public NinjaDaoTestBase(NinjaMode testMode)
testMode - public final void initialize()
public final void stop()
protected <T> T getInstance(Class<T> clazz)
clazz - Copyright © 2014. All Rights Reserved.