org.opennms.netmgt.poller
Class PollContextTest
java.lang.Object
junit.framework.Assert
junit.framework.TestCase
org.opennms.netmgt.poller.PollContextTest
- All Implemented Interfaces:
- junit.framework.Test
- public class PollContextTest
- extends junit.framework.TestCase
Represents a PollContextTest
- Author:
- brozow
Fields inherited from class junit.framework.TestCase |
|
Methods inherited from class junit.framework.TestCase |
countTestCases, createResult, getName, run, run, runBare, runTest, 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 |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
m_mNetwork
private MockNetwork m_mNetwork
m_db
private MockDatabase m_db
m_pollerConfig
private MockPollerConfig m_pollerConfig
m_pollContext
private DefaultPollContext m_pollContext
m_pNetwork
private PollableNetwork m_pNetwork
m_pSvc
private PollableService m_pSvc
m_poller
private Poller m_poller
m_mSvc
private MockService m_mSvc
m_anticipator
private EventAnticipator m_anticipator
m_outageAnticipator
private OutageAnticipator m_outageAnticipator
m_eventMgr
private MockEventIpcManager m_eventMgr
PollContextTest
public PollContextTest()
main
public static void main(java.lang.String[] args)
setUp
protected void setUp()
throws java.lang.Exception
- Throws:
java.lang.Exception
tearDown
protected void tearDown()
throws java.lang.Exception
- Throws:
java.lang.Exception
testGetCriticalServiceName
public void testGetCriticalServiceName()
testIsNodeProcessingEnabled
public void testIsNodeProcessingEnabled()
testIsPollingAllIfCritServiceUndefined
public void testIsPollingAllIfCritServiceUndefined()
testSendEvent
public void testSendEvent()
testCreateEvent
public void testCreateEvent()
throws java.lang.Exception
- Throws:
java.lang.Exception
testOpenResolveOutage
public void testOpenResolveOutage()
throws java.lang.Exception
- Throws:
java.lang.Exception
verifyOutages
private void verifyOutages()
testIsServiceUnresponsiveEnabled
public void testIsServiceUnresponsiveEnabled()
Generated by eevans on May 29 2005 2015.