ILIAS  release_5-3 Revision v5.3.23-19-g915713cf615
Twig_Tests_IntegrationTest Class Reference
+ Inheritance diagram for Twig_Tests_IntegrationTest:
+ Collaboration diagram for Twig_Tests_IntegrationTest:

Public Member Functions

 getExtensions ()
 
 getFixturesDir ()
 
- Public Member Functions inherited from Twig_Test_IntegrationTestCase
 testIntegration ($file, $message, $condition, $templates, $exception, $outputs)
 @dataProvider getTests More...
 
 testLegacyIntegration ($file, $message, $condition, $templates, $exception, $outputs)
 @dataProvider getLegacyTests @group legacy More...
 
 getTests ($name, $legacyTests=false)
 
 getLegacyTests ()
 

Additional Inherited Members

- Protected Member Functions inherited from Twig_Test_IntegrationTestCase
 getFixturesDir ()
 
 getRuntimeLoaders ()
 
 getExtensions ()
 
 getTwigFilters ()
 
 getTwigFunctions ()
 
 getTwigTests ()
 
 doIntegrationTest ($file, $message, $condition, $templates, $exception, $outputs)
 
- Static Protected Member Functions inherited from Twig_Test_IntegrationTestCase
static parseTemplates ($test)
 

Detailed Description

Definition at line 19 of file IntegrationTest.php.

Member Function Documentation

◆ getExtensions()

Twig_Tests_IntegrationTest::getExtensions ( )
Returns
Twig_ExtensionInterface[]

Reimplemented from Twig_Test_IntegrationTestCase.

Definition at line 21 of file IntegrationTest.php.

22 {
23 $policy = new Twig_Sandbox_SecurityPolicy(array(), array(), array(), array(), array());
24
25 return array(
27 new Twig_Extension_Sandbox($policy, false),
30 );
31 }
Represents a security policy which need to be enforced when sandbox mode is enabled.

◆ getFixturesDir()

Twig_Tests_IntegrationTest::getFixturesDir ( )
Returns
string

Reimplemented from Twig_Test_IntegrationTestCase.

Definition at line 33 of file IntegrationTest.php.

34 {
35 return dirname(__FILE__).'/Fixtures/';
36 }

The documentation for this class was generated from the following file: