Twig_Tests_Extension_SandboxTest
extends TestCase
in package
Table of Contents
- $params : mixed
- $templates : mixed
- getSandboxAllowedToStringTests() : mixed
- getSandboxUnallowedToStringTests() : mixed
- testMacrosInASandbox() : mixed
- testSandboxAllowedToString() : mixed
- testSandboxAllowFilter() : mixed
- testSandboxAllowFunction() : mixed
- testSandboxAllowFunctionsCaseInsensitive() : mixed
- testSandboxAllowMethodFoo() : mixed
- testSandboxAllowMethodToString() : mixed
- testSandboxAllowMethodToStringDisabled() : mixed
- testSandboxAllowProperty() : mixed
- testSandboxAllowRangeOperator() : mixed
- testSandboxAllowTag() : mixed
- testSandboxDisabledAfterIncludeFunctionError() : mixed
- testSandboxGloballySet() : mixed
- testSandboxLocallySetForAnInclude() : mixed
- testSandboxUnallowedFilter() : mixed
- testSandboxUnallowedFunction() : mixed
- testSandboxUnallowedMethodAccessor() : mixed
- testSandboxUnallowedProperty() : mixed
- testSandboxUnallowedRangeOperator() : mixed
- testSandboxUnallowedTag() : mixed
- testSandboxUnallowedToString() : mixed
- testSandboxWithInheritance() : mixed
- getEnvironment() : mixed
- setUp() : mixed
Properties
$params
protected
static mixed
$params
$templates
protected
static mixed
$templates
Methods
getSandboxAllowedToStringTests()
public
getSandboxAllowedToStringTests() : mixed
Return values
mixed —getSandboxUnallowedToStringTests()
public
getSandboxUnallowedToStringTests() : mixed
Return values
mixed —testMacrosInASandbox()
public
testMacrosInASandbox() : mixed
Return values
mixed —testSandboxAllowedToString()
public
testSandboxAllowedToString(mixed $template, mixed $output) : mixed
Parameters
- $template : mixed
- $output : mixed
Tags
Return values
mixed —testSandboxAllowFilter()
public
testSandboxAllowFilter() : mixed
Return values
mixed —testSandboxAllowFunction()
public
testSandboxAllowFunction() : mixed
Return values
mixed —testSandboxAllowFunctionsCaseInsensitive()
public
testSandboxAllowFunctionsCaseInsensitive() : mixed
Return values
mixed —testSandboxAllowMethodFoo()
public
testSandboxAllowMethodFoo() : mixed
Return values
mixed —testSandboxAllowMethodToString()
public
testSandboxAllowMethodToString() : mixed
Return values
mixed —testSandboxAllowMethodToStringDisabled()
public
testSandboxAllowMethodToStringDisabled() : mixed
Return values
mixed —testSandboxAllowProperty()
public
testSandboxAllowProperty() : mixed
Return values
mixed —testSandboxAllowRangeOperator()
public
testSandboxAllowRangeOperator() : mixed
Return values
mixed —testSandboxAllowTag()
public
testSandboxAllowTag() : mixed
Return values
mixed —testSandboxDisabledAfterIncludeFunctionError()
public
testSandboxDisabledAfterIncludeFunctionError() : mixed
Return values
mixed —testSandboxGloballySet()
public
testSandboxGloballySet() : mixed
Return values
mixed —testSandboxLocallySetForAnInclude()
public
testSandboxLocallySetForAnInclude() : mixed
Return values
mixed —testSandboxUnallowedFilter()
public
testSandboxUnallowedFilter() : mixed
Return values
mixed —testSandboxUnallowedFunction()
public
testSandboxUnallowedFunction() : mixed
Return values
mixed —testSandboxUnallowedMethodAccessor()
public
testSandboxUnallowedMethodAccessor() : mixed
Return values
mixed —testSandboxUnallowedProperty()
public
testSandboxUnallowedProperty() : mixed
Return values
mixed —testSandboxUnallowedRangeOperator()
public
testSandboxUnallowedRangeOperator() : mixed
Return values
mixed —testSandboxUnallowedTag()
public
testSandboxUnallowedTag() : mixed
Return values
mixed —testSandboxUnallowedToString()
public
testSandboxUnallowedToString(mixed $template) : mixed
Parameters
- $template : mixed
Tags
Return values
mixed —testSandboxWithInheritance()
public
testSandboxWithInheritance() : mixed
Tags
Return values
mixed —getEnvironment()
protected
getEnvironment(mixed $sandboxed, mixed $options, mixed $templates[, mixed $tags = [] ][, mixed $filters = [] ][, mixed $methods = [] ][, mixed $properties = [] ][, mixed $functions = [] ]) : mixed
Parameters
- $sandboxed : mixed
- $options : mixed
- $templates : mixed
- $tags : mixed = []
- $filters : mixed = []
- $methods : mixed = []
- $properties : mixed = []
- $functions : mixed = []
Return values
mixed —setUp()
protected
setUp() : mixed