Documentation

PHPConsoleHandlerTest extends TestCase
in package

Tags
covers
author

Sergey Barbushin https://www.linkedin.com/in/barbushin

Table of Contents

$connector  : Connector|PHPUnit_Framework_MockObject_MockObject
$debugDispatcher  : Debug|PHPUnit_Framework_MockObject_MockObject
$errorDispatcher  : Errors|PHPUnit_Framework_MockObject_MockObject
provideConnectorMethodsOptionsSets()  : mixed
provideDumperOptionsValues()  : mixed
testDebug()  : mixed
testDebugContextInMessage()  : mixed
testDebugTags()  : mixed
testDumperOptions()  : mixed
testError()  : mixed
testException()  : mixed
testInitWithCustomConnector()  : mixed
testInitWithDefaultConnector()  : mixed
testOptionCallsConnectorMethod()  : mixed
testOptionClassesPartialsTraceIgnore()  : mixed
testOptionDebugTagsKeysInContext()  : mixed
testOptionDetectDumpTraceAndSource()  : mixed
testOptionEnabled()  : mixed
testOptionUseOwnErrorsAndExceptionsHandler()  : mixed
testWrongOptionsThrowsException()  : mixed
getHandlerDefaultOption()  : mixed
getIdentityFormatter()  : FormatterInterface
getMultipleRecords()  : array<string|int, mixed>
getRecord()  : array<string|int, mixed>
initConnectorMock()  : mixed
initDebugDispatcherMock()  : mixed
initErrorDispatcherMock()  : mixed
initLogger()  : mixed
setUp()  : mixed

Properties

Methods

provideConnectorMethodsOptionsSets()

public static provideConnectorMethodsOptionsSets() : mixed
Return values
mixed

provideDumperOptionsValues()

public static provideDumperOptionsValues() : mixed
Return values
mixed

testDebugContextInMessage()

public testDebugContextInMessage() : mixed
Return values
mixed

testDebugTags()

public testDebugTags([mixed $tagsContextKeys = null ]) : mixed
Parameters
$tagsContextKeys : mixed = null
Return values
mixed

testDumperOptions()

public testDumperOptions(mixed $option, mixed $dumperProperty, mixed $value) : mixed
Parameters
$option : mixed
$dumperProperty : mixed
$value : mixed
Tags
dataProvider

provideDumperOptionsValues

Return values
mixed

testError()

public testError([mixed $classesPartialsTraceIgnore = null ]) : mixed
Parameters
$classesPartialsTraceIgnore : mixed = null
Return values
mixed

testInitWithCustomConnector()

public testInitWithCustomConnector() : mixed
Return values
mixed

testInitWithDefaultConnector()

public testInitWithDefaultConnector() : mixed
Return values
mixed

testOptionCallsConnectorMethod()

public testOptionCallsConnectorMethod(mixed $option, mixed $method, mixed $value[, mixed $isArgument = true ]) : mixed
Parameters
$option : mixed
$method : mixed
$value : mixed
$isArgument : mixed = true
Tags
dataProvider

provideConnectorMethodsOptionsSets

Return values
mixed

testOptionClassesPartialsTraceIgnore()

public testOptionClassesPartialsTraceIgnore() : mixed
Return values
mixed

testOptionDebugTagsKeysInContext()

public testOptionDebugTagsKeysInContext() : mixed
Return values
mixed

testOptionDetectDumpTraceAndSource()

public testOptionDetectDumpTraceAndSource() : mixed
Return values
mixed

testOptionUseOwnErrorsAndExceptionsHandler()

public testOptionUseOwnErrorsAndExceptionsHandler() : mixed
Return values
mixed

testWrongOptionsThrowsException()

public testWrongOptionsThrowsException() : mixed
Tags
expectedException

Exception

Return values
mixed

getHandlerDefaultOption()

protected getHandlerDefaultOption(mixed $name) : mixed
Parameters
$name : mixed
Return values
mixed

getIdentityFormatter()

protected getIdentityFormatter() : FormatterInterface
Return values
FormatterInterface

getMultipleRecords()

protected getMultipleRecords() : array<string|int, mixed>
Return values
array<string|int, mixed>

getRecord()

protected getRecord([mixed $level = Logger::WARNING ][, mixed $message = 'test' ][, mixed $context = array() ]) : array<string|int, mixed>
Parameters
$level : mixed = Logger::WARNING
$message : mixed = 'test'
$context : mixed = array()
Return values
array<string|int, mixed>

Record

initDebugDispatcherMock()

protected initDebugDispatcherMock(Connector $connector) : mixed
Parameters
$connector : Connector
Return values
mixed

initErrorDispatcherMock()

protected initErrorDispatcherMock(Connector $connector) : mixed
Parameters
$connector : Connector
Return values
mixed

initLogger()

protected initLogger([mixed $handlerOptions = array() ][, mixed $level = Logger::DEBUG ]) : mixed
Parameters
$handlerOptions : mixed = array()
$level : mixed = Logger::DEBUG
Return values
mixed

Search results