test
Class HybridStrategiesTest

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

public class HybridStrategiesTest
extends junit.framework.TestCase

The topology used in these tests is the following.

     0-----1-----------2-----3-----4
           |          /|     |
           |         / |     |
           |        /  |     |
           5---6---7---8-----9
 
We establish some lsps and then look at the path taken by traffic from node 0 to node 4.

Creation date: 23 juin 2006

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

Constructor Summary
HybridStrategiesTest()
           
 
Method Summary
 void testBasicIGPShortcut()
           
 void testIGPShortcut()
           
 
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

HybridStrategiesTest

public HybridStrategiesTest()
Method Detail

testIGPShortcut

public void testIGPShortcut()
                     throws NodeAlreadyExistException,
                            NodeNotFoundException,
                            LinkAlreadyExistException,
                            NoRouteToHostException,
                            RoutingException,
                            InvalidDomainException,
                            InvalidPathException,
                            LspAlreadyExistException,
                            LinkCapacityExceededException,
                            DiffServConfigurationException,
                            LspNotFoundException
Throws:
NodeAlreadyExistException
NodeNotFoundException
LinkAlreadyExistException
NoRouteToHostException
RoutingException
InvalidDomainException
InvalidPathException
LspAlreadyExistException
LinkCapacityExceededException
DiffServConfigurationException
LspNotFoundException

testBasicIGPShortcut

public void testBasicIGPShortcut()
                          throws InvalidDomainException,
                                 NodeAlreadyExistException,
                                 NodeNotFoundException,
                                 LinkAlreadyExistException,
                                 InvalidPathException,
                                 LspAlreadyExistException,
                                 LinkCapacityExceededException,
                                 NoRouteToHostException,
                                 RoutingException,
                                 LspNotFoundException,
                                 LinkNotFoundException,
                                 DiffServConfigurationException
Throws:
InvalidDomainException
NodeAlreadyExistException
NodeNotFoundException
LinkAlreadyExistException
InvalidPathException
LspAlreadyExistException
LinkCapacityExceededException
NoRouteToHostException
RoutingException
LspNotFoundException
LinkNotFoundException
DiffServConfigurationException


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