TYPO3 CMS
TYPO3_6-2
Main Page
Related Pages
+
Classes
Class List
Class Index
Class Hierarchy
+
Class Members
+
All
$
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
+
Functions
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
+
Variables
$
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
r
s
t
u
v
w
+
Files
File List
+
File Members
+
All
$
(
_
a
c
d
e
f
h
i
l
o
p
r
s
t
u
x
+
Functions
_
a
c
d
e
f
i
l
o
p
r
s
u
x
+
Variables
$
(
_
a
d
e
h
i
p
r
s
t
Examples
•
All
Classes
Namespaces
Files
Functions
Variables
Pages
AbstractCompilerTemplateTest.php
Go to the documentation of this file.
1
<?php
2
namespace
TYPO3\CMS\Fluid\Tests\Unit\Core\Compiler
;
3
20
class
AbstractCompilerTemplateTest
extends
\TYPO3\CMS\Core\Tests\UnitTestCase
{
21
25
public
function
resolveDefaultEncodingWillBeSetToUtf8IfNotSet
() {
26
$this->assertSame(
'UTF-8'
, \
TYPO3
\CMS\
Fluid
\Core\Compiler\AbstractCompiledTemplate::resolveDefaultEncoding());
27
}
28
32
public
function
isDefaultEncodingIsSetThanDefaultEncodingWillReturned
() {
33
$className = $this->
getUniqueId
(
'AbstractCompiledTemplate'
);
34
$fullClassName =
'TYPO3\\CMS\\Fluid\\Core\\Compiler\\'
. $className;
35
eval(
36
'namespace TYPO3\\CMS\\Fluid\\Core\\Compiler;'
.
37
'abstract class '
. $className .
' extends AbstractCompiledTemplate {'
.
38
' static protected $defaultEncoding = \'ISO-8859-1\';'
.
39
'}'
40
);
41
$this->assertSame(
'ISO-8859-1'
, $fullClassName::resolveDefaultEncoding());
42
}
43
}
TYPO3\CMS\Fluid\Tests\Unit\Core\Compiler\AbstractCompilerTemplateTest
Definition:
AbstractCompilerTemplateTest.php:20
TYPO3\CMS\Fluid\Tests\Unit\Core\Compiler\AbstractCompilerTemplateTest\resolveDefaultEncodingWillBeSetToUtf8IfNotSet
resolveDefaultEncodingWillBeSetToUtf8IfNotSet()
Definition:
AbstractCompilerTemplateTest.php:25
TYPO3
TYPO3\CMS\Fluid\Tests\Unit\Core\Compiler\AbstractCompilerTemplateTest\isDefaultEncodingIsSetThanDefaultEncodingWillReturned
isDefaultEncodingIsSetThanDefaultEncodingWillReturned()
Definition:
AbstractCompilerTemplateTest.php:32
TYPO3\CMS\Core\Tests\BaseTestCase\getUniqueId
getUniqueId($prefix='')
Definition:
BaseTestCase.php:279
TYPO3\CMS\Fluid\Tests\Unit\Core\Compiler
Definition:
AbstractCompilerTemplateTest.php:2
TYPO3\CMS\Core\Tests\UnitTestCase
Definition:
UnitTestCase.php:26
TYPO3\CMS\Fluid\Fluid
Definition:
Fluid.php:16
typo3
sysext
fluid
Tests
Unit
Core
Compiler
AbstractCompilerTemplateTest.php
Generated on Wed Aug 7 2019 09:52:26 for TYPO3 CMS by
1.8.13