|
||||||||||
| 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.TestCoreXMLMapping
public class TestCoreXMLMapping
Test the core system's XML data mapping facilities.
| Constructor Summary | |
|---|---|
TestCoreXMLMapping(java.lang.String name)
Constructs a test case with the given name. |
|
| Method Summary | |
|---|---|
Configuration |
getConfiguration()
Method demanded by the ConfigurationOwner interface. |
java.lang.String |
getConfigurationNamespace()
Method demanded by the ConfigurationOwner interface. |
java.security.Principal |
getSecurityPrincipal()
Get the security principal associated with this instance. |
VersionEffectiveDate |
getVersionEffectiveDate()
Method demanded by the CoreUser interface. |
static void |
main(java.lang.String[] args)
|
void |
resetConfiguration()
Method demanded by the ConfigurationOwner interface. |
void |
setConfiguration(Configuration config)
Method demanded by the ConfigurationOwner interface. |
void |
setConfigurationNamespace(java.lang.String configurationNamespace)
|
static junit.framework.Test |
suite()
|
void |
testEmbeddedObject()
Test to ensure that nested types marshal as expected. |
void |
testSimpleFromXML()
Test the fromXml service with a simple object. |
void |
testSimpleToXML()
Ensure that a simple object can be converted into XML. |
void |
testSimpleToXMLPerformance()
Run a simple performace test on the toXml service. |
| 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 TestCoreXMLMapping(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 CoreUserpublic java.security.Principal getSecurityPrincipal()
getSecurityPrincipal in interface CoreUserpublic void setConfiguration(Configuration config)
setConfiguration in interface ConfigurationOwnerconfig - Configuration to use from now on.public Configuration getConfiguration()
getConfiguration in interface ConfigurationOwnerpublic java.lang.String getConfigurationNamespace()
getConfigurationNamespace in interface CoreUserpublic void setConfigurationNamespace(java.lang.String configurationNamespace)
public void resetConfiguration()
resetConfiguration in interface ConfigurationOwner
public void testSimpleToXML()
throws java.lang.Exception
java.lang.Exception
public void testSimpleToXMLPerformance()
throws java.lang.Exception
java.lang.Exception
public void testSimpleFromXML()
throws java.lang.Exception
java.lang.Exception
public void testEmbeddedObject()
throws java.lang.Exception
java.lang.Exception
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||