Projekt

Allgemein

Profil

Feature #539

Von Maximilian Seesslen vor 5 Monaten aktualisiert

Instantiate server. When an differen Port is used, the test can be run while other software runs.

Instantiate client A (localhost). A.
Instantiate client B (localhost). B.

connect A-s Input-Signal to a function.
connect B-s Input-Signal to a function.

Send message through A, check if B is receiving it, A not.
Send message through B, check if A is receiving it, B not.

Implement it as a test client class. Client expects something like an counter.
In the unit test, check if there were no errors. CAN-FD supports 64 Bytes.
Check for different sizes also.

client.expectSize(4);
client.expectSender( ESenderA );

Am Ende muessen die erfolgreichen Packete ueberprueft werden.

Zurück