test
Class ProphetRouterTest

java.lang.Object
  extended by junit.framework.Assert
      extended by junit.framework.TestCase
          extended by test.AbstractRouterTest
              extended by test.ProphetRouterTest
All Implemented Interfaces:
junit.framework.Test

public class ProphetRouterTest
extends AbstractRouterTest

Tests for PRoPHET router


Field Summary
 
Fields inherited from class test.AbstractRouterTest
BUFFER_SIZE, c0, clock, disconnectLocation, farAway, h0, h1, h2, h3, h4, h5, h6, mc, msgId1, msgId2, msgId3, msgId4, msgId5, routerProto, TRANSMIT_SPEED, ts, utils
 
Constructor Summary
ProphetRouterTest()
           
 
Method Summary
 void setUp()
           
 void testAging()
           
 void testRouting()
          Tests normal routing
 
Methods inherited from class test.AbstractRouterTest
checkCreates, checkDelivered, checkTransferStart, deliverMessage, disconnect, setRouterProto, toString, updateAllNodes
 
Methods inherited from class junit.framework.TestCase
countTestCases, createResult, getName, run, run, runBare, runTest, setName, tearDown
 
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, failNotEquals, failNotSame, failSame
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

ProphetRouterTest

public ProphetRouterTest()
Method Detail

setUp

public void setUp()
           throws java.lang.Exception
Overrides:
setUp in class AbstractRouterTest
Throws:
java.lang.Exception

testRouting

public void testRouting()
Tests normal routing


testAging

public void testAging()