test
Class ListenersTest

java.lang.Object
  extended by test.ListenersTest

public class ListenersTest
extends java.lang.Object

Test the event Listeners

Creation date: 04-Nov-2005

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

Constructor Summary
ListenersTest()
           
 
Method Summary
 void testaddremoveLSP()
          check the number of listeners in the domain, start algorithms, add a explicit route lsp in the domain, route a second lsp and check that the right route is taken (that the first lsp is added in the algorithm specific database)
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ListenersTest

public ListenersTest()
Method Detail

testaddremoveLSP

public void testaddremoveLSP()
                      throws NodeAlreadyExistException,
                             NodeNotFoundException,
                             LspAlreadyExistException,
                             LinkCapacityExceededException,
                             NoRouteToHostException,
                             RoutingException,
                             LinkNotFoundException,
                             LinkAlreadyExistException,
                             LocalDatabaseException,
                             InvalidPathException,
                             DiffServConfigurationException,
                             LspNotFoundException,
                             AlgorithmInitialisationException
check the number of listeners in the domain, start algorithms, add a explicit route lsp in the domain, route a second lsp and check that the right route is taken (that the first lsp is added in the algorithm specific database)

Throws:
NodeAlreadyExistException
NodeNotFoundException
LspAlreadyExistException
LinkCapacityExceededException
NoRouteToHostException
RoutingException
LinkNotFoundException
LinkAlreadyExistException
LocalDatabaseException
InvalidPathException
DiffServConfigurationException
LspNotFoundException
AlgorithmInitialisationException


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