public abstract class HibernateTestCase
extends junit.framework.TestCase
| Modifier and Type | Class and Description |
|---|---|
class |
HibernateTestCase.RollbackWork |
protected static class |
HibernateTestCase.Skip |
| Modifier and Type | Field and Description |
|---|---|
protected static Configuration |
cfg |
static org.slf4j.Logger |
log |
| Constructor and Description |
|---|
HibernateTestCase() |
HibernateTestCase(String x) |
| Modifier and Type | Method and Description |
|---|---|
protected abstract void |
buildConfiguration() |
protected HibernateTestCase.Skip |
buildSkip(Dialect dialect,
String comment,
String jiraKey) |
protected abstract void |
closeResources() |
protected void |
configure(Configuration cfg) |
protected HibernateTestCase.Skip |
determineSkipByDialect(Dialect dialect,
Method runMethod) |
String |
fullTestName() |
protected abstract Class<?>[] |
getAnnotatedClasses() |
protected String[] |
getAnnotatedPackages() |
protected static Configuration |
getCfg() |
protected Dialect |
getDialect() |
protected String[] |
getMappings() |
protected String[] |
getXmlFiles() |
protected abstract void |
handleUnclosedResources() |
protected <T extends Annotation> |
locateAnnotation(Class<T> annotationClass,
Method runMethod) |
protected boolean |
recreateSchema() |
protected void |
reportSkip(String reason,
String testDescription) |
void |
runBare() |
protected void |
runSchemaDrop() |
protected void |
runSchemaGeneration() |
protected void |
runTest() |
protected static void |
setCfg(Configuration cfg) |
protected void |
setUp() |
protected void |
tearDown() |
assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertFalse, assertFalse, assertNotNull, assertNotNull, assertNotSame, assertNotSame, assertNull, assertNull, assertSame, assertSame, assertTrue, assertTrue, countTestCases, createResult, fail, fail, failNotEquals, failNotSame, failSame, format, getName, run, run, setName, toStringpublic static final org.slf4j.Logger log
protected static Configuration cfg
public HibernateTestCase()
public HibernateTestCase(String x)
public void runBare()
throws Throwable
runBare in class junit.framework.TestCaseThrowableprotected void runTest()
throws Throwable
runTest in class junit.framework.TestCaseThrowableprotected void setUp()
throws Exception
setUp in class junit.framework.TestCaseExceptionprotected void tearDown()
throws Exception
tearDown in class junit.framework.TestCaseExceptionprotected final HibernateTestCase.Skip determineSkipByDialect(Dialect dialect, Method runMethod) throws Exception
Exceptionprotected <T extends Annotation> T locateAnnotation(Class<T> annotationClass, Method runMethod)
protected HibernateTestCase.Skip buildSkip(Dialect dialect, String comment, String jiraKey)
public String fullTestName()
protected abstract Class<?>[] getAnnotatedClasses()
protected String[] getMappings()
protected abstract void handleUnclosedResources()
protected abstract void closeResources()
protected String[] getAnnotatedPackages()
protected String[] getXmlFiles()
protected Dialect getDialect()
protected static void setCfg(Configuration cfg)
protected static Configuration getCfg()
protected void configure(Configuration cfg)
protected boolean recreateSchema()
protected void runSchemaGeneration()
protected void runSchemaDrop()
Copyright © 2002-2017 Red Hat Middleware, LLC. All Rights Reserved