PHP Class React\Tests\Stream\StreamTest

Inheritance: extends React\Tests\Stream\TestCase
Afficher le fichier Open project: reactphp/stream

Méthodes publiques

Méthode Description
testBufferEventsShouldBubbleUp ( )
testClosingStreamInDataEventShouldNotTriggerError ( )
testConstructor ( )
testConstructorThrowsExceptionOnInvalidStream ( )
testDataErrorShouldEmitErrorAndClose ( )
testDataEvent ( )
testDataEventDoesEmitOneChunkMatchingBufferSize ( )
testDataEventDoesEmitOneChunkUntilStreamEndsWhenBufferSizeIsInfinite ( )
testDataFiltered ( )
testEmptyStreamShouldNotEmitData ( )
testEnd ( )
testWrite ( )

Private Methods

Méthode Description
createLoopMock ( )
createWriteableLoopMock ( )

Method Details

testBufferEventsShouldBubbleUp() public méthode

testClosingStreamInDataEventShouldNotTriggerError() public méthode

testConstructor() public méthode

public testConstructor ( )

testConstructorThrowsExceptionOnInvalidStream() public méthode

testDataErrorShouldEmitErrorAndClose() public méthode

testDataEvent() public méthode

public testDataEvent ( )

testDataEventDoesEmitOneChunkMatchingBufferSize() public méthode

testDataEventDoesEmitOneChunkUntilStreamEndsWhenBufferSizeIsInfinite() public méthode

testDataFiltered() public méthode

public testDataFiltered ( )

testEmptyStreamShouldNotEmitData() public méthode

testEnd() public méthode

public testEnd ( )

testWrite() public méthode

public testWrite ( )