|
|||||||||
| 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. |
| Field Summary | |
|---|---|
private BasicGraphModelTest.GraphFactory |
factory
The unit factory. |
| 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 |
| Field Detail |
|---|
private BasicGraphModelTest.GraphFactory factory
| Constructor Detail |
|---|
public BasicGraphModelTest(TestHarness harness,
BasicGraphModelTest.GraphFactory factory)
| Method Detail |
|---|
public void runSuite()
runSuite in class TestSuitepublic static void main(java.lang.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 | ||||||||