edu.cmu.cs.able.probebus.test
Class SienaActivateResponseEventTest

java.lang.Object
  |
  +--junit.framework.Assert
        |
        +--junit.framework.TestCase
              |
              +--edu.cmu.cs.able.probebus.test.SienaActivateResponseEventTest
All Implemented Interfaces:
junit.framework.Test

public class SienaActivateResponseEventTest
extends junit.framework.TestCase


Constructor Summary
SienaActivateResponseEventTest(java.lang.String name)
          Constructor for SienaActivateResponseEventTest
 
Method Summary
protected  void setUp()
          Creates environment to run all tests
static junit.framework.Test suite()
           
protected  void tearDown()
           
 SienaActivateResponseProbeEvent testCreateActivateResponseEvent()
          Can we create a siena ActivateResponse Event?
 void testEventEquivalence(SienaActivateResponseProbeEvent e1, SienaActivateResponseProbeEvent e2)
          Are two siena latency events the same?
 SienaActivateResponseProbeEvent testNotification2Event(siena.Notification n)
          Can we create a siena ActivateResponse Event from a Notification?
 siena.Notification testNotificationCreation(SienaActivateResponseProbeEvent e)
          Can we create a notification from a siena ActivateResponse Event?
 void testSendActivateResponseEvent()
          Can we send a ActivateResponse event?
 
Methods inherited from class junit.framework.TestCase
countTestCases, createResult, getName, name, run, run, runBare, runTest, setName, toString
 
Methods inherited from class junit.framework.Assert
assert, assert, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertNotNull, assertNotNull, 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
 

Constructor Detail

SienaActivateResponseEventTest

public SienaActivateResponseEventTest(java.lang.String name)
Constructor for SienaActivateResponseEventTest
Method Detail

setUp

protected void setUp()
Creates environment to run all tests
Overrides:
setUp in class junit.framework.TestCase

tearDown

protected void tearDown()
Overrides:
tearDown in class junit.framework.TestCase

suite

public static junit.framework.Test suite()

testSendActivateResponseEvent

public void testSendActivateResponseEvent()
Can we send a ActivateResponse event?

testCreateActivateResponseEvent

public SienaActivateResponseProbeEvent testCreateActivateResponseEvent()
Can we create a siena ActivateResponse Event?

testNotificationCreation

public siena.Notification testNotificationCreation(SienaActivateResponseProbeEvent e)
Can we create a notification from a siena ActivateResponse Event?

testNotification2Event

public SienaActivateResponseProbeEvent testNotification2Event(siena.Notification n)
Can we create a siena ActivateResponse Event from a Notification?

testEventEquivalence

public void testEventEquivalence(SienaActivateResponseProbeEvent e1,
                                 SienaActivateResponseProbeEvent e2)
Are two siena latency events the same?