Documentation

QRCodeTest extends TestCase
in package

Tests basic functions of the QRCode class

Table of Contents

$builddir  : string
$options  : QROptions
$qrcode  : QRCode
testInitCustomOutputInterfaceNotExistsException()  : void
tests if an exception is thrown if the given output class does not exist
testInitCustomOutputInterfaceNotImplementsException()  : void
tests if an exception is thrown if the given output class does not implement QROutputInterface
testInitOutputInterfaceException()  : void
tests if an exception is thrown when an invalid (built-in) output type is specified
testRenderToCacheFile()  : void
Tests if a cache file is properly saved in the given path
testSaveException()  : void
Tests if an exception is thrown when trying to write a cache file to an invalid destination
setUp()  : void
invoke test instances

Properties

$builddir

private string $builddir = __DIR__ . '/../.build/output_test'

Methods

testInitCustomOutputInterfaceNotExistsException()

tests if an exception is thrown if the given output class does not exist

public testInitCustomOutputInterfaceNotExistsException() : void
Return values
void

testInitCustomOutputInterfaceNotImplementsException()

tests if an exception is thrown if the given output class does not implement QROutputInterface

public testInitCustomOutputInterfaceNotImplementsException() : void
Return values
void

testInitOutputInterfaceException()

tests if an exception is thrown when an invalid (built-in) output type is specified

public testInitOutputInterfaceException() : void
Return values
void

testRenderToCacheFile()

Tests if a cache file is properly saved in the given path

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

setUp()

invoke test instances

protected setUp() : void
Return values
void

Search results