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

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

public class SienaInstallResponseEventTest
extends junit.framework.TestCase


Constructor Summary
SienaInstallResponseEventTest(java.lang.String name)
          Constructor for SienaInstallResponseEventTest
 
Method Summary
protected  void setUp()
          Creates environment to run all tests
static junit.framework.Test suite()
           
protected  void tearDown()
           
 SienaInstallResponseProbeEvent testCreateInstallResponseEvent()
          Can we create a siena InstallResponse Event?
 void testEventEquivalence(SienaInstallResponseProbeEvent e1, SienaInstallResponseProbeEvent e2)
          Are two siena latency events the same?
 SienaInstallResponseProbeEvent testNotification2Event(siena.Notification n)
          Can we create a siena InstallResponse Event from a Notification?
 siena.Notification testNotificationCreation(SienaInstallResponseProbeEvent e)
          Can we create a notification from a siena InstallResponse Event?
 void testSendInstallResponseEvent()
          Can we send a InstallResponse 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

SienaInstallResponseEventTest

public SienaInstallResponseEventTest(java.lang.String name)
Constructor for SienaInstallResponseEventTest
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()

testSendInstallResponseEvent

public void testSendInstallResponseEvent()
Can we send a InstallResponse event?

testCreateInstallResponseEvent

public SienaInstallResponseProbeEvent testCreateInstallResponseEvent()
Can we create a siena InstallResponse Event?

testNotificationCreation

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

testNotification2Event

public SienaInstallResponseProbeEvent testNotification2Event(siena.Notification n)
Can we create a siena InstallResponse Event from a Notification?

testEventEquivalence

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