diva.pod.test
Class LightweightGraphTest.TestGraph1
java.lang.Object
diva.util.jester.TestCase
diva.pod.test.LightweightGraphTest.TestGraph1
- Enclosing class:
- LightweightGraphTest
public abstract class LightweightGraphTest.TestGraph1
- extends TestCase
A test case containing the following test graph, where the labels
are the 'name' attribute of the nodes and edges:
a --p-> c ---r--> d <-+
^\ | |
| \ |t |u
b --q---+ \ V |
+-s-> e --+
Method Summary |
void |
init()
Initialize the test case. |
void |
run()
Run the test case. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
LightweightGraphTest.TestGraph1
public LightweightGraphTest.TestGraph1(String s)
init
public void init()
throws Exception
- Description copied from class:
TestCase
- Initialize the test case. This is a concrete method that does
nothing. It is not requires that this method be overridden, but
any test that is more than a few lines should do so to
distinguish between the initialization and execution phases
of the test. It also allows local classes to be created
that override init() to create an object or set of objects
that will be used in multiple tests.
- Overrides:
init
in class TestCase
- Throws:
Exception
run
public void run()
throws Exception
- Description copied from class:
TestCase
- Run the test case. This method actually runs the test.
Result checking should not be done here, but in the
check() method. The method signature includes the completely
general Exception class, since this method can contain
arbitrary code.
- Specified by:
run
in class TestCase
- Throws:
Exception
Copyright © 2015 Central Laboratory of the Research Councils. All Rights Reserved.