|
||||||||||
| 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.TestCoreLogging
public class TestCoreLogging
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 | |
|---|---|
TestCoreLogging(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 |
testInfoLog()
Check that messages can be written to the info log. |
| 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 TestCoreLogging(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 testInfoLog()
throws java.lang.Exception
java.lang.Exception
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||