class documentation
class TableMakerTests(TestCase): (source)
Tests that ensure tableMaker
generates HTML tables usable as labels in DOT graphs.
For more information, read the "HTML-Like Labels" section of http://www.graphviz.org/doc/info/shapes.html.
Method | fake |
Undocumented |
Method | set |
Undocumented |
Method | test_input |
The table returned by tableMaker always contains the input symbol label in its first row, and that row contains one cell with a port attribute set to the provided port. |
Method | test_no |
tableMaker does not add a colspan attribute to the input label's cell or a second row if there no output labels. |
Method | test_with |
tableMaker adds a colspan attribute to the input label's cell equal to the number of output labels and a second row that contains the output labels. |
Instance Variable | input |
Undocumented |
Instance Variable | port |
Undocumented |
Instance Variable | table |
Undocumented |
The table returned by tableMaker
always contains the input symbol label in its first row, and that row contains one cell with a port attribute set to the provided port.
tableMaker
does not add a colspan attribute to the input label's cell or a second row if there no output labels.
tableMaker
adds a colspan attribute to the input label's cell equal to the number of output labels and a second row that contains the output labels.