Skip to content

Commit 598f64c

Browse files
committed
Refs #20734: Fix some tests
Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>
1 parent 49ae802 commit 598f64c

6 files changed

Lines changed: 5 additions & 121 deletions

File tree

fastdds_python/src/swig/fastdds/dds/builtin/typelookup/TypeLookupManager.i

Lines changed: 0 additions & 19 deletions
This file was deleted.

fastdds_python/src/swig/fastdds/dds/builtin/typelookup/TypeLookupReplyListener.i

Lines changed: 0 additions & 19 deletions
This file was deleted.

fastdds_python/src/swig/fastdds/dds/builtin/typelookup/TypeLookupRequestListener.i

Lines changed: 0 additions & 19 deletions
This file was deleted.

fastdds_python/src/swig/fastdds/dds/builtin/typelookup/common/TypeLookupTypes.i

Lines changed: 0 additions & 47 deletions
This file was deleted.

fastdds_python/src/swig/fastdds/dds/topic/TypeSupport.i

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@
2727

2828
// This constructor takes ownership of the TopicDataType pointer
2929
// We need SWIG to be aware of it, so we ignore it here and redefine it later
30-
%ignore eprosima::fastdds::dds::TypeSupport::TypeSupport(fastdds::dds::TopicDataType*);
30+
%ignore eprosima::fastdds::dds::TypeSupport::TypeSupport(TopicDataType*);
3131

3232
%ignore eprosima::fastdds::dds::TypeSupport::TypeSupport(DynamicPubSubType);
3333

@@ -37,14 +37,14 @@
3737
// Do not worry about the heap allocation, SWIG recognizes the method as a constructor
3838
// and successfully deallocates on destruction
3939
%extend eprosima::fastdds::dds::TypeSupport {
40-
%apply SWIGTYPE *DISOWN { eprosima::fastdds::dds::TopicDataType* ptr };
41-
TypeSupport(eprosima::fastdds::dds::TopicDataType* ptr)
40+
%apply SWIGTYPE *DISOWN { TopicDataType* ptr };
41+
TypeSupport(TopicDataType* ptr)
4242
{
4343
return new eprosima::fastdds::dds::TypeSupport(ptr);
4444
}
4545

46-
%apply SWIGTYPE *DISOWN { eprosima::fastdds::dds::TopicDataType* ptr };
47-
void set(eprosima::fastdds::dds::TopicDataType* ptr)
46+
%apply SWIGTYPE *DISOWN { TopicDataType* ptr };
47+
void set(TopicDataType* ptr)
4848
{
4949
self->reset(ptr);
5050
}

fastdds_python/test/api/test_qos.py

Lines changed: 0 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -1505,13 +1505,6 @@ def test_domain_participant_qos():
15051505
assert(fastdds.LOCATOR_KIND_UDPv4 == locator.kind)
15061506
assert(fastdds.FILTER_DIFFERENT_HOST == participant_qos.
15071507
wire_protocol().builtin.discovery_config.ignoreParticipantFlags)
1508-
# ## .typelookup_config;
1509-
participant_qos.wire_protocol().builtin.typelookup_config.use_client = True
1510-
participant_qos.wire_protocol().builtin.typelookup_config.use_server = True
1511-
assert(participant_qos.wire_protocol().builtin.
1512-
typelookup_config.use_client)
1513-
assert(participant_qos.wire_protocol().builtin.
1514-
typelookup_config.use_server)
15151508
# ## .metatrafficUnicastLocatorList;
15161509
locator = fastdds.Locator_t()
15171510
locator.address = (0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 192, 168, 1, 2)
@@ -1761,11 +1754,6 @@ def test_domain_participant_qos():
17611754
assert(fastdds.LOCATOR_KIND_UDPv4 == locator.kind)
17621755
assert(fastdds.FILTER_DIFFERENT_HOST == default_participant_qos.
17631756
wire_protocol().builtin.discovery_config.ignoreParticipantFlags)
1764-
# ## .typelookup_config;
1765-
assert(default_participant_qos.wire_protocol().builtin.
1766-
typelookup_config.use_client)
1767-
assert(default_participant_qos.wire_protocol().builtin.
1768-
typelookup_config.use_server)
17691757
# ## .metatrafficUnicastLocatorList;
17701758
locator = default_participant_qos.wire_protocol().builtin. \
17711759
metatrafficUnicastLocatorList[0]

0 commit comments

Comments
 (0)