QRMarkupHTMLTest
extends QRMarkupTestAbstract
in package
Tests the QRMarkup 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
- covers the module values settings
- testValidateModuleValues() : void
- setUp() : void
- Attempts to create a directory under /.build and instances several required objects
Properties
$builddir
protected
string
$builddir
= __DIR__ . '/../../.build/output_test'
$FQN
protected
string
$FQN
= \chillerlan\QRCode\Output\QRMarkupHTML::class
$matrix
protected
QRMatrix
$matrix
$options
protected
QROptions
$options
$outputInterface
protected
QROutputInterface
$outputInterface
$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> —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()
covers the module values settings
public
abstract testSetModuleValues() : void
Return values
void —testValidateModuleValues()
public
testValidateModuleValues(mixed $value, bool $expected) : void
Parameters
- $value : mixed
- $expected : bool
Tags
Return values
void —setUp()
Attempts to create a directory under /.build and instances several required objects
protected
setUp() : void