-
Notifications
You must be signed in to change notification settings - Fork 791
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
Browse the repository at this point in the history
* Refs #19315: Allow participant profiles with no rtps tag Signed-off-by: Eduardo Ponz <eduardoponz@eprosima.com> * Refs #19315: Apply suggestions Signed-off-by: Eduardo Ponz <eduardoponz@eprosima.com> * Refs #19315: Apply suggestions 2 Signed-off-by: Eduardo Ponz <eduardoponz@eprosima.com> --------- Signed-off-by: Eduardo Ponz <eduardoponz@eprosima.com> (cherry picked from commit 9bcd313) Co-authored-by: Eduardo Ponz Segrelles <eduardoponz@eprosima.com>
- Loading branch information
1 parent
c70c904
commit c27a563
Showing
4 changed files
with
90 additions
and
22 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
14 changes: 14 additions & 0 deletions
14
test/unittest/xmlparser/regressions/simple_participant_profiles_nok.xml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
<?xml version="1.0" encoding="UTF-8" ?> | ||
<dds xmlns="http://www.eprosima.com/XMLSchemas/fastRTPS_Profiles"> | ||
<profiles> | ||
<participant profile_name="duplicated_domainid_participant"> | ||
<domainId>1</domainId> | ||
<domainId>2</domainId> | ||
</participant> | ||
|
||
<participant profile_name="duplicated_rtps_participant"> | ||
<rtps></rtps> | ||
<rtps></rtps> | ||
</participant> | ||
</profiles> | ||
</dds> |
24 changes: 24 additions & 0 deletions
24
test/unittest/xmlparser/regressions/simple_participant_profiles_ok.xml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
<?xml version="1.0" encoding="UTF-8" ?> | ||
<dds xmlns="http://www.eprosima.com/XMLSchemas/fastRTPS_Profiles"> | ||
<profiles> | ||
<participant profile_name="empty_participant"> | ||
</participant> | ||
|
||
<participant profile_name="only_rtps_participant"> | ||
<rtps></rtps> | ||
</participant> | ||
|
||
<participant profile_name="only_rtps_participant"> | ||
<rtps/> | ||
</participant> | ||
|
||
<participant profile_name="only_domainid_participant"> | ||
<domainId>1</domainId> | ||
</participant> | ||
|
||
<participant profile_name="complete_participant"> | ||
<domainId>1</domainId> | ||
<rtps></rtps> | ||
</participant> | ||
</profiles> | ||
</dds> |