Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[21711] Update DataWriter/Reader get_matched_publication/subscription...() API tests #185

Closed
wants to merge 1 commit into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions fastdds_python/test/api/test_datareader.py
Original file line number Diff line number Diff line change
Expand Up @@ -862,7 +862,7 @@ def test_get_matched_publication_data(datareader):
"""
pub_data = fastdds.PublicationBuiltinTopicData()
ih = fastdds.InstanceHandle_t()
assert(fastdds.ReturnCode_t.RETCODE_UNSUPPORTED ==
assert(fastdds.ReturnCode_t.RETCODE_BAD_PARAMETER ==
datareader.get_matched_publication_data(pub_data, ih))


Expand All @@ -872,7 +872,7 @@ def test_get_matched_publications(datareader):
- DataReader::get_matched_publications
"""
ihs = fastdds.InstanceHandleVector()
assert(fastdds.ReturnCode_t.RETCODE_UNSUPPORTED ==
assert(fastdds.ReturnCode_t.RETCODE_OK ==
datareader.get_matched_publications(ihs))


Expand Down
4 changes: 2 additions & 2 deletions fastdds_python/test/api/test_datawriter.py
Original file line number Diff line number Diff line change
Expand Up @@ -350,7 +350,7 @@ def test_get_matched_subscription_data(datawriter):
"""
sub_data = fastdds.SubscriptionBuiltinTopicData()
ih = fastdds.InstanceHandle_t()
assert(fastdds.ReturnCode_t.RETCODE_UNSUPPORTED ==
assert(fastdds.ReturnCode_t.RETCODE_BAD_PARAMETER ==
datawriter.get_matched_subscription_data(sub_data, ih))


Expand All @@ -360,7 +360,7 @@ def test_get_matched_subscriptions(datawriter):
- DataWriter::get_matched_subscriptions
"""
ihs = fastdds.InstanceHandleVector()
assert(fastdds.ReturnCode_t.RETCODE_UNSUPPORTED ==
assert(fastdds.ReturnCode_t.RETCODE_OK ==
datawriter.get_matched_subscriptions(ihs))


Expand Down
Loading