public class JUnit5RiderTestContext extends AbstractRiderTestContext
executor| Constructor and Description |
|---|
JUnit5RiderTestContext(DataSetExecutor executor,
org.junit.jupiter.api.extension.ExtensionContext extensionContext) |
| Modifier and Type | Method and Description |
|---|---|
void |
beginTransaction() |
void |
clearEntityManager() |
void |
commit() |
<T extends Annotation> |
getClassAnnotation(Class<T> clazz) |
<T extends Annotation> |
getMethodAnnotation(Class<T> clazz) |
String |
getMethodName() |
void |
rollback() |
getAnnotation, getDataSetExecutorpublic JUnit5RiderTestContext(DataSetExecutor executor, org.junit.jupiter.api.extension.ExtensionContext extensionContext)
public String getMethodName()
public <T extends Annotation> T getMethodAnnotation(Class<T> clazz)
public <T extends Annotation> T getClassAnnotation(Class<T> clazz)
public void commit()
throws SQLException
SQLExceptionpublic void beginTransaction()
throws SQLException
SQLExceptionpublic void rollback()
throws SQLException
SQLExceptionpublic void clearEntityManager()
Copyright © 2020. All rights reserved.