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, toString
public 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.TestCase
Throwable
protected void runTest() throws Throwable
runTest
in class junit.framework.TestCase
Throwable
protected void setUp() throws Exception
setUp
in class junit.framework.TestCase
Exception
protected void tearDown() throws Exception
tearDown
in class junit.framework.TestCase
Exception
protected final HibernateTestCase.Skip determineSkipByDialect(Dialect dialect, Method runMethod) throws Exception
Exception
protected <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-2015 Red Hat Middleware, LLC. All Rights Reserved