mirror of
https://github.com/nasa/fprime.git
synced 2025-12-10 16:29:04 -06:00
* Correcting shutdown/close usage; refactoring TcpServer * Fixing Tcp * Review and CI fixes * ...and the other half of the fixes
32 lines
775 B
C++
32 lines
775 B
C++
// ----------------------------------------------------------------------
|
|
// TestMain.cpp
|
|
// ----------------------------------------------------------------------
|
|
|
|
#include "TcpClientTester.hpp"
|
|
|
|
|
|
TEST(Nominal, TcpClientBasicMessaging) {
|
|
Drv::TcpClientTester tester;
|
|
tester.test_basic_messaging();
|
|
}
|
|
|
|
TEST(Nominal, TcpClientBasicReceiveThread) {
|
|
Drv::TcpClientTester tester;
|
|
tester.test_receive_thread();
|
|
}
|
|
|
|
TEST(Reconnect, TcpClientMultiMessaging) {
|
|
Drv::TcpClientTester tester;
|
|
tester.test_multiple_messaging();
|
|
}
|
|
|
|
TEST(Reconnect, TcpClientReceiveThreadReconnect) {
|
|
Drv::TcpClientTester tester;
|
|
tester.test_advanced_reconnect();
|
|
}
|
|
|
|
int main(int argc, char** argv) {
|
|
::testing::InitGoogleTest(&argc, argv);
|
|
return RUN_ALL_TESTS();
|
|
}
|