Documentation

NodeTest extends TestCase
in package

Test for the the class representing a GraphViz node.

Table of Contents

Properties

$fixture  : Node

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
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

testConstruct()

Tests the construct method

public testConstruct() : void
Tags
covers
returnn

void

testCreate()

Tests the create method

public testCreate() : void
Tags
covers
returnn

void

testGetNonExistingAttributeThrowsAttributeNotFound()

public testGetNonExistingAttributeThrowsAttributeNotFound() : void
Tags
covers
covers

testName()

Tests the getting and setting of the name.

public testName() : void
Tags
covers
covers

testToString()

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

public testToString() : void
Tags
covers

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

setUp()

Initializes the fixture for this test.

protected setUp() : void

        
On this page

Search results