fprime/Drv/Udp/test/ut/UdpTestMain.cpp
M Starch 9ed68fdd06
Correcting shutdown/close usage; refactoring TcpServer (#2950)
* Correcting shutdown/close usage; refactoring TcpServer

* Fixing Tcp

* Review and CI fixes

* ...and the other half of the fixes
2024-10-16 09:36:34 -07:00

31 lines
720 B
C++

// ----------------------------------------------------------------------
// TestMain.cpp
// ----------------------------------------------------------------------
#include "UdpTester.hpp"
TEST(Nominal, UdpBasicMessaging) {
Drv::UdpTester tester;
tester.test_basic_messaging();
}
TEST(Nominal, UdpBasicReceiveThread) {
Drv::UdpTester tester;
tester.test_receive_thread();
}
TEST(Reconnect, UdpMultiMessaging) {
Drv::UdpTester tester;
tester.test_multiple_messaging();
}
TEST(Reconnect, UdpReceiveThreadReconnect) {
Drv::UdpTester tester;
tester.test_advanced_reconnect();
}
int main(int argc, char** argv) {
::testing::InitGoogleTest(&argc, argv);
return RUN_ALL_TESTS();
}