FAForever / server

The servercode for the Forged Alliance Forever lobby
http://www.faforever.com
GNU General Public License v3.0
67 stars 62 forks source link

Adjust end to end tests to support websocket infrastructure #987

Closed Askaholic closed 9 months ago

Askaholic commented 9 months ago

Since we added the websocket proxy, the end to end test suite stopped working. This adds support for websockets and also names the end to end test folder e2e_tests to distinguish it from the 'integration' tests in the unit test folder.

These changes required a small refactor to the protocol classes to be able to decode messages from bytes objects directly rather than requiring them to be read from the StreamReader.