PHP Class MessagePack\Tests\Unit\BufferUnpackerTest

Inheritance: extends PHPUnit_Framework_TestCase, use trait TransformerUtils
Show file Open project: rybakit/msgpack.php

Public Methods

Method Description
provideInsufficientData ( )
testBadKeyTypeIsIgnored ( )
testBadKeyTypeThrowsWarning ( )
testReset ( )
testResetWithBuffer ( )
testSetGetIntOverflowMode ( )
testSetGetTransformers ( )
testSetIntOverflowModeThrowsException ( )
testTryUnpack ( )
testTryUnpackReturnsAllUnpackedData ( )
testTryUnpackTruncatesBuffer ( )
testUnknownCodeThrowsException ( )
testUnpack ( $title, $raw, $packed )
testUnpackCustomType ( )
testUnpackInsufficientData ( $data, $expectedLength, $actualLength )
testUnpackUint64AsGmp ( )
testUnpackUint64AsString ( )
testUnpackUint64ThrowsException ( )

Protected Methods

Method Description
setUp ( )

Method Details

provideInsufficientData() public method

setUp() protected method

protected setUp ( )

testBadKeyTypeIsIgnored() public method

testBadKeyTypeThrowsWarning() public method

testReset() public method

public testReset ( )

testResetWithBuffer() public method

public testResetWithBuffer ( )

testSetGetIntOverflowMode() public method

testSetGetTransformers() public method

testSetIntOverflowModeThrowsException() public method

testTryUnpack() public method

public testTryUnpack ( )

testTryUnpackReturnsAllUnpackedData() public method

testTryUnpackTruncatesBuffer() public method

testUnknownCodeThrowsException() public method

testUnpack() public method

public testUnpack ( $title, $raw, $packed )

testUnpackCustomType() public method

testUnpackInsufficientData() public method

public testUnpackInsufficientData ( $data, $expectedLength, $actualLength )

testUnpackUint64AsGmp() public method

testUnpackUint64AsString() public method

testUnpackUint64ThrowsException() public method