public class ApplicationLoggerTest extends MessageEventSourceTest
ApplicationLogger
implementations.Modifier and Type | Class and Description |
---|---|
static class |
ApplicationLoggerTest.TestMessageListener
MessageListener implementation tests are performed with. |
Constructor and Description |
---|
ApplicationLoggerTest() |
Modifier and Type | Method and Description |
---|---|
ApplicationLogger |
getApplicationLogger()
Gets the
ApplicationLogger implementation tests are performed
with. |
org.jdtaus.core.text.MessageEventSource |
getMessageEventSource()
Gets the
MessageEventSource implementation tests are performed
with. |
void |
setApplicationLogger(ApplicationLogger value)
Sets the
ApplicationLogger implementation tests are performed
with. |
void |
testIllegalArguments()
Tests the
ApplicationLogger.log(MessageEvent) method to handle
illegal arguments correctly by throwing a corresponding
NullPointerException . |
void |
testLog()
Tests the
ApplicationLogger.log(MessageEvent) method to fire
corresponding events. |
setMessageEventSource, testAddMessageListener, testGetMessageListeners, testRemoveMessageListener
countTestCases, createResult, getName, run, run, runBare, runTest, setName, setUp, tearDown, toString
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, failNotEquals, failNotSame, failSame
public ApplicationLoggerTest()
public final org.jdtaus.core.text.MessageEventSource getMessageEventSource()
MessageEventSource
implementation tests are performed
with.getMessageEventSource
in class MessageEventSourceTest
MessageEventSource
implementation tests are
performed with.getApplicationLogger()
public ApplicationLogger getApplicationLogger()
ApplicationLogger
implementation tests are performed
with.ApplicationLogger
implementation tests are performed
with.public final void setApplicationLogger(ApplicationLogger value)
ApplicationLogger
implementation tests are performed
with.value
- the ApplicationLogger
implementation to perform
tests with.public void testIllegalArguments() throws Exception
ApplicationLogger.log(MessageEvent)
method to handle
illegal arguments correctly by throwing a corresponding
NullPointerException
.Exception
public void testLog() throws Exception
ApplicationLogger.log(MessageEvent)
method to fire
corresponding events.Exception
Copyright © 2005-2012 jDTAUS. All Rights Reserved.