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)
 getTests More...
 
 testLegacyIntegration ($file, $message, $condition, $templates, $exception, $outputs)
 getLegacyTests 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 ( )

Definition at line 21 of file IntegrationTest.php.

References array.

22  {
23  $policy = new Twig_Sandbox_SecurityPolicy(array(), array(), array(), array(), array());
24 
25  return array(
27  new Twig_Extension_Sandbox($policy, false),
29  new TwigTestExtension(),
30  );
31  }
Create styles array
The data for the language used.
Represents a security policy which need to be enforced when sandbox mode is enabled.

◆ getFixturesDir()

Twig_Tests_IntegrationTest::getFixturesDir ( )

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: