diva.pod.test
Class TopologyTest

java.lang.Object
  extended by diva.util.jester.TestSuite
      extended by diva.pod.test.TopologyTest

public class TopologyTest
extends TestSuite

A test suite for the primitive Topology and Traversal classes.

Version:
$Revision: 1.4 $
Author:
John Reekie

Nested Class Summary
static interface TopologyTest.ICFactory
          The topology factory interface
static class TopologyTest.TopologyFactory
          The basic factory for the Topology and Traversal classes
 
Constructor Summary
TopologyTest(TestHarness harness, TopologyTest.TopologyFactory factory)
          Constructor
 
Method Summary
static void main(String[] argv)
          Create a default test harness and run all tests on it.
 void runSuite()
          runSuite()
 void testBig()
          Test a large (64 knode) graph
 void testDeletion()
           
 void testEmpty()
          Perform tests on empty graph....
 void testReverseStarConnected()
           
 void testStarConnected()
           
 
Methods inherited from class diva.util.jester.TestSuite
getFactory, getTestHarness, run, runAll, runTestCase, setFactory, setTestHarness
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TopologyTest

public TopologyTest(TestHarness harness,
                    TopologyTest.TopologyFactory factory)
Constructor

Method Detail

runSuite

public void runSuite()
runSuite()

Specified by:
runSuite in class TestSuite

main

public static void main(String[] argv)
Create a default test harness and run all tests on it.


testEmpty

public void testEmpty()
Perform tests on empty graph....


testStarConnected

public void testStarConnected()

testReverseStarConnected

public void testReverseStarConnected()

testDeletion

public void testDeletion()

testBig

public void testBig()
Test a large (64 knode) graph



Copyright © 2015 Central Laboratory of the Research Councils. All Rights Reserved.