Documentation

QRCodeTest extends TestCase
in package

FinalYes

Tests basic functions of the QRCode class

Table of Contents

Properties

$builddir  : string
$options  : QROptions
$qrcode  : QRCode

Methods

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

testInitCustomOutputInterfaceNotImplementsException()

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

public testInitCustomOutputInterfaceNotImplementsException() : void

testInitOutputInterfaceException()

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

public testInitOutputInterfaceException() : void

testRenderToCacheFile()

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

public testRenderToCacheFile() : void

testSaveException()

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

public testSaveException() : void

setUp()

invoke test instances

protected setUp() : void

        
On this page

Search results