test
Class MIRATest

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

public class MIRATest
extends junit.framework.TestCase

Test MIRA algorithm with the sample topology described in (Wang, B., Su, X., Chen, C.: A New Bandwidth Guaranteed Routing Algorithm for MPLS Traffic Engineering. In Proceedings of IEEE International Conference on Communications, ICC 2002) fig2 Note: for newMIRA, use duplex links

Creation date: 31-Oct-2005

Author:
Ga�l Monfort (monfort@run.montefiore.ulg.ac.be)

Constructor Summary
MIRATest()
           
 
Method Summary
 void testNEWMIRA()
           
 void testSMIRA()
           
 
Methods inherited from class junit.framework.TestCase
countTestCases, createResult, getName, run, run, runBare, runTest, setName, setUp, tearDown, toString
 
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
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

MIRATest

public MIRATest()
Method Detail

testSMIRA

public void testSMIRA()
               throws NodeAlreadyExistException,
                      NodeNotFoundException,
                      DomainAlreadyExistException,
                      LinkAlreadyExistException,
                      NoRouteToHostException,
                      RoutingException,
                      LspNotFoundException,
                      LinkNotFoundException,
                      LocalDatabaseException,
                      InvalidPathException,
                      AlgorithmInitialisationException,
                      NodeTypeException,
                      LinkCapacityExceededException,
                      TotemActionExecutionException
Throws:
NodeAlreadyExistException
NodeNotFoundException
DomainAlreadyExistException
LinkAlreadyExistException
NoRouteToHostException
RoutingException
LspNotFoundException
LinkNotFoundException
LocalDatabaseException
InvalidPathException
AlgorithmInitialisationException
NodeTypeException
LinkCapacityExceededException
TotemActionExecutionException

testNEWMIRA

public void testNEWMIRA()
                 throws NodeNotFoundException,
                        LspNotFoundException,
                        NoRouteToHostException,
                        RoutingException,
                        LinkNotFoundException,
                        NodeAlreadyExistException,
                        DomainAlreadyExistException,
                        LinkAlreadyExistException,
                        LocalDatabaseException,
                        InvalidPathException,
                        AlgorithmInitialisationException,
                        NodeTypeException,
                        LinkCapacityExceededException,
                        TotemActionExecutionException
Throws:
NodeNotFoundException
LspNotFoundException
NoRouteToHostException
RoutingException
LinkNotFoundException
NodeAlreadyExistException
DomainAlreadyExistException
LinkAlreadyExistException
LocalDatabaseException
InvalidPathException
AlgorithmInitialisationException
NodeTypeException
LinkCapacityExceededException
TotemActionExecutionException


Copyright © 2004-2007 Research Unit in Networking, All Rights Reserved.