Documentation

LoggerTest extends PHPUnit_Framework_TestCase
in package

Table of Contents

logMethodProvider()  : mixed
setTimezoneProvider()  : mixed
testBadExceptionHandlerType()  : mixed
testBubblingWhenTheHandlerReturnsFalse()  : mixed
testChannel()  : mixed
testConvertPSR3ToMonologLevel()  : mixed
testCustomHandleException()  : mixed
testDefaultHandleException()  : mixed
testGetLevelName()  : mixed
testGetLevelNameThrows()  : mixed
testGetName()  : mixed
testHandlersInCtor()  : mixed
testHandlersNotCalledBeforeFirstHandling()  : mixed
testHandlersNotCalledBeforeFirstHandlingWithAssocArray()  : mixed
testIsHandling()  : mixed
testLog()  : mixed
testLogMethods()  : mixed
testLogNotHandled()  : mixed
testNotBubblingWhenTheHandlerReturnsTrue()  : mixed
testProcessorsAreCalledOnlyOnce()  : mixed
testProcessorsAreExecuted()  : mixed
testProcessorsInCtor()  : mixed
testProcessorsNotCalledWhenNotHandled()  : mixed
testPushPopHandler()  : mixed
testPushPopProcessor()  : mixed
testPushProcessorWithNonCallable()  : mixed
testReset()  : mixed
testSetExceptionHandler()  : mixed
testSetHandlers()  : mixed
testSetTimezone()  : mixed
testUseMicrosecondTimestamps()  : mixed
testWithName()  : mixed
useMicrosecondTimestampsProvider()  : mixed

Methods

logMethodProvider()

public logMethodProvider() : mixed
Return values
mixed

setTimezoneProvider()

public setTimezoneProvider() : mixed
Return values
mixed

testBadExceptionHandlerType()

public testBadExceptionHandlerType() : mixed
Tags
covers
expectedException

InvalidArgumentException

Return values
mixed

testBubblingWhenTheHandlerReturnsFalse()

public testBubblingWhenTheHandlerReturnsFalse() : mixed
Tags
covers
Return values
mixed

testChannel()

public testChannel() : mixed
Tags
covers
Return values
mixed

testConvertPSR3ToMonologLevel()

public testConvertPSR3ToMonologLevel() : mixed
Tags
covers
Return values
mixed

testCustomHandleException()

public testCustomHandleException() : mixed
Tags
covers
covers
Return values
mixed

testDefaultHandleException()

public testDefaultHandleException() : mixed
Tags
covers
expectedException

Exception

Return values
mixed

testGetLevelName()

public testGetLevelName() : mixed
Tags
covers
Return values
mixed

testGetLevelNameThrows()

public testGetLevelNameThrows() : mixed
Tags
covers
expectedException

InvalidArgumentException

Return values
mixed

testGetName()

public testGetName() : mixed
Tags
covers
Return values
mixed

testHandlersInCtor()

public testHandlersInCtor() : mixed
Return values
mixed

testHandlersNotCalledBeforeFirstHandling()

public testHandlersNotCalledBeforeFirstHandling() : mixed
Tags
covers
Return values
mixed

testHandlersNotCalledBeforeFirstHandlingWithAssocArray()

public testHandlersNotCalledBeforeFirstHandlingWithAssocArray() : mixed
Tags
covers
Return values
mixed

testIsHandling()

public testIsHandling() : mixed
Tags
covers
Return values
mixed

testLog()

public testLog() : mixed
Tags
covers
Return values
mixed

testLogMethods()

public testLogMethods(mixed $method, mixed $expectedLevel) : mixed
Parameters
$method : mixed
$expectedLevel : mixed
Tags
dataProvider

logMethodProvider

covers
covers
covers
covers
covers
covers
covers
covers
covers
covers
covers
covers
covers
covers
covers
covers
Return values
mixed

testLogNotHandled()

public testLogNotHandled() : mixed
Tags
covers
Return values
mixed

testNotBubblingWhenTheHandlerReturnsTrue()

public testNotBubblingWhenTheHandlerReturnsTrue() : mixed
Tags
covers
Return values
mixed

testProcessorsAreCalledOnlyOnce()

public testProcessorsAreCalledOnlyOnce() : mixed
Tags
covers
Return values
mixed

testProcessorsAreExecuted()

public testProcessorsAreExecuted() : mixed
Tags
covers
Return values
mixed

testProcessorsInCtor()

public testProcessorsInCtor() : mixed
Return values
mixed

testProcessorsNotCalledWhenNotHandled()

public testProcessorsNotCalledWhenNotHandled() : mixed
Tags
covers
Return values
mixed

testPushPopHandler()

public testPushPopHandler() : mixed
Tags
covers
covers
expectedException

LogicException

Return values
mixed

testPushPopProcessor()

public testPushPopProcessor() : mixed
Tags
covers
covers
expectedException

LogicException

Return values
mixed

testPushProcessorWithNonCallable()

public testPushProcessorWithNonCallable() : mixed
Tags
covers
expectedException

InvalidArgumentException

Return values
mixed

testReset()

public testReset() : mixed
Return values
mixed

testSetExceptionHandler()

public testSetExceptionHandler() : mixed
Tags
covers
Return values
mixed

testSetHandlers()

public testSetHandlers() : mixed
Tags
covers
Return values
mixed

testSetTimezone()

public testSetTimezone(mixed $tz) : mixed
Parameters
$tz : mixed
Tags
dataProvider

setTimezoneProvider

covers
Return values
mixed

testUseMicrosecondTimestamps()

public testUseMicrosecondTimestamps(mixed $micro, mixed $assert) : mixed
Parameters
$micro : mixed
$assert : mixed
Tags
dataProvider

useMicrosecondTimestampsProvider

covers
covers
Return values
mixed

testWithName()

public testWithName() : mixed
Tags
covers
Return values
mixed

useMicrosecondTimestampsProvider()

public useMicrosecondTimestampsProvider() : mixed
Return values
mixed

Search results