mirror of
https://github.com/nasa/fprime.git
synced 2025-12-10 00:44:37 -06:00
* Correcting shutdown/close usage; refactoring TcpServer * Fixing Tcp * Review and CI fixes * ...and the other half of the fixes
31 lines
720 B
C++
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();
|
|
}
|