Overview Package Class Tree Deprecated Index Help
PREV CLASS NEXT CLASS FRAMES NO FRAMES All Classes
SUMMARY: NESTED | FIELD | CONSTR | METHOD DETAIL: FIELD | CONSTR | METHOD

diva.graph.test
Class BasicGraphModelTest

java.lang.Object
 extended bydiva.util.jester.TestSuite
 extended bydiva.graph.test.BasicGraphModelTest

public class BasicGraphModelTest
extends TestSuite

A test suite for the BasicGraphModel class.

Version:
$Id: BasicGraphModelTest.java,v 1.18 2006年02月07日 00:44:38 cxh Exp $
Author:
John Reekie

Nested Class Summary
static class BasicGraphModelTest.BasicGraphModelFactory
The factory for the BasicGraphModel class.
static interface BasicGraphModelTest.GraphFactory
The graph factory interface.
Constructor Summary
BasicGraphModelTest(TestHarness harness, BasicGraphModelTest.GraphFactory factory)
Constructor.
Method Summary
static void main(java.lang.String[] argv)
Create a default test harness and run all tests on it.
void runSuite()
Run the test.
void testBig()
Test a large (64 knode) graph.
void testEmpty()
Perform tests on an empty graph.
void testStarConnected()
Test a star-connected graph.
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

BasicGraphModelTest

public BasicGraphModelTest(TestHarness harness,
 BasicGraphModelTest.GraphFactory factory)
Constructor.

Method Detail

runSuite

public void runSuite()
Run the test.

Specified by:
runSuite in class TestSuite

main

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


testEmpty

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


testStarConnected

public void testStarConnected()
Test a star-connected graph.


testBig

public void testBig()
Test a large (64 knode) graph. Unfortunately, something seems to hang after running this test. Presumably there's a problem with the diva.graph package (apart from the bug that won't even let you get the number of nodes).


Overview Package Class Tree Deprecated Index Help
PREV CLASS NEXT CLASS FRAMES NO FRAMES All Classes
SUMMARY: NESTED | FIELD | CONSTR | METHOD DETAIL: FIELD | CONSTR | METHOD

AltStyle によって変換されたページ (->オリジナル) /