|
||||||||||
| 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.TestCoreXMLBinding
public class TestCoreXMLBinding
The tests defined here exercise the Core system's factory. They use the Core class as a Service or core client would. Note: These tests assume that the JDBCConfigurationLoader is being used.
| Constructor Summary | |
|---|---|
TestCoreXMLBinding(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 |
testAttributeInAttributeXpathTest()
Test how stacked attributes are interpreted and that xpath works on them. |
void |
testSimpleFromXML()
Check that the core corrently converts a string of XML into the corresponding object. |
void |
testSimpleToXML()
This text checks that XMLBinding correctly converts an object into an XMLString. |
void |
testXsiTypeDetection()
The XMLString class offers some help in determining the java type represented by an XML string - assuming that string has an xsi:type attribute in the root element. |
| 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 TestCoreXMLBinding(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 ConfigurationOwnerpublic void testSimpleToXML()
public void testSimpleFromXML()
public void testXsiTypeDetection()
throws java.lang.Exception
java.lang.Exception
public void testAttributeInAttributeXpathTest()
throws java.lang.Exception
java.lang.Exception
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||