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

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

public class SienaLatencyEventTest
extends junit.framework.TestCase


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

SienaLatencyEventTest

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

testSendLatencyEvent

public void testSendLatencyEvent()
Can we send a Latency event?

testCreateLatencyEvent

public SienaLatencyProbeEvent testCreateLatencyEvent()
Can we create a siena Latency Event?

testNotificationCreation

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

testNotification2Event

public SienaLatencyProbeEvent testNotification2Event(siena.Notification n)
Can we create a siena Latency Event from a Notification?

testEventEquivalence

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