test
Class CSPFTest

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

public class CSPFTest
extends junit.framework.TestCase

Test CSPF algorithm

Creation date: 05-Jan.-2004

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

Constructor Summary
CSPFTest()
           
 
Method Summary
 void testBandwidthConstraint()
           
 void testComputeSPFSource()
           
 void testMultiPath()
           
 void testSameSrcDst()
           
 void testSimpleSPF()
           
 
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

CSPFTest

public CSPFTest()
Method Detail

testSimpleSPF

public void testSimpleSPF()
                   throws java.lang.Exception
Throws:
java.lang.Exception

testSameSrcDst

public void testSameSrcDst()
                    throws java.lang.Exception
Throws:
java.lang.Exception

testBandwidthConstraint

public void testBandwidthConstraint()
                             throws java.lang.Exception
Throws:
java.lang.Exception

testMultiPath

public void testMultiPath()
                   throws java.lang.Exception
Throws:
java.lang.Exception

testComputeSPFSource

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


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