VuFind API Documentation

SearchCommandTest extends TestCase
in package

Unit tests for SearchCommand.

Tags
category

VuFind

author

Demian Katz demian.katz@villanova.edu

author

Ere Maijala ere.maijala@helsinki.fi

license

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

link
https://vufind.org

Table of Contents

getCommand()  : SearchCommand
Get test SearchCommand Object
testCommand()  : void
Test that the command works as expected
testCommandContext()  : void
Test setter and getter of command context.
testExtraRequestDetails()  : void
Test extra request details
testSearchLimit()  : void
Test setter and getter of Search limit.
testSearchOffset()  : void
Test setter and getter of Search offset.
testSearchParameters()  : void
Test setter and getter of Search Parameters.
testSearchQuery()  : void
Test setter and getter of Search query.
testTargetBackendIdentifier()  : void
Test setter and getter of target backend identifier.
testTooEarlyResults()  : void
Test that the command throws an exception results are requested before execute

Methods

testCommand()

Test that the command works as expected

public testCommand() : void
Return values
void

testCommandContext()

Test setter and getter of command context.

public testCommandContext() : void
Return values
void

testExtraRequestDetails()

Test extra request details

public testExtraRequestDetails() : void
Return values
void

testSearchLimit()

Test setter and getter of Search limit.

public testSearchLimit() : void
Return values
void

testSearchOffset()

Test setter and getter of Search offset.

public testSearchOffset() : void
Return values
void

testSearchParameters()

Test setter and getter of Search Parameters.

public testSearchParameters() : void
Return values
void

testSearchQuery()

Test setter and getter of Search query.

public testSearchQuery() : void
Return values
void

testTargetBackendIdentifier()

Test setter and getter of target backend identifier.

public testTargetBackendIdentifier() : void
Return values
void

testTooEarlyResults()

Test that the command throws an exception results are requested before execute

public testTooEarlyResults() : void
Return values
void

Search results