Documentation

QRCodeReaderTest extends TestCase
in package

Tests the QR Code reader

Table of Contents

loremipsum  = 'Just let this happen. We just let this flow right out of our minds. ' . 'Anyone can paint. We touch the canvas, the canvas takes what it wants. From all of us here, ' . 'I want to wish you happy painting and God bless, my friends. A tree cannot be straight if it has a crooked trunk. ' . 'You have to make almighty decisions when you're the creator. I guess that would be considered a UFO. ' . 'A big cotton ball in the sky. I'm gonna add just a tiny little amount of Prussian Blue. ' . 'They say everything looks better with odd numbers of things. But sometimes I put even numbers—just ' . 'to upset the critics. We'll lay all these little funky little things in there. '
dataTestProvider()  : Generator
qrCodeProvider()  : array<string|int, mixed>
testReadData()  : void
testReaderGD()  : void
testReaderImagick()  : void
testReaderMultiSegment()  : void

Constants

loremipsum

protected mixed loremipsum = 'Just let this happen. We just let this flow right out of our minds. ' . 'Anyone can paint. We touch the canvas, the canvas takes what it wants. From all of us here, ' . 'I want to wish you happy painting and God bless, my friends. A tree cannot be straight if it has a crooked trunk. ' . 'You have to make almighty decisions when you're the creator. I guess that would be considered a UFO. ' . 'A big cotton ball in the sky. I'm gonna add just a tiny little amount of Prussian Blue. ' . 'They say everything looks better with odd numbers of things. But sometimes I put even numbers—just ' . 'to upset the critics. We'll lay all these little funky little things in there. '

Methods

dataTestProvider()

public dataTestProvider() : Generator
Return values
Generator

qrCodeProvider()

public qrCodeProvider() : array<string|int, mixed>
Return values
array<string|int, mixed>

testReaderGD()

public testReaderGD(string $img, string $expected) : void
Parameters
$img : string
$expected : string
Tags
dataProvider

qrCodeProvider

Return values
void

testReaderImagick()

public testReaderImagick(string $img, string $expected) : void
Parameters
$img : string
$expected : string
Tags
dataProvider

qrCodeProvider

Return values
void

testReaderMultiSegment()

public testReaderMultiSegment() : void
Return values
void

Search results