public abstract class AbstractDBTest<T extends io.nessus.common.Config>
extends io.nessus.common.testing.AbstractTest<T>
| Constructor and Description |
|---|
AbstractDBTest() |
| Modifier and Type | Method and Description |
|---|---|
void |
after() |
void |
before() |
protected T |
createConfig() |
protected java.sql.Connection |
createConnection() |
protected ConnectionFactory |
createConnectionFactory() |
protected java.sql.Connection |
getConnection() |
protected ConnectionFactory |
getConnectionFactory() |
getConfig, getOutPath, getPrintStream, getPrintStream, getService, getSimpleName, sleepSafepublic void before()
throws java.lang.Exception
before in class io.nessus.common.testing.AbstractTest<T extends io.nessus.common.Config>java.lang.Exceptionpublic void after()
throws java.lang.Exception
after in class io.nessus.common.testing.AbstractTest<T extends io.nessus.common.Config>java.lang.Exceptionprotected T createConfig() throws java.io.IOException
createConfig in class io.nessus.common.testing.AbstractTest<T extends io.nessus.common.Config>java.io.IOExceptionprotected final ConnectionFactory createConnectionFactory()
protected ConnectionFactory getConnectionFactory()
protected java.sql.Connection getConnection()
throws java.sql.SQLException
java.sql.SQLExceptionprotected java.sql.Connection createConnection()
throws java.sql.SQLException
java.sql.SQLExceptionCopyright © 2020. All rights reserved.