MCPcopy Create free account
hub / github.com/OpenDDS/OpenDDS / TEST

Function TEST

tests/unit-tests/dds/DCPS/InternalDataReader.cpp:88–98  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

86}
87
88TEST(dds_DCPS_InternalDataReader, durable)
89{
90 {
91 RcHandle<ReaderType> reader = make_rch<ReaderType>(DataReaderQosBuilder().reliability_reliable());
92 EXPECT_FALSE(reader->durable());
93 }
94 {
95 RcHandle<ReaderType> reader = make_rch<ReaderType>(DataReaderQosBuilder().reliability_reliable().durability_transient_local());
96 EXPECT_TRUE(reader->durable());
97 }
98}
99
100TEST(dds_DCPS_InternalDataReader, write)
101{

Callers

nothing calls this directly

Calls 14

make_sample_infoFunction · 0.85
durableMethod · 0.80
wait_for_countMethod · 0.80
writeMethod · 0.45
takeMethod · 0.45
sizeMethod · 0.45
unregister_instanceMethod · 0.45
disposeMethod · 0.45
remove_publicationMethod · 0.45
get_listenerMethod · 0.45
set_listenerMethod · 0.45
readMethod · 0.45

Tested by

no test coverage detected