VuFind API Documentation

ImageFactoryTest extends TestCase
in package

Unit tests for Image CAPTCHA handler factory.

Tags
requires

extension gd

requires

function imagepng

requires

function imageftbbox

category

VuFind

author

Demian Katz demian.katz@villanova.edu

license

http://opensource.org/licenses/gpl-2.0.php GNU General Public License

link

Main Page

Table of Contents

factoryDataProvider()  : array<string|int, mixed>
Provide data for testFactory()
testFactory()  : void
Test that the factory behaves correctly.

Methods

factoryDataProvider()

Provide data for testFactory()

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

testFactory()

Test that the factory behaves correctly.

public testFactory([string $homeUrl = null ][, string $expectedCache = '/cache/' ]) : void
Parameters
$homeUrl : string = null

Home URL (returned by url helper)

$expectedCache : string = '/cache/'

Expected cache path

Tags
dataProvider

factoryDataProvider

Return values
void

Search results