public class PlatformDBTestingHelper extends Object
| Modifier and Type | Field and Description |
|---|---|
protected org.killbill.commons.embeddeddb.EmbeddedDB |
instance |
| Modifier | Constructor and Description |
|---|---|
protected |
PlatformDBTestingHelper() |
| Modifier and Type | Method and Description |
|---|---|
protected void |
executePostStartupScripts() |
static PlatformDBTestingHelper |
get() |
DataSource |
getDataSource() |
org.skife.jdbi.v2.IDBI |
getDBI() |
org.killbill.commons.embeddeddb.EmbeddedDB |
getInstance() |
void |
start() |
protected String |
streamToString(InputStream inputStream) |
public static PlatformDBTestingHelper get()
public org.killbill.commons.embeddeddb.EmbeddedDB getInstance()
public org.skife.jdbi.v2.IDBI getDBI()
throws IOException
IOExceptionpublic DataSource getDataSource() throws IOException
IOExceptionpublic void start()
throws IOException
IOExceptionprotected void executePostStartupScripts()
throws IOException
IOExceptionprotected String streamToString(InputStream inputStream) throws IOException
IOExceptionCopyright © 2010-2015. All Rights Reserved.