public class LightweightNetworkTest extends TestSuite
Modifier and Type | Class and Description |
---|---|
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 and Description |
---|
LightweightNetworkTest(TestHarness harness,
LightweightGraphTest.GraphFactory factory)
Constructor
|
Modifier and Type | Method and Description |
---|---|
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
|
getFactory, getTestHarness, run, runTestCase, setFactory, setTestHarness
public LightweightNetworkTest(TestHarness harness, LightweightGraphTest.GraphFactory factory)
public static void main(String[] argv)
public void testNodesEdges()
public void testSuccPred()
public void testInOut()
Copyright © 2024 Central Laboratory of the Research Councils. All Rights Reserved.