Package com.github.database.rider.core
Interface RiderTestContext
-
- All Known Implementing Classes:
AbstractRiderTestContext,JUnit4RiderTestContext
public interface RiderTestContext
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voidbeginTransaction()voidclearEntityManager()voidcommit()<T extends Annotation>
TgetAnnotation(Class<T> clazz)<T extends Annotation>
TgetClassAnnotation(Class<T> clazz)DataSetExecutorgetDataSetExecutor()<T extends Annotation>
TgetMethodAnnotation(Class<T> clazz)StringgetMethodName()voidrollback()
-
-
-
Method Detail
-
getDataSetExecutor
DataSetExecutor getDataSetExecutor()
-
getMethodName
String getMethodName()
-
getAnnotation
<T extends Annotation> T getAnnotation(Class<T> clazz)
-
getMethodAnnotation
<T extends Annotation> T getMethodAnnotation(Class<T> clazz)
-
getClassAnnotation
<T extends Annotation> T getClassAnnotation(Class<T> clazz)
-
commit
void commit() throws SQLException- Throws:
SQLException
-
beginTransaction
void beginTransaction() throws SQLException- Throws:
SQLException
-
rollback
void rollback() throws SQLException- Throws:
SQLException
-
clearEntityManager
void clearEntityManager()
-
-