|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectjunit.framework.Assert
junit.framework.TestCase
com.ail.coretest.CoreUserTestCase
com.ail.coretest.TestCoreHibernatePersistence
public class TestCoreHibernatePersistence
| Constructor Summary | |
|---|---|
TestCoreHibernatePersistence(java.lang.String name)
Constructs a test case with the given name. |
|
| Method Summary | |
|---|---|
static void |
main(java.lang.String[] args)
|
static junit.framework.Test |
suite()
|
void |
testAttributesWithinAttributes()
|
void |
testCorePersistenceMethods()
The Core exposes persistence methods in an easy-to-use form. |
void |
testDeepTypeHierarchy()
Test the persistence of a deep hierarchy. |
void |
testHibernateCreateDirectAccess()
|
void |
testHibernateCreateFailMissingObject()
|
void |
testHibernateCreateFailPredifnedSerialVersion()
|
void |
testHibernateCreateSuccess()
|
void |
testHibernateLoadSuccess()
Test that a persisted object can be retrieved using the Load service. |
void |
testHibernateQuerySuccess()
Test that a persisted object can be retrieved using the Query service. |
void |
testHibernateRemoteCreateSuccess()
|
void |
testHibernateUpdateFailMissingObject()
Test direct access to the validator |
void |
testHibernateUpdateFailWrongSerialVersion()
Create a record Update the record Update the record using the same serialVersionId - this update should fail |
void |
testHibernateUpdateSuccess()
|
| Methods inherited from class com.ail.coretest.CoreUserTestCase |
|---|
getConfiguration, getConfigurationNamespace, getCore, getSecurityPrincipal, getVersionEffectiveDate, resetConfiguration, setConfiguration, setCore, setupSystemProperties, setVersionEffectiveDate |
| Methods inherited from class junit.framework.TestCase |
|---|
countTestCases, getName, run, run, runBare, setName, toString |
| Methods inherited from class junit.framework.Assert |
|---|
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, fail, fail |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public TestCoreHibernatePersistence(java.lang.String name)
| Method Detail |
|---|
public static junit.framework.Test suite()
public static void main(java.lang.String[] args)
public void testHibernateCreateDirectAccess()
throws java.lang.Exception
java.lang.Exception
public void testHibernateCreateFailPredifnedSerialVersion()
throws java.lang.Exception
java.lang.Exception
public void testHibernateCreateSuccess()
throws java.lang.Exception
java.lang.Exception
public void testHibernateCreateFailMissingObject()
throws java.lang.Exception
java.lang.Exception
public void testHibernateUpdateSuccess()
throws java.lang.Exception
java.lang.Exception
public void testHibernateUpdateFailWrongSerialVersion()
throws java.lang.Exception
java.lang.Exception
public void testHibernateUpdateFailMissingObject()
throws java.lang.Exception
java.lang.Exception
public void testHibernateLoadSuccess()
throws java.lang.Exception
java.lang.Exception
public void testHibernateQuerySuccess()
throws java.lang.Exception
java.lang.Exception
public void testCorePersistenceMethods()
throws java.lang.Exception
java.lang.Exceptionpublic void testAttributesWithinAttributes()
public void testDeepTypeHierarchy()
public void testHibernateRemoteCreateSuccess()
throws java.lang.Exception
java.lang.Exception
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||