Documentation

QRStringTEXTTest extends QRStringTestAbstract
in package

Tests the QRString output module

Table of Contents

$builddir  : string
$FQN  : string
$matrix  : QRMatrix
$options  : QROptions
$outputInterface  : QROutputInterface
$type  : string
moduleValueProvider()  : array<string|int, mixed>
testInstance()  : void
Validate the instance of the interface
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
testValidateModuleValues()  : void
setUp()  : void
Attempts to create a directory under /.build and instances several required objects

Properties

$type

protected string $type = \chillerlan\QRCode\Output\QROutputInterface::STRING_TEXT

Methods

moduleValueProvider()

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

testInstance()

Validate the instance of the interface

public testInstance() : void
Return values
void

testRenderToCacheFile()

coverage of the built-in output modules

public testRenderToCacheFile() : void
Return values
void

testSaveException()

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

public testSaveException() : void
Return values
void

testSetModuleValues()

public testSetModuleValues() : void
Tags
inheritDoc
Return values
void

testValidateModuleValues()

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

moduleValueProvider

Return values
void

setUp()

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

protected setUp() : void
Return values
void

Search results