PHP Class Kraken\_Module\Channel\ChannelModelTest

Inheritance: extends Kraken\Test\TModule
Afficher le fichier Open project: kraken-php/framework

Méthodes publiques

Méthode 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 méthode

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

getSocketData() public méthode

public getSocketData ( ) : mixed[][]
Résultat mixed[][]

getZmqData() public méthode

public getZmqData ( ) : mixed[][]
Résultat mixed[][]

modelProvider() public méthode

public modelProvider ( ) : string[][]
Résultat string[][]

setUp() public méthode

public setUp ( )

testChannelModel_AllowsReconnections_InThreesome() public méthode

testChannelModel_ConnectsEvenInWrongOrder() public méthode

testChannelModel_DoesNotAllowStartingMultipleTimesInRow() public méthode

testChannelModel_DoesNotAllowStoppingMultipleTimesInRow() public méthode

testChannelModel_EmitsConnectAndDisconnectEvents_InThreesome() public méthode

testChannelModel_EmitsRecvAndSendEvents_InPair() public méthode

testChannelModel_IsAwareOfConnectedModels_InThreesome() public méthode

testChannelModel_IsAwareOfItsOwnConnection() public méthode

testChannelModel_SendsAndReceivesDataCorrectlyThroughBroadcast_InThreesomeWithoutBuffer() public méthode

testChannelModel_SendsAndReceivesDataCorrectlyThroughUnicast_InPairWithBuffer() public méthode

testChannelModel_SendsAndReceivesDataCorrectlyThroughUnicast_InPairWithOfflineBuffer() public méthode

testChannelModel_SendsAndReceivesDataCorrectlyThroughUnicast_InPairWithOnlineBuffer() public méthode

testChannelModel_SendsAndReceivesDataCorrectlyThroughUnicast_InPairWithoutBuffer() public méthode