TYPO3CMS  8
 All Classes Namespaces Files Functions Variables Pages
IntrospectionProcessorTest Class Reference
Inheritance diagram for IntrospectionProcessorTest:
UnitTestCase BaseTestCase

Public Member Functions

 introspectionProcessorAddsLastBacktraceItemToLogRecord ()
 
 introspectionProcessorShiftsLogRelatedFunctionsFromBacktrace ()
 
 introspectionProcessorShiftsGivenNumberOfEntriesFromBacktraceDataProvider ()
 
 introspectionProcessorShiftsGivenNumberOfEntriesFromBacktrace ($number)
 
 introspectionProcessorLeavesOneEntryIfGivenNumberOfEntriesFromBacktraceIsGreaterOrEqualNumberOfBacktraceLevels ()
 
 appendFullBacktraceAddsTheFullBacktraceAsStringToTheLog ()
 

Protected Member Functions

 setUp ()
 
- Protected Member Functions inherited from UnitTestCase
 tearDown ()
 
- Protected Member Functions inherited from BaseTestCase
 getAccessibleMock ($originalClassName, $methods=[], array $arguments=[], $mockClassName= '', $callOriginalConstructor=true, $callOriginalClone=true, $callAutoload=true)
 
 getAccessibleMockForAbstractClass ($originalClassName, array $arguments=[], $mockClassName= '', $callOriginalConstructor=true, $callOriginalClone=true, $callAutoload=true, $mockedMethods=[])
 
 buildAccessibleProxy ($className)
 
 callInaccessibleMethod ($object, $name,...$arguments)
 
 inject ($target, $name, $dependency)
 
 getUniqueId ($prefix= '')
 

Protected Attributes

 $processor
 
 $dummyBacktrace
 
- Protected Attributes inherited from UnitTestCase
 $backupGlobalsBlacklist = ['TYPO3_LOADED_EXT']
 
 $testFilesToDelete = []
 
- Protected Attributes inherited from BaseTestCase
 $backupGlobals = true
 
 $backupStaticAttributes = false
 

Detailed Description

Test case

Definition at line 20 of file IntrospectionProcessorTest.php.

Member Function Documentation

appendFullBacktraceAddsTheFullBacktraceAsStringToTheLog ( )
Test:

Definition at line 165 of file IntrospectionProcessorTest.php.

References LogLevel\DEBUG.

introspectionProcessorAddsLastBacktraceItemToLogRecord ( )
Test:

Definition at line 71 of file IntrospectionProcessorTest.php.

References LogLevel\DEBUG.

introspectionProcessorLeavesOneEntryIfGivenNumberOfEntriesFromBacktraceIsGreaterOrEqualNumberOfBacktraceLevels ( )
Test:

Definition at line 148 of file IntrospectionProcessorTest.php.

References LogLevel\DEBUG.

introspectionProcessorShiftsGivenNumberOfEntriesFromBacktrace (   $number)
Test:
introspectionProcessorShiftsGivenNumberOfEntriesFromBacktraceDataProvider

Definition at line 131 of file IntrospectionProcessorTest.php.

References LogLevel\DEBUG.

introspectionProcessorShiftsGivenNumberOfEntriesFromBacktraceDataProvider ( )

DataProvider for introspectionProcessorShiftsGivenNumberOfEntriesFromBacktrace

Definition at line 118 of file IntrospectionProcessorTest.php.

introspectionProcessorShiftsLogRelatedFunctionsFromBacktrace ( )
setUp ( )
protected

Sets up this testcase

Definition at line 60 of file IntrospectionProcessorTest.php.

References BaseTestCase\getAccessibleMock().

Member Data Documentation

$dummyBacktrace
protected
Initial value:
= [
[
'file' => '/foo/filename1.php',
'line' => 1

Definition at line 32 of file IntrospectionProcessorTest.php.

Referenced by IntrospectionProcessorTest\introspectionProcessorShiftsLogRelatedFunctionsFromBacktrace().

$processor
protected

Definition at line 25 of file IntrospectionProcessorTest.php.