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
MemoryPeakUsageProcessorTest.php
Go to the documentation of this file.
1
<?php
2
namespace
TYPO3\CMS\Core\Tests\Unit\Log\Processor
;
3
22
class
MemoryPeakUsageProcessorTest
extends
\TYPO3\CMS\Core\Tests\UnitTestCase
{
23
27
public
function
memoryPeakUsagePRocessorAddsMemoryPeakUsageDataToLogRecord
() {
28
$logRecord = new \TYPO3\CMS\Core\Log\LogRecord(
'test.core.log'
, \
TYPO3
\CMS\Core\Log\LogLevel::DEBUG,
'test'
);
29
$processor = new \TYPO3\CMS\Core\Log\Processor\MemoryPeakUsageProcessor();
30
$logRecord = $processor->processLogRecord($logRecord);
31
$this->assertArrayHasKey(
'memoryPeakUsage'
, $logRecord[
'data'
]);
32
}
33
34
}
TYPO3
TYPO3\CMS\Core\Tests\Unit\Log\Processor
Definition:
AbstractMemoryTest.php:2
TYPO3\CMS\Core\Tests\Unit\Log\Processor\MemoryPeakUsageProcessorTest
Definition:
MemoryPeakUsageProcessorTest.php:22
TYPO3\CMS\Core\Tests\Unit\Log\Processor\MemoryPeakUsageProcessorTest\memoryPeakUsagePRocessorAddsMemoryPeakUsageDataToLogRecord
memoryPeakUsagePRocessorAddsMemoryPeakUsageDataToLogRecord()
Definition:
MemoryPeakUsageProcessorTest.php:27
TYPO3\CMS\Core\Tests\UnitTestCase
Definition:
UnitTestCase.php:26
typo3
sysext
core
Tests
Unit
Log
Processor
MemoryPeakUsageProcessorTest.php
Generated on Wed Aug 7 2019 09:52:23 for TYPO3 CMS by
1.8.13