Documentation

NormalizerFormatterTest extends PHPUnit_Framework_TestCase
in package

Tags
covers

Table of Contents

providesDetectAndCleanUtf8()  : mixed
providesHandleJsonErrorFailure()  : mixed
tearDown()  : mixed
testBatchFormat()  : mixed
testCanNormalizeReferences()  : mixed
testConvertsInvalidEncodingAsLatin9()  : mixed
testDetectAndCleanUtf8()  : mixed
testExceptionTraceDoesNotLeakCallUserFuncArgs()  : mixed
testExceptionTraceWithArgs()  : mixed
testFormat()  : mixed
testFormatExceptions()  : mixed
testFormatSoapFaultException()  : mixed
testFormatToStringExceptionHandle()  : mixed
testHandleJsonErrorFailure()  : mixed
testIgnoresInvalidTypes()  : mixed
testIgnoresRecursiveObjectReferences()  : mixed
Test issue #137
testNormalizeHandleLargeArrays()  : mixed
testNormalizeHandleLargeArraysWithExactly1000Items()  : mixed
testThrowsOnInvalidEncoding()  : mixed
throwHelper()  : mixed

Methods

providesHandleJsonErrorFailure()

public providesHandleJsonErrorFailure() : mixed
Return values
mixed

testConvertsInvalidEncodingAsLatin9()

public testConvertsInvalidEncodingAsLatin9() : mixed
Return values
mixed

testDetectAndCleanUtf8()

public testDetectAndCleanUtf8(mixed $in, mixed $expect) : mixed
Parameters
$in : mixed

Input

$expect : mixed

Expected output

Tags
covers
dataProvider

providesDetectAndCleanUtf8

Return values
mixed

testExceptionTraceDoesNotLeakCallUserFuncArgs()

public testExceptionTraceDoesNotLeakCallUserFuncArgs() : mixed
Return values
mixed

testFormatSoapFaultException()

public testFormatSoapFaultException() : mixed
Return values
mixed

testFormatToStringExceptionHandle()

public testFormatToStringExceptionHandle() : mixed
Return values
mixed

testHandleJsonErrorFailure()

public testHandleJsonErrorFailure(int $code, string $msg) : mixed
Parameters
$code : int
$msg : string
Tags
dataProvider

providesHandleJsonErrorFailure

Return values
mixed

testIgnoresRecursiveObjectReferences()

Test issue #137

public testIgnoresRecursiveObjectReferences() : mixed
Return values
mixed

testNormalizeHandleLargeArrays()

public testNormalizeHandleLargeArrays() : mixed
Return values
mixed

testNormalizeHandleLargeArraysWithExactly1000Items()

public testNormalizeHandleLargeArraysWithExactly1000Items() : mixed
Return values
mixed

testThrowsOnInvalidEncoding()

public testThrowsOnInvalidEncoding() : mixed
Tags
expectedException

RuntimeException

Return values
mixed

throwHelper()

private throwHelper(mixed $arg) : mixed
Parameters
$arg : mixed
Return values
mixed

Search results