PHP Class Kraken\_Module\Channel\ChannelModelTest

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

Public Methods

Method Description
createModel ( mixed $data, Kraken\Loop\LoopInterface $loop ) : Kraken\Channel\ChannelModelInterface
getSocketData ( ) : mixed[][]
getZmqData ( ) : mixed[][]
modelProvider ( ) : string[][]
setUp ( )
testChannelModel_AllowsReconnections_InThreesome ( $data )
testChannelModel_ConnectsEvenInWrongOrder ( $data )
testChannelModel_DoesNotAllowStartingMultipleTimesInRow ( $data )
testChannelModel_DoesNotAllowStoppingMultipleTimesInRow ( $data )
testChannelModel_EmitsConnectAndDisconnectEvents_InThreesome ( $data )
testChannelModel_EmitsRecvAndSendEvents_InPair ( $data )
testChannelModel_IsAwareOfConnectedModels_InThreesome ( $data )
testChannelModel_IsAwareOfItsOwnConnection ( $data )
testChannelModel_SendsAndReceivesDataCorrectlyThroughBroadcast_InThreesomeWithoutBuffer ( $data )
testChannelModel_SendsAndReceivesDataCorrectlyThroughUnicast_InPairWithBuffer ( $data )
testChannelModel_SendsAndReceivesDataCorrectlyThroughUnicast_InPairWithOfflineBuffer ( $data )
testChannelModel_SendsAndReceivesDataCorrectlyThroughUnicast_InPairWithOnlineBuffer ( $data )
testChannelModel_SendsAndReceivesDataCorrectlyThroughUnicast_InPairWithoutBuffer ( $data )

Method Details

createModel() public method

public createModel ( mixed $data, Kraken\Loop\LoopInterface $loop ) : Kraken\Channel\ChannelModelInterface
$data mixed
$loop Kraken\Loop\LoopInterface
return Kraken\Channel\ChannelModelInterface

getSocketData() public method

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

getZmqData() public method

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

modelProvider() public method

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

setUp() public method

public setUp ( )

testChannelModel_AllowsReconnections_InThreesome() public method

testChannelModel_ConnectsEvenInWrongOrder() public method

testChannelModel_DoesNotAllowStartingMultipleTimesInRow() public method

testChannelModel_DoesNotAllowStoppingMultipleTimesInRow() public method

testChannelModel_EmitsConnectAndDisconnectEvents_InThreesome() public method

testChannelModel_EmitsRecvAndSendEvents_InPair() public method

testChannelModel_IsAwareOfConnectedModels_InThreesome() public method

testChannelModel_IsAwareOfItsOwnConnection() public method

testChannelModel_SendsAndReceivesDataCorrectlyThroughBroadcast_InThreesomeWithoutBuffer() public method

testChannelModel_SendsAndReceivesDataCorrectlyThroughUnicast_InPairWithBuffer() public method

testChannelModel_SendsAndReceivesDataCorrectlyThroughUnicast_InPairWithOfflineBuffer() public method

testChannelModel_SendsAndReceivesDataCorrectlyThroughUnicast_InPairWithOnlineBuffer() public method

testChannelModel_SendsAndReceivesDataCorrectlyThroughUnicast_InPairWithoutBuffer() public method