test
Class BhandariTest

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

public class BhandariTest
extends junit.framework.TestCase

Test Bhandari SPF

Creation date: 7-Jan-2005 09:49:36

Author:
Fabian Skivee (skivee@run.montefiore.ulg.ac.be)

Constructor Summary
BhandariTest()
           
 
Method Summary
 void testCompareWithCSPF()
           
 void testNegativeWeight()
          Test Bhandari on a topology used in "Introduction to Algorithms" containing negative weight
 void testNonConsecutiveId()
           
 void testSimpleDomain()
           
 
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

BhandariTest

public BhandariTest()
Method Detail

testSimpleDomain

public void testSimpleDomain()
                      throws java.io.FileNotFoundException,
                             InvalidDomainException
Throws:
java.io.FileNotFoundException
InvalidDomainException

testNegativeWeight

public void testNegativeWeight()
                        throws java.lang.Exception
Test Bhandari on a topology used in "Introduction to Algorithms" containing negative weight

Throws:
java.lang.Exception

testNonConsecutiveId

public void testNonConsecutiveId()
                          throws NoRouteToHostException,
                                 RoutingException,
                                 NodeNotFoundException,
                                 LinkNotFoundException,
                                 InvalidPathException,
                                 InvalidDomainException,
                                 java.io.FileNotFoundException
Throws:
NoRouteToHostException
RoutingException
NodeNotFoundException
LinkNotFoundException
InvalidPathException
InvalidDomainException
java.io.FileNotFoundException

testCompareWithCSPF

public void testCompareWithCSPF()
                         throws NoRouteToHostException,
                                RoutingException,
                                LinkNotFoundException,
                                NodeNotFoundException,
                                InvalidDomainException,
                                java.io.FileNotFoundException
Throws:
NoRouteToHostException
RoutingException
LinkNotFoundException
NodeNotFoundException
InvalidDomainException
java.io.FileNotFoundException


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