Documentation

IntegrationTestCase extends TestCase
in package

AbstractYes

Integration test helper.

Tags
author

Fabien Potencier fabien@symfony.com

author

Karma Dordrak drak@zikula.org

Table of Contents

Methods

getLegacyTests()  : iterable<string|int, mixed>
getTests()  : iterable<string|int, mixed>
testIntegration()  : void
testLegacyIntegration()  : void
doIntegrationTest()  : void
getExtensions()  : array<string|int, ExtensionInterface>
getFixturesDir()  : string
getFixturesDirectory()  : string
getRuntimeLoaders()  : array<string|int, RuntimeLoaderInterface>
getTwigFilters()  : array<string|int, TwigFilter>
getTwigFunctions()  : array<string|int, TwigFunction>
getTwigTests()  : array<string|int, TwigTest>
getUndefinedFilterCallbacks()  : Warning: Array to string conversion in C:\xampp\htdocs\vendor\phpdocumentor\phpdocumentor\src\phpDocumentor\Transformer\Writer\Twig\LinkRenderer\CallableAdapter.php on line 78 array<string|int, callable(string): Array>
getUndefinedFunctionCallbacks()  : Warning: Array to string conversion in C:\xampp\htdocs\vendor\phpdocumentor\phpdocumentor\src\phpDocumentor\Transformer\Writer\Twig\LinkRenderer\CallableAdapter.php on line 78 array<string|int, callable(string): Array>
getUndefinedTestCallbacks()  : Warning: Array to string conversion in C:\xampp\htdocs\vendor\phpdocumentor\phpdocumentor\src\phpDocumentor\Transformer\Writer\Twig\LinkRenderer\CallableAdapter.php on line 78 array<string|int, callable(string): Array>
getUndefinedTokenParserCallbacks()  : Warning: Array to string conversion in C:\xampp\htdocs\vendor\phpdocumentor\phpdocumentor\src\phpDocumentor\Transformer\Writer\Twig\LinkRenderer\CallableAdapter.php on line 78 array<string|int, callable(string): Array>
parseTemplates()  : array<string, string>

Methods

getLegacyTests()

public getLegacyTests() : iterable<string|int, mixed>
Tags
final

since Twig 3.13

Return values
iterable<string|int, mixed>

getTests()

public getTests(mixed $name[, mixed $legacyTests = false ]) : iterable<string|int, mixed>
Parameters
$name : mixed
$legacyTests : mixed = false
Tags
final

since Twig 3.13

Return values
iterable<string|int, mixed>

testIntegration()

public testIntegration(mixed $file, mixed $message, mixed $condition, mixed $templates, mixed $exception, mixed $outputs[, mixed $deprecation = '' ]) : void
Parameters
$file : mixed
$message : mixed
$condition : mixed
$templates : mixed
$exception : mixed
$outputs : mixed
$deprecation : mixed = ''
Tags
dataProvider

getTests

testLegacyIntegration()

public testLegacyIntegration(mixed $file, mixed $message, mixed $condition, mixed $templates, mixed $exception, mixed $outputs[, mixed $deprecation = '' ]) : void
Parameters
$file : mixed
$message : mixed
$condition : mixed
$templates : mixed
$exception : mixed
$outputs : mixed
$deprecation : mixed = ''
Tags
dataProvider

getLegacyTests

group

legacy

doIntegrationTest()

protected doIntegrationTest(mixed $file, mixed $message, mixed $condition, mixed $templates, mixed $exception, mixed $outputs[, mixed $deprecation = '' ]) : void
Parameters
$file : mixed
$message : mixed
$condition : mixed
$templates : mixed
$exception : mixed
$outputs : mixed
$deprecation : mixed = ''

getFixturesDir()

protected getFixturesDir() : string

since Twig 3.13, use getFixturesDirectory() instead.

Return values
string

getFixturesDirectory()

protected static getFixturesDirectory() : string
Return values
string

getUndefinedFilterCallbacks()

protected getUndefinedFilterCallbacks() : Warning: Array to string conversion in C:\xampp\htdocs\vendor\phpdocumentor\phpdocumentor\src\phpDocumentor\Transformer\Writer\Twig\LinkRenderer\CallableAdapter.php on line 78 array<string|int, callable(string): Array>
Return values
Warning: Array to string conversion in C:\xampp\htdocs\vendor\phpdocumentor\phpdocumentor\src\phpDocumentor\Transformer\Writer\Twig\LinkRenderer\CallableAdapter.php on line 78 array<string|int, callable(string): Array>

getUndefinedFunctionCallbacks()

protected getUndefinedFunctionCallbacks() : Warning: Array to string conversion in C:\xampp\htdocs\vendor\phpdocumentor\phpdocumentor\src\phpDocumentor\Transformer\Writer\Twig\LinkRenderer\CallableAdapter.php on line 78 array<string|int, callable(string): Array>
Return values
Warning: Array to string conversion in C:\xampp\htdocs\vendor\phpdocumentor\phpdocumentor\src\phpDocumentor\Transformer\Writer\Twig\LinkRenderer\CallableAdapter.php on line 78 array<string|int, callable(string): Array>

getUndefinedTestCallbacks()

protected getUndefinedTestCallbacks() : Warning: Array to string conversion in C:\xampp\htdocs\vendor\phpdocumentor\phpdocumentor\src\phpDocumentor\Transformer\Writer\Twig\LinkRenderer\CallableAdapter.php on line 78 array<string|int, callable(string): Array>
Return values
Warning: Array to string conversion in C:\xampp\htdocs\vendor\phpdocumentor\phpdocumentor\src\phpDocumentor\Transformer\Writer\Twig\LinkRenderer\CallableAdapter.php on line 78 array<string|int, callable(string): Array>

getUndefinedTokenParserCallbacks()

protected getUndefinedTokenParserCallbacks() : Warning: Array to string conversion in C:\xampp\htdocs\vendor\phpdocumentor\phpdocumentor\src\phpDocumentor\Transformer\Writer\Twig\LinkRenderer\CallableAdapter.php on line 78 array<string|int, callable(string): Array>
Return values
Warning: Array to string conversion in C:\xampp\htdocs\vendor\phpdocumentor\phpdocumentor\src\phpDocumentor\Transformer\Writer\Twig\LinkRenderer\CallableAdapter.php on line 78 array<string|int, callable(string): Array>

parseTemplates()

protected static parseTemplates(mixed $test) : array<string, string>
Parameters
$test : mixed
Return values
array<string, string>

        
On this page

Search results