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

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

public class SienaBandwidthEventTest
extends junit.framework.TestCase


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

SienaBandwidthEventTest

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

testSendBandwidthEvent

public void testSendBandwidthEvent()
Can we send a Bandwidth event?

testCreateBandwidthEvent

public SienaBandwidthProbeEvent testCreateBandwidthEvent()
Can we create a siena Bandwidth Event?

testNotificationCreation

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

testNotification2Event

public SienaBandwidthProbeEvent testNotification2Event(siena.Notification n)
Can we create a siena Bandwidth Event from a Notification?

testEventEquivalence

public void testEventEquivalence(SienaBandwidthProbeEvent e1,
                                 SienaBandwidthProbeEvent e2)
Are two siena bandwidth events the same?