Documentation

QRMarkupHTMLTest extends QRMarkupTestAbstract
in package

FinalYes

Tests the QRMarkup output module

Table of Contents

Properties

$builddir  : string
$FQN  : string
$matrix  : QRMatrix
$options  : QROptions|SettingsContainerInterface
$outputInterface  : QROutputInterface
$type  : string

Methods

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
covers the module values settings
testValidateModuleValues()  : void
setUp()  : void
Attempts to create a directory under /.build and instances several required objects

Properties

$FQN

protected string $FQN = \chillerlan\QRCode\Output\QRMarkupHTML::class

$type

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

Methods

moduleValueProvider()

public abstract 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 abstract testSetModuleValues() : void

testValidateModuleValues()

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

moduleValueProvider

setUp()

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

protected setUp() : void

        
On this page

Search results