HoldingsTest
extends TestCase
in package
Holdings view helper Test Class
Tags
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