VuFind API Documentation

DatabaseTest extends TestCase
in package

"Database" URL shortener test.

Tags
category

VuFind

author

Demian Katz demian.katz@villanova.edu

author

Cornelius Amzar cornelius.amzar@bsz-bw.de

author

Sudharma Kellampalli skellamp@villanova.edu

license

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

link

Wiki

Table of Contents

getShortener()  : Database
Get the object to test.
testResolution()  : void
Test that resolve is supported.
testResolutionOfBadInput()  : void
Test that resolve errors correctly when given bad input
testShortener()  : void
Test that the shortener works correctly under "happy path."
testShortenerLegacy()  : void
Test that the shortener works correctly with legacy hashing.

Methods

testResolution()

Test that resolve is supported.

public testResolution() : void
Tags
throws
Exception
Return values
void

testResolutionOfBadInput()

Test that resolve errors correctly when given bad input

public testResolutionOfBadInput() : void
Tags
throws
Exception
Return values
void

testShortener()

Test that the shortener works correctly under "happy path."

public testShortener() : void
Tags
throws
Exception
Return values
void

testShortenerLegacy()

Test that the shortener works correctly with legacy hashing.

public testShortenerLegacy() : void
Tags
throws
Exception
Return values
void

Search results