File: FlowControllerPublishModesTests.cpp

package info (click to toggle)
fastdds 3.1.2%2Bds-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 58,132 kB
  • sloc: cpp: 779,516; xml: 15,119; python: 4,356; sh: 190; makefile: 93; ansic: 12
file content (33 lines) | stat: -rw-r--r-- 709 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
#include "FlowControllerPublishModesTests.hpp"

using namespace testing;

namespace eprosima {
namespace fastdds {
namespace rtps {

std::ostream& operator <<(
        std::ostream& output,
        const RTPSWriter& writer)
{
    return output << "Writer" << writer.getGuid().entityId.value[3];
}

std::ostream& operator <<(
        std::ostream& output,
        const CacheChange_t* change)
{
    return output << "change_writer" << uint16_t(change->writerGUID.entityId.value[3]) << "_" << change->sequenceNumber;
}

} // namespace rtps
} // namespace fastdds
} // namespace eprosima

int main(
        int argc,
        char** argv)
{
    testing::InitGoogleTest(&argc, argv);
    return RUN_ALL_TESTS();
}