Documentation

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

Methods

test__call()

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

test__get()

public test__get() : void
Tags
covers
Return values
void

test__set()

public test__set() : void
Tags
covers
Return values
void

test__toString()

public test__toString() : void
Tags
covers
Return values
void

testAddGraph()

public testAddGraph() : void
Tags
covers
Return values
void

testCreate()

public testCreate() : void
Tags
covers
Return values
void

testExport()

public testExport() : void
Tags
covers
Return values
void

testExportException()

public testExportException() : void
Tags
covers
Return values
void

testFindNode()

public testFindNode() : void
Tags
covers
Return values
void

testGetGraph()

public testGetGraph() : void
Tags
covers
Return values
void

testGetName()

public testGetName() : void
Tags
covers
Return values
void

testGetNonExistingAttributeThrowsAttributeNotFound()

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

testGetType()

public testGetType() : void
Tags
covers
Return values
void

testHasGraph()

public testHasGraph() : void
Tags
covers
Return values
void

testIsStrict()

public testIsStrict() : void
Return values
void
public testLink() : void
Tags
covers
Return values
void

testSetName()

public testSetName() : void
Tags
covers
Return values
void

testSetNode()

public testSetNode() : void
Tags
covers
Return values
void

testSetPath()

public testSetPath() : void
Return values
void

testSetStrict()

public testSetStrict() : void
Return values
void

testSetType()

public testSetType() : void
Tags
covers
Return values
void

testSetTypeException()

public testSetTypeException() : void
Tags
covers
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
Return values
string

Search results