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
BackendLayoutTest.php
Go to the documentation of this file.
1
<?php
2
namespace
TYPO3\CMS\Backend\Tests\Unit\View\BackendLayout
;
3
22
class
BackendLayoutTest
extends
\TYPO3\CMS\Core\Tests\UnitTestCase
{
23
28
public
function
invalidIdentifierIsRecognizedOnCreation
() {
29
$identifier = $this->
getUniqueId
(
'identifier__'
);
30
$title = $this->
getUniqueId
(
'title'
);
31
$configuration = $this->
getUniqueId
(
'configuration'
);
32
new \TYPO3\CMS\Backend\View\BackendLayout\BackendLayout($identifier, $title, $configuration);
33
}
34
38
public
function
objectIsCreated
() {
39
$identifier = $this->
getUniqueId
(
'identifier'
);
40
$title = $this->
getUniqueId
(
'title'
);
41
$configuration = $this->
getUniqueId
(
'configuration'
);
42
$backendLayout = new \TYPO3\CMS\Backend\View\BackendLayout\BackendLayout($identifier, $title, $configuration);
43
44
$this->assertEquals($identifier, $backendLayout->getIdentifier());
45
$this->assertEquals($title, $backendLayout->getTitle());
46
$this->assertEquals($configuration, $backendLayout->getConfiguration());
47
}
48
49
}
TYPO3\CMS\Backend\Tests\Unit\View\BackendLayout
Definition:
BackendLayoutCollectionTest.php:2
TYPO3\CMS\Core\Tests\BaseTestCase\getUniqueId
getUniqueId($prefix='')
Definition:
BaseTestCase.php:279
TYPO3\CMS\Backend\Tests\Unit\View\BackendLayout\BackendLayoutTest\objectIsCreated
objectIsCreated()
Definition:
BackendLayoutTest.php:38
TYPO3\CMS\Core\Tests\UnitTestCase
Definition:
UnitTestCase.php:26
TYPO3\CMS\Backend\Tests\Unit\View\BackendLayout\BackendLayoutTest
Definition:
BackendLayoutTest.php:22
TYPO3\CMS\Backend\Tests\Unit\View\BackendLayout\BackendLayoutTest\invalidIdentifierIsRecognizedOnCreation
invalidIdentifierIsRecognizedOnCreation()
Definition:
BackendLayoutTest.php:28
typo3
sysext
backend
Tests
Unit
View
BackendLayout
BackendLayoutTest.php
Generated on Wed Aug 7 2019 09:52:19 for TYPO3 CMS by
1.8.13