IntegrationTestCase
extends TestCase
in package
AbstractYes
Integration test helper.
Tags
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
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
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
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
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 = ''
getExtensions()
protected
getExtensions() : array<string|int, ExtensionInterface>
Return values
array<string|int, ExtensionInterface>getFixturesDir()
protected
getFixturesDir() : string
since Twig 3.13, use getFixturesDirectory() instead.
Return values
stringgetFixturesDirectory()
protected
static getFixturesDirectory() : string
Return values
stringgetRuntimeLoaders()
protected
getRuntimeLoaders() : array<string|int, RuntimeLoaderInterface>
Return values
array<string|int, RuntimeLoaderInterface>getTwigFilters()
protected
getTwigFilters() : array<string|int, TwigFilter>
Return values
array<string|int, TwigFilter>getTwigFunctions()
protected
getTwigFunctions() : array<string|int, TwigFunction>
Return values
array<string|int, TwigFunction>getTwigTests()
protected
getTwigTests() : array<string|int, TwigTest>
Return values
array<string|int, TwigTest>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