|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectdiva.util.jester.TestSuite
diva.graph.test.BasicGraphModelTest
public class BasicGraphModelTest
A test suite for the BasicGraphModel class.
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(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 |
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 |
---|
public BasicGraphModelTest(TestHarness harness, BasicGraphModelTest.GraphFactory factory)
Method Detail |
---|
public void runSuite()
runSuite
in class TestSuite
public static void main(String[] argv)
public void testEmpty()
public void testStarConnected()
public void testBig()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |