Documentation

EdgeTest extends TestCase
in package

Test for the the class representing a GraphViz edge (vertex).

Table of Contents

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
covers
covers
covers
Return values
void

testConstruct()

Tests the construct method

public testConstruct() : void
Tags
covers
Return values
void

testCreate()

Tests the create method

public testCreate() : void
Tags
covers
Return values
void

testGetFrom()

Tests whether the getFrom method returns the same node as passed in the create method

public testGetFrom() : void
Tags
covers
Return values
void

testGetNonExistingAttributeThrowsAttributeNotFound()

public testGetNonExistingAttributeThrowsAttributeNotFound() : void
Tags
covers
covers
Return values
void

testGetTo()

Tests the getTo method returns the same node as passed in the create method

public testGetTo() : void
Tags
covers
Return values
void

testToString()

Tests whether the magic __toString method returns a well formatted string as specified in the DOT standard

public testToString() : void
Tags
covers
Return values
void

tearDown()

Tears down the fixture, for example, closes a network connection.

protected tearDown() : void

This method is called after a test is executed.

Return values
void

Search results