-
Notifications
You must be signed in to change notification settings - Fork 791
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
Support of disable_heartbeat_piggyback through XML and DDS API [12533] #2216
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Add the new field to the XMLElementParserTests to check that the new field is correctly parsed.
It should be added to the test_xml_profiles.xml and test_xml_profiles_rooted.xml in the test directory too.
@richiware This has conflicts, please rebase |
b33e032
to
349efca
Compare
@MiguelCompany I've rebased and added a new blackbox test. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM. Only a suggestion although it is not really required. I will leave it to you
std::list<KeyedHelloWorld> uniquekey_keyedhelloworld_data_generator( | ||
size_t max) | ||
{ | ||
uint16_t index = 0; | ||
size_t maximum = max ? max : 10; | ||
std::list<KeyedHelloWorld> returnedValue(maximum); | ||
|
||
std::generate(returnedValue.begin(), returnedValue.end(), [&index] | ||
{ | ||
KeyedHelloWorld hello; | ||
hello.index(index); | ||
hello.key(index + 1); | ||
std::stringstream ss; | ||
ss << "HelloWorld " << index; | ||
hello.message(ss.str()); | ||
++index; | ||
return hello; | ||
}); | ||
|
||
return returnedValue; | ||
} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Maybe, instead of creating the new generator where the only change with respect to the already existing generator is use a different key in each sample, the previous generator can be used giving as parameter flag in case that the key must be unique.
std::list<KeyedHelloWorld> default_keyedhelloworld_data_generator(
size_t max,
bool unique_key)
This is a mere suggestion and I am fine leaving the code as it is.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM, though Windows CI has not finished so I am going to rerun it
@richiprosima Please test Windows |
@richiprosima please test Windows |
Signed-off-by: Ricardo González <ricardo@richiware.dev>
Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>
Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>
…d API. Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>
Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>
Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>
Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>
774d199
to
aefa0de
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
@richiprosima please test this |
@richiprosima Please test windows |
No description provided.