|
||||||||||
| 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.TestFactoryTypeMerging
public class TestFactoryTypeMerging
The core's factories support the concept of baseing one type on another - in effect allowing type definition to extend one another. The tests here try exercise that support.
| Constructor Summary | |
|---|---|
TestFactoryTypeMerging(java.lang.String name)
Constructs a test case with the given name. |
|
| Method Summary | |
|---|---|
VersionEffectiveDate |
getVersionEffectiveDate()
Always select the latest configuration. |
static void |
main(java.lang.String[] args)
|
static junit.framework.Test |
suite()
|
void |
testSimpleAttributeMerging()
The Type class offers a merge() method which will merge values from a 'donor' object into a 'subject'. |
void |
testXmlInclude()
Castor should support the use of <xi:include>. |
void |
testXmlIncludeRelativeUrl()
xi:include doesn't support relative URIs out of the box. |
| Methods inherited from class com.ail.coretest.CoreUserTestCase |
|---|
getConfiguration, getConfigurationNamespace, getCore, getSecurityPrincipal, 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 TestFactoryTypeMerging(java.lang.String name)
| Method Detail |
|---|
public static junit.framework.Test suite()
public static void main(java.lang.String[] args)
public VersionEffectiveDate getVersionEffectiveDate()
getVersionEffectiveDate in interface CoreUsergetVersionEffectiveDate in class CoreUserTestCase
public void testSimpleAttributeMerging()
throws java.lang.Exception
here
describe what should happen during a merge. This test checks that functionality.
java.lang.Exception
public void testXmlInclude()
throws java.lang.Exception
java.lang.Exception
public void testXmlIncludeRelativeUrl()
throws java.lang.Exception
java.lang.Exception
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||