EdgeTest
extends TestCase
in package
Test for the the class representing a GraphViz edge (vertex).
Table of Contents
Methods
- testCall() : void
- Tests the magic __call method, to work as described, return the object instance for a setX method, return the value for an getX method, and null for the remaining method calls
- testConstruct() : void
- Tests the construct method
- testCreate() : void
- Tests the create method
- testGetFrom() : void
- Tests whether the getFrom method returns the same node as passed in the create method
- testGetNonExistingAttributeThrowsAttributeNotFound() : void
- testGetTo() : void
- Tests the getTo method returns the same node as passed in the create method
- testToString() : void
- Tests whether the magic __toString method returns a well formatted string as specified in the DOT standard
- tearDown() : void
- Tears down the fixture, for example, closes a network connection.
Methods
testCall()
Tests the magic __call method, to work as described, return the object instance for a setX method, return the value for an getX method, and null for the remaining method calls
public
testCall() : void
Tags
testConstruct()
Tests the construct method
public
testConstruct() : void
Tags
testCreate()
Tests the create method
public
testCreate() : void
Tags
testGetFrom()
Tests whether the getFrom method returns the same node as passed in the create method
public
testGetFrom() : void
Tags
testGetNonExistingAttributeThrowsAttributeNotFound()
public
testGetNonExistingAttributeThrowsAttributeNotFound() : void
Tags
testGetTo()
Tests the getTo method returns the same node as passed in the create method
public
testGetTo() : void
Tags
testToString()
Tests whether the magic __toString method returns a well formatted string as specified in the DOT standard
public
testToString() : void
Tags
tearDown()
Tears down the fixture, for example, closes a network connection.
protected
tearDown() : void
This method is called after a test is executed.