MCPcopy Create free account
hub / github.com/comaps/comaps / UNIT_TEST

Function UNIT_TEST

libs/tracking/tracking_tests/reporter_test.cpp:82–96  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

80} // namespace
81
82UNIT_TEST(Reporter_Smoke)
83{
84 {
85 unique_ptr<platform::Socket> socket;
86 Reporter reporter(std::move(socket), "localhost", 0, milliseconds(10) /* pushDelay */);
87 }
88 {
89 auto socket = make_unique<TestSocket>();
90 Reporter reporter(std::move(socket), "localhost", 0, milliseconds(10) /* pushDelay */);
91 }
92 {
93 auto socket = platform::CreateSocket();
94 Reporter reporter(std::move(socket), "localhost", 0, milliseconds(10) /* pushDelay */);
95 }
96}
97
98UNIT_TEST(Reporter_TransferLocations)
99{

Callers

nothing calls this directly

Calls 3

TransferLocationFunction · 0.85
getMethod · 0.65
CreateSocketFunction · 0.50

Tested by

no test coverage detected