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
▼
TYPO3 CMS
TYPO3 CMS
Test List
Todo List
Deprecated List
►
Namespace Members
►
Classes
▼
Files
►
File List
►
File Members
►
Examples
•
All
Classes
Namespaces
Files
Functions
Variables
Pages
TypoScriptFactoryTest.php
Go to the documentation of this file.
1
<?php
2
namespace
TYPO3\CMS\Form\Tests\Unit\Domain\Factory
;
3
20
class
TypoScriptFactoryTest
extends
\TYPO3\CMS\Core\Tests\UnitTestCase
{
21
25
protected
$subject
;
26
27
public
function
setUp
() {
28
$this->subject = new \TYPO3\CMS\Form\Domain\Factory\TypoScriptFactory();
29
}
30
34
public
function
stdWrapIsAppliedToElementValue
() {
35
$input = array(
36
'value'
=>
'something'
,
37
'value.'
=> array(
38
'wrap'
=>
'ABC|DEF'
39
)
40
);
41
$inputStdWrapped =
'ABCsomethingDEF'
;
42
43
$element = $this->subject->createElement(
'textline'
, $input);
44
45
$this->assertSame(
46
$inputStdWrapped,
47
$element->getValue()
48
);
49
}
50
}
TYPO3\CMS\Form\Tests\Unit\Domain\Factory\TypoScriptFactoryTest\stdWrapIsAppliedToElementValue
stdWrapIsAppliedToElementValue()
Definition:
TypoScriptFactoryTest.php:34
TYPO3\CMS\Form\Tests\Unit\Domain\Factory\TypoScriptFactoryTest\$subject
$subject
Definition:
TypoScriptFactoryTest.php:25
TYPO3\CMS\Form\Tests\Unit\Domain\Factory
Definition:
TypoScriptFactoryTest.php:2
TYPO3\CMS\Form\Tests\Unit\Domain\Factory\TypoScriptFactoryTest\setUp
setUp()
Definition:
TypoScriptFactoryTest.php:27
TYPO3\CMS\Core\Tests\UnitTestCase
Definition:
UnitTestCase.php:26
TYPO3\CMS\Form\Tests\Unit\Domain\Factory\TypoScriptFactoryTest
Definition:
TypoScriptFactoryTest.php:20
typo3
sysext
form
Tests
Unit
Domain
Factory
TypoScriptFactoryTest.php
Generated on Wed Aug 7 2019 09:52:27 for TYPO3 CMS by
1.8.13