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

Add tests for BoundedPlainSequences #481

Merged
merged 1 commit into from
Aug 6, 2021
Merged
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
3 changes: 3 additions & 0 deletions test_communication/test/test_publisher.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -78,6 +78,9 @@ int main(int argc, char ** argv)
} else if (message == "UnboundedSequences") {
publish<test_msgs::msg::UnboundedSequences>(
node, message, get_messages_unbounded_sequences());
} else if (message == "BoundedPlainSequences") {
publish<test_msgs::msg::BoundedPlainSequences>(
node, message, get_messages_bounded_plain_sequences());
} else if (message == "BoundedSequences") {
publish<test_msgs::msg::BoundedSequences>(
node, message, get_messages_bounded_sequences());
Expand Down
6 changes: 6 additions & 0 deletions test_communication/test/test_publisher_subscriber.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -123,6 +123,7 @@ int main(int argc, char ** argv)
auto messages_empty = get_messages_empty();
auto messages_basic_types = get_messages_basic_types();
auto messages_arrays = get_messages_arrays();
auto messages_bounded_plain_sequences = get_messages_bounded_plain_sequences();
auto messages_bounded_sequences = get_messages_bounded_sequences();
auto messages_unbounded_sequences = get_messages_unbounded_sequences();
auto messages_multi_nested = get_messages_multi_nested();
Expand Down Expand Up @@ -154,6 +155,11 @@ int main(int argc, char ** argv)
node, message, messages_unbounded_sequences, received_messages);
publish<test_msgs::msg::UnboundedSequences>(
node, message, messages_unbounded_sequences);
} else if (message == "BoundedPlainSequences") {
subscriber = subscribe<test_msgs::msg::BoundedPlainSequences>(
node, message, messages_bounded_plain_sequences, received_messages);
publish<test_msgs::msg::BoundedPlainSequences>(
node, message, messages_bounded_plain_sequences);
} else if (message == "BoundedSequences") {
subscriber = subscribe<test_msgs::msg::BoundedSequences>(
node, message, messages_bounded_sequences, received_messages);
Expand Down
4 changes: 4 additions & 0 deletions test_communication/test/test_subscriber.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -87,6 +87,7 @@ int main(int argc, char ** argv)
auto messages_basic_types = get_messages_basic_types();
auto messages_arrays = get_messages_arrays();
auto messages_unbounded_sequences = get_messages_unbounded_sequences();
auto messages_bounded_plain_sequences = get_messages_bounded_plain_sequences();
auto messages_bounded_sequences = get_messages_bounded_sequences();
auto messages_nested = get_messages_nested();
auto messages_multi_nested = get_messages_multi_nested();
Expand All @@ -110,6 +111,9 @@ int main(int argc, char ** argv)
} else if (message == "UnboundedSequences") {
subscriber = subscribe<test_msgs::msg::UnboundedSequences>(
node, message, messages_unbounded_sequences, received_messages);
} else if (message == "BoundedPlainSequences") {
subscriber = subscribe<test_msgs::msg::BoundedPlainSequences>(
node, message, messages_bounded_plain_sequences, received_messages);
} else if (message == "BoundedSequences") {
subscriber = subscribe<test_msgs::msg::BoundedSequences>(
node, message, messages_bounded_sequences, received_messages);
Expand Down