VuFind API Documentation

MakeLinkTest extends AbstractMakeTagTestCase
in package

MakeLink view helper Test Class

Tags
category

VuFind

author

Chris Hallberg crhallberg@gmail.com

author

Demian Katz demian.katz@villanova.edu

license

http://opensource.org/licenses/gpl-2.0.php GNU General Public License

link

Wiki

Table of Contents

testAttributes()  : void
Test that responds to common inputs
testLink()  : void
Test that responds to common inputs
testOptionEscaping()  : void
Test escaping with other plugins
testOptionProxy()  : void
Test that helper obeys options
testSpan()  : void
Test that helper returns unescaped text when href is falsey
getHelper()  : EscapeHtml
Get MakeLink helper with mock view
getViewWithHelpers()  : EscapeHtml
Get makeTag helper with mock view

Methods

testAttributes()

Test that responds to common inputs

public testAttributes() : void
Return values
void

Test that responds to common inputs

public testLink() : void
Return values
void

testOptionEscaping()

Test escaping with other plugins

public testOptionEscaping() : void
Return values
void

testOptionProxy()

Test that helper obeys options

public testOptionProxy() : void
Return values
void

testSpan()

Test that helper returns unescaped text when href is falsey

public testSpan() : void
Return values
void

getHelper()

Get MakeLink helper with mock view

protected getHelper() : EscapeHtml
Return values
EscapeHtml

getViewWithHelpers()

Get makeTag helper with mock view

protected getViewWithHelpers() : EscapeHtml
Return values
EscapeHtml

Search results