Documentation

QRStringJSONTest extends QROutputTestAbstract
in package

FinalYes

Test abstract for the several (built-in) output modules, should also be used to test custom output modules

Table of Contents

Constants

buildDir  = __DIR__ . '/../../.build/output-test/'

Properties

$matrix  : QRMatrix
$options  : SettingsContainerInterface|QROptions
$outputInterface  : QROutputInterface

Methods

moduleValueProvider()  : array<string|int, mixed>
testRenderToCacheFile()  : void
coverage of the built-in output modules
testSaveException()  : void
Tests if an exception is thrown when trying to write a cache file to an invalid destination
testSetModuleValues()  : void
covers the module values settings
testValidateModuleValues()  : void
getOutputInterface()  : QROutputInterface
setUp()  : void
Attempts to create a directory under /.build and instances several required objects

Constants

Properties

Methods

moduleValueProvider()

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

testRenderToCacheFile()

coverage of the built-in output modules

public testRenderToCacheFile() : void

testSaveException()

Tests if an exception is thrown when trying to write a cache file to an invalid destination

public testSaveException() : void

testSetModuleValues()

covers the module values settings

public testSetModuleValues() : void

testValidateModuleValues()

public testValidateModuleValues(mixed $value, bool $expected) : void
Parameters
$value : mixed
$expected : bool

setUp()

Attempts to create a directory under /.build and instances several required objects

protected setUp() : void
Tags
inheritDoc

        
On this page

Search results