PHP Class Kraken\_Module\Channel\ChannelTest

Inheritance: extends Kraken\Test\TModule
Datei anzeigen Open project: kraken-php/framework

Public Methods

Method Description
createChannel ( mixed $data, Kraken\Loop\LoopInterface $loop ) : Kraken\Channel\ChannelInterface
getSocketData ( ) : mixed[][]
getZmqData ( ) : mixed[][]
modelProvider ( ) : string[][]
testChannel_EmitsConnectAndDisconnectEvents_InThreesome ( $data )
testChannel_EmitsInputAndOutputEvents_InPair ( $data )
testChannel_PushesAndReceivesData_InPairWithBuffer ( $data )
testChannel_PushesAndReceivesData_InPairWithOfflineBuffer ( $data )
testChannel_PushesAndReceivesData_InPairWithOnlineBuffer ( $data )
testChannel_PushesAndReceivesData_InPairWithoutBuffer ( $data )
testChannel_SendsAndReceivesData_InPairWithBuffer ( $data )
testChannel_SendsAndReceivesData_InPairWithOfflineBuffer ( $data )
testChannel_SendsAndReceivesData_InPairWithOnlineBuffer ( $data )
testChannel_SendsAndReceivesData_InPairWithoutBuffer ( $data )

Method Details

createChannel() public method

public createChannel ( mixed $data, Kraken\Loop\LoopInterface $loop ) : Kraken\Channel\ChannelInterface
$data mixed
$loop Kraken\Loop\LoopInterface
return Kraken\Channel\ChannelInterface

getSocketData() public method

public getSocketData ( ) : mixed[][]
return mixed[][]

getZmqData() public method

public getZmqData ( ) : mixed[][]
return mixed[][]

modelProvider() public method

public modelProvider ( ) : string[][]
return string[][]

testChannel_EmitsConnectAndDisconnectEvents_InThreesome() public method

testChannel_EmitsInputAndOutputEvents_InPair() public method

testChannel_PushesAndReceivesData_InPairWithBuffer() public method

testChannel_PushesAndReceivesData_InPairWithOfflineBuffer() public method

testChannel_PushesAndReceivesData_InPairWithOnlineBuffer() public method

testChannel_PushesAndReceivesData_InPairWithoutBuffer() public method

testChannel_SendsAndReceivesData_InPairWithBuffer() public method

testChannel_SendsAndReceivesData_InPairWithOfflineBuffer() public method

testChannel_SendsAndReceivesData_InPairWithOnlineBuffer() public method

testChannel_SendsAndReceivesData_InPairWithoutBuffer() public method