VuFind API Documentation

HoldingsTest extends TestCase
in package

Holdings view helper Test Class

Tags
category

VuFind

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

barcodeVisibilityBehaviorProvider()  : array<string|int, mixed>
Data provider for testBarcodeVisibilityBehavior()
testBarcodeVisibilityBehavior()  : void
Test appropriate barcode display behavior for various configurations.

Methods

barcodeVisibilityBehaviorProvider()

Data provider for testBarcodeVisibilityBehavior()

public static barcodeVisibilityBehaviorProvider() : array<string|int, mixed>
Return values
array<string|int, mixed>

testBarcodeVisibilityBehavior()

Test appropriate barcode display behavior for various configurations.

public testBarcodeVisibilityBehavior(array<string|int, mixed> $config, bool $expectedBarcodeResult, bool $expectedNoBarcodeResult) : void
Parameters
$config : array<string|int, mixed>

Configuration options to test

$expectedBarcodeResult : bool

Expected result for items with barcodes

$expectedNoBarcodeResult : bool

Expected result for items without barcodes

Tags
dataProvider

barcodeVisibilityBehaviorProvider

Return values
void

Search results