test
Class MaxPropRouterTest

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

public class MaxPropRouterTest
extends AbstractRouterTest

Tests for the MaxProp routing module


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
MaxPropRouterTest()
           
 
Method Summary
protected  void setUp()
           
 void testAckedMessageDeleting()
           
 void testCostValues()
           
 void testMpsTimeStamps()
          Tests that more recent meeting probability sets replace older ones but not vice versa.
 void testRouting()
           
 void testThreshold()
           
 
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

MaxPropRouterTest

public MaxPropRouterTest()
Method Detail

setUp

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

testCostValues

public void testCostValues()

testThreshold

public void testThreshold()

testAckedMessageDeleting

public void testAckedMessageDeleting()

testRouting

public void testRouting()

testMpsTimeStamps

public void testMpsTimeStamps()
Tests that more recent meeting probability sets replace older ones but not vice versa.