|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectdiva.util.jester.TestSuite
diva.pod.test.LightweightNetworkTest
public class LightweightNetworkTest
A test suite for the LightweightNetwork class.
Nested Class Summary | |
---|---|
static class |
LightweightNetworkTest.LightweightNetworkFactory
The factory for the LightweightNetwork class |
class |
LightweightNetworkTest.TestNetwork1
A test case containing the following test network, where the labels are the 'name' attribute of the nodes, ports (in parens), and edges. |
Constructor Summary | |
---|---|
LightweightNetworkTest(TestHarness harness,
LightweightGraphTest.GraphFactory factory)
Constructor |
Method Summary | |
---|---|
String |
iterateNames(Iterator i)
Given an iterator over PropertyContainers, return the string consisting of the concatenated "name" attributes |
static void |
main(String[] argv)
Create a default test harness and run all tests on it. |
void |
runAll()
runAll() |
void |
runSuite()
runSuite() |
void |
testInOut()
Create test network 1 and check that in and out edges are iterated properly |
void |
testNodesEdges()
Create test network 1 and check that the node and edge iterators work correctly. |
void |
testSuccPred()
Create test network 1 and check that successor and predecessor nodes are iterated properly |
Methods inherited from class diva.util.jester.TestSuite |
---|
getFactory, getTestHarness, run, runTestCase, setFactory, setTestHarness |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public LightweightNetworkTest(TestHarness harness, LightweightGraphTest.GraphFactory factory)
Method Detail |
---|
public void runAll()
runAll
in class TestSuite
public void runSuite()
runSuite
in class TestSuite
public static void main(String[] argv)
public void testNodesEdges()
public void testSuccPred()
public void testInOut()
public String iterateNames(Iterator i)
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |