GraphTest
extends TestCase
in package
Test for the the class representing a GraphViz graph.
Table of Contents
- $fixture : Graph
- test__call() : void
- test__get() : void
- test__set() : void
- test__toString() : void
- testAddGraph() : void
- testCreate() : void
- testExport() : void
- testExportException() : void
- testFindNode() : void
- testGetGraph() : void
- testGetName() : void
- testGetNonExistingAttributeThrowsAttributeNotFound() : void
- testGetType() : void
- testHasGraph() : void
- testIsStrict() : void
- testLink() : void
- testSetName() : void
- testSetNode() : void
- testSetPath() : void
- testSetStrict() : void
- testSetType() : void
- testSetTypeException() : void
- setUp() : void
- Sets up the fixture, for example, opens a network connection.
- tearDown() : void
- Tears down the fixture, for example, closes a network connection.
- normalizeLineEndings() : string
- Help avoid issue of "#Warning: Strings contain different line endings!" on Windows.
Properties
$fixture
protected
Graph
$fixture
Methods
test__call()
public
test__call() : void
Tags
Return values
void —test__get()
public
test__get() : void
Tags
Return values
void —test__set()
public
test__set() : void
Tags
Return values
void —test__toString()
public
test__toString() : void
Tags
Return values
void —testAddGraph()
public
testAddGraph() : void
Tags
Return values
void —testCreate()
public
testCreate() : void
Tags
Return values
void —testExport()
public
testExport() : void
Tags
Return values
void —testExportException()
public
testExportException() : void
Tags
Return values
void —testFindNode()
public
testFindNode() : void
Tags
Return values
void —testGetGraph()
public
testGetGraph() : void
Tags
Return values
void —testGetName()
public
testGetName() : void
Tags
Return values
void —testGetNonExistingAttributeThrowsAttributeNotFound()
public
testGetNonExistingAttributeThrowsAttributeNotFound() : void
Tags
Return values
void —testGetType()
public
testGetType() : void
Tags
Return values
void —testHasGraph()
public
testHasGraph() : void
Tags
Return values
void —testIsStrict()
public
testIsStrict() : void
Return values
void —testLink()
public
testLink() : void
Tags
Return values
void —testSetName()
public
testSetName() : void
Tags
Return values
void —testSetNode()
public
testSetNode() : void
Tags
Return values
void —testSetPath()
public
testSetPath() : void
Return values
void —testSetStrict()
public
testSetStrict() : void
Return values
void —testSetType()
public
testSetType() : void
Tags
Return values
void —testSetTypeException()
public
testSetTypeException() : void
Tags
Return values
void —setUp()
Sets up the fixture, for example, opens a network connection.
protected
setUp() : void
This method is called before a test is executed.
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 —normalizeLineEndings()
Help avoid issue of "#Warning: Strings contain different line endings!" on Windows.
private
normalizeLineEndings(string $string) : string
Parameters
- $string : string