Documentation

NodeTest extends TestCase
in package

Test for the the class representing a GraphViz node.

Table of Contents

$fixture  : Node
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
testGetNonExistingAttributeThrowsAttributeNotFound()  : void
testName()  : void
Tests the getting and setting of the name.
testToString()  : void
Tests whether the magic __toString method returns a well formatted string as specified in the DOT standard
testToStringWithLabelContainingSlashes()  : void
Tests whether the magic __toString method returns a well formatted string as specified in the DOT standard when the label contains slashes.
setUp()  : void
Initializes the fixture for this test.

Properties

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
returnn

void

Return values
void

testCreate()

Tests the create method

public testCreate() : void
Tags
covers
returnn

void

Return values
void

testGetNonExistingAttributeThrowsAttributeNotFound()

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

testName()

Tests the getting and setting of the name.

public testName() : void
Tags
covers
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

testToStringWithLabelContainingSlashes()

Tests whether the magic __toString method returns a well formatted string as specified in the DOT standard when the label contains slashes.

public testToStringWithLabelContainingSlashes() : void
Tags
covers
Return values
void

setUp()

Initializes the fixture for this test.

protected setUp() : void
Return values
void

Search results