FtlControlConnectionManager interface introduced to abstract callbacks from FtlControlConnection (such as ControlConnectionStopped, ControlConnectionRequestedHmacKey, etc. FtlServer implements this interface.
MockFtlControlConnectionManager introduced to facilitate unit testing of FtlControlConnection
MockConnectionTransport introduced to facilitate unit testing of any class that uses ConnectionTransport classes.
Various PCH/build changes to improve build of test binary
FtlControlConnectionUnitTests.cpp added with a simple text fixture and test case verifying the FTL connection handshake is processed correctly by FtlControlConnection
GitHub action added to run test binary for validation.
Introduces the following changes:
FtlControlConnectionManager
interface introduced to abstract callbacks fromFtlControlConnection
(such asControlConnectionStopped
,ControlConnectionRequestedHmacKey
, etc.FtlServer
implements this interface.MockFtlControlConnectionManager
introduced to facilitate unit testing ofFtlControlConnection
MockConnectionTransport
introduced to facilitate unit testing of any class that usesConnectionTransport
classes.FtlControlConnectionUnitTests.cpp
added with a simple text fixture and test case verifying the FTL connection handshake is processed correctly byFtlControlConnection