Skip to content

Commit

Permalink
Refs #21379. Regenerate type lookup service tests
Browse files Browse the repository at this point in the history
Signed-off-by: Ricardo González Moreno <[email protected]>
  • Loading branch information
richiware committed Sep 25, 2024
1 parent 273b65f commit 0da7f56
Show file tree
Hide file tree
Showing 4 changed files with 46 additions and 0 deletions.
2 changes: 2 additions & 0 deletions test/dds/xtypes/TypeLookupServicePublisher.h
Original file line number Diff line number Diff line change
Expand Up @@ -383,6 +383,7 @@ class TypeLookupServicePublisher
PUBLISHER_TYPE_CREATOR_FUNCTION(ArraySingleDimensionLiteralsWString);
PUBLISHER_TYPE_CREATOR_FUNCTION(ArrayString);
PUBLISHER_TYPE_CREATOR_FUNCTION(ArrayStructure);
PUBLISHER_TYPE_CREATOR_FUNCTION(ArrayUInt8);
PUBLISHER_TYPE_CREATOR_FUNCTION(ArrayULong);
PUBLISHER_TYPE_CREATOR_FUNCTION(ArrayULongLong);
PUBLISHER_TYPE_CREATOR_FUNCTION(ArrayUShort);
Expand All @@ -408,6 +409,7 @@ class TypeLookupServicePublisher
PUBLISHER_TYPE_CREATOR_FUNCTION(BitMaskStructure);
PUBLISHER_TYPE_CREATOR_FUNCTION(BoundedBitMaskStructure);
PUBLISHER_TYPE_CREATOR_FUNCTION(EnumStructure);
PUBLISHER_TYPE_CREATOR_FUNCTION(EnumWithValuesStructure);
PUBLISHER_TYPE_CREATOR_FUNCTION(FinalBooleanStruct);
PUBLISHER_TYPE_CREATOR_FUNCTION(FinalCharStruct);
PUBLISHER_TYPE_CREATOR_FUNCTION(FinalDoubleStruct);
Expand Down
2 changes: 2 additions & 0 deletions test/dds/xtypes/TypeLookupServiceSubscriber.h
Original file line number Diff line number Diff line change
Expand Up @@ -395,6 +395,7 @@ class TypeLookupServiceSubscriber
SUBSCRIBER_TYPE_CREATOR_FUNCTION(ArraySingleDimensionLiteralsWString);
SUBSCRIBER_TYPE_CREATOR_FUNCTION(ArrayString);
SUBSCRIBER_TYPE_CREATOR_FUNCTION(ArrayStructure);
SUBSCRIBER_TYPE_CREATOR_FUNCTION(ArrayUInt8);
SUBSCRIBER_TYPE_CREATOR_FUNCTION(ArrayULong);
SUBSCRIBER_TYPE_CREATOR_FUNCTION(ArrayULongLong);
SUBSCRIBER_TYPE_CREATOR_FUNCTION(ArrayUShort);
Expand All @@ -420,6 +421,7 @@ class TypeLookupServiceSubscriber
SUBSCRIBER_TYPE_CREATOR_FUNCTION(BitMaskStructure);
SUBSCRIBER_TYPE_CREATOR_FUNCTION(BoundedBitMaskStructure);
SUBSCRIBER_TYPE_CREATOR_FUNCTION(EnumStructure);
SUBSCRIBER_TYPE_CREATOR_FUNCTION(EnumWithValuesStructure);
SUBSCRIBER_TYPE_CREATOR_FUNCTION(FinalBooleanStruct);
SUBSCRIBER_TYPE_CREATOR_FUNCTION(FinalCharStruct);
SUBSCRIBER_TYPE_CREATOR_FUNCTION(FinalDoubleStruct);
Expand Down
21 changes: 21 additions & 0 deletions test/dds/xtypes/TypesTestsCases/Cases_arrays.json
Original file line number Diff line number Diff line change
Expand Up @@ -2016,6 +2016,27 @@
}
]
},
{
"TestCase": "Case_arrays_ArrayUInt8",
"participants": [
{
"kind": "publisher",
"samples": "10",
"timeout": "10",
"expected_matches": "1",
"known_types": [
"ArrayUInt8"
]
},
{
"kind": "subscriber",
"samples": "10",
"timeout": "10",
"expected_matches": "1",
"known_types": []
}
]
},
{
"TestCase": "Case_arrays_ArrayULong",
"participants": [
Expand Down
21 changes: 21 additions & 0 deletions test/dds/xtypes/TypesTestsCases/Cases_enumerations.json
Original file line number Diff line number Diff line change
Expand Up @@ -62,6 +62,27 @@
"known_types": []
}
]
},
{
"TestCase": "Case_enumerations_EnumWithValuesStructure",
"participants": [
{
"kind": "publisher",
"samples": "10",
"timeout": "10",
"expected_matches": "1",
"known_types": [
"EnumWithValuesStructure"
]
},
{
"kind": "subscriber",
"samples": "10",
"timeout": "10",
"expected_matches": "1",
"known_types": []
}
]
}
]
}

0 comments on commit 0da7f56

Please sign in to comment.