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

[20421] Added regresion tests for TypeIdentifier comparation #24

Open
wants to merge 11 commits into
base: main
Choose a base branch
from
6 changes: 6 additions & 0 deletions .gitattributes
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
# Set default behaviour, in case users don't have core.autocrlf set.
* text=auto

# Explicitly declare text files we want to always be normalized and converted
# to native line endings on checkout.
*.idl text eol=lf
24 changes: 24 additions & 0 deletions .github/pull_request_template.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
<!-- Provide a general summary of your changes in the Title above -->
<!-- It must be meaningful and coherent with the changes -->

<!--
If this PR is still a Work in Progress [WIP], please open it as DRAFT.
Please consider if any label should be added to this PR.
-->

## Description
<!--
Describe changes in detail.
This includes depicting the context, use case or current behavior and describe the proposed changes.
-->

## Contributor Checklist
- [ ] Commit messages follow the project guidelines. <!-- External contributors should sign the DCO. Fast DDS developers must also refer to the internal Redmine task. -->
- [ ] Any new/modified type has been properly reflected on `test/feature/dynamic_types/dds_types_tests` tests in a Pull Request. <!-- It is mandatory to test new/modified tests with the Dynamic Type API -->
- [ ] Any new/modified type has been properly updated on `test/dds/xtypes` tests using `update_header_and_create_cases.py` script in a Pull Request. <!-- It is mandatory to update the test source code using the script -->
- [ ] For any new IDL file, Fast DDS `update_generated_code_from_idl.sh` script adding a new line in `file_needing_output_dir` list in a Pull Request. <!-- It is mandatory to generate always the code for new IDL files -->

## Reviewer Checklist
- [ ] The PR has a milestone assigned.
- [ ] The title and description correctly express the PR's purpose.
- [ ] Check contributor checklist is correct.
308 changes: 154 additions & 154 deletions IDL/aliases.idl
Original file line number Diff line number Diff line change
@@ -1,154 +1,154 @@
#include "helpers/basic_inner_types.idl"
typedef short alias_int16;
typedef unsigned short alias_uint16;
typedef long alias_int32;
typedef unsigned long alias_uint32;
typedef long long alias_int64;
typedef unsigned long long alias_uint64;
typedef float alias_float32;
typedef double alias_float64;
typedef long double alias_float128;
typedef boolean alias_bool;
typedef octet alias_octet;
typedef char alias_char8;
typedef wchar alias_char16;
typedef string alias_string8;
typedef wstring alias_string16;
typedef InnerEnumHelper alias_enum;
typedef InnerBitMaskHelper alias_bitmask;
typedef InnerAliasHelper alias_alias;
typedef short alias_array[2];
typedef short alias_multiarray[2][2];
typedef sequence<short> alias_sequence;
typedef map<short, short> alias_map;
typedef InnerUnionHelper alias_union;
typedef InnerStructureHelper alias_structure;
typedef InnerBitsetHelper alias_bitset;
struct AliasInt16
{
alias_int16 value;
};
struct AliasUint16
{
alias_uint16 value;
};
struct AliasInt32
{
alias_int32 value;
};
struct AliasUInt32
{
alias_uint32 value;
};
struct AliasInt64
{
alias_int64 value;
};
struct AliasUInt64
{
alias_uint64 value;
};
struct AliasFloat32
{
alias_float32 value;
};
struct AliasFloat64
{
alias_float64 value;
};
struct AliasFloat128
{
alias_float128 value;
};
struct AliasBool
{
alias_bool value;
};
struct AliasOctet
{
alias_octet value;
};
struct AliasChar8
{
alias_char8 value;
};
struct AliasChar16
{
alias_char16 value;
};
struct AliasString8
{
alias_string8 value;
};
struct AliasString16
{
alias_string16 value;
};
struct AliasEnum
{
alias_enum value;
};
struct AliasBitmask
{
alias_bitmask value;
};
struct AliasAlias
{
alias_alias value;
};
struct AliasArray
{
alias_array value;
};
struct AliasMultiArray
{
alias_multiarray value;
};
struct AliasSequence
{
alias_sequence value;
};
struct AliasMap
{
alias_map value;
};
struct AliasUnion
{
alias_union value;
};
struct AliasStruct
{
alias_structure value;
};
struct AliasBitset
{
alias_bitset value;
};
#include "helpers/basic_inner_types.idl"

typedef short alias_int16;
typedef unsigned short alias_uint16;
typedef long alias_int32;
typedef unsigned long alias_uint32;
typedef long long alias_int64;
typedef unsigned long long alias_uint64;
typedef float alias_float32;
typedef double alias_float64;
typedef long double alias_float128;
typedef boolean alias_bool;
typedef octet alias_octet;
typedef char alias_char8;
typedef wchar alias_char16;
typedef string alias_string8;
typedef wstring alias_string16;
typedef InnerEnumHelper alias_enum;
typedef InnerBitMaskHelper alias_bitmask;
typedef InnerAliasHelper alias_alias;
typedef short alias_array[2];
typedef short alias_multiarray[2][2];
typedef sequence<short> alias_sequence;
typedef map<short, short> alias_map;
typedef InnerUnionHelper alias_union;
typedef InnerStructureHelper alias_structure;
typedef InnerBitsetHelper alias_bitset;



struct AliasInt16
{
alias_int16 value;
};

struct AliasUint16
{
alias_uint16 value;
};

struct AliasInt32
{
alias_int32 value;
};

struct AliasUInt32
{
alias_uint32 value;
};

struct AliasInt64
{
alias_int64 value;
};

struct AliasUInt64
{
alias_uint64 value;
};

struct AliasFloat32
{
alias_float32 value;
};

struct AliasFloat64
{
alias_float64 value;
};

struct AliasFloat128
{
alias_float128 value;
};

struct AliasBool
{
alias_bool value;
};

struct AliasOctet
{
alias_octet value;
};

struct AliasChar8
{
alias_char8 value;
};

struct AliasChar16
{
alias_char16 value;
};

struct AliasString8
{
alias_string8 value;
};

struct AliasString16
{
alias_string16 value;
};

struct AliasEnum
{
alias_enum value;
};

struct AliasBitmask
{
alias_bitmask value;
};

struct AliasAlias
{
alias_alias value;
};

struct AliasArray
{
alias_array value;
};

struct AliasMultiArray
{
alias_multiarray value;
};

struct AliasSequence
{
alias_sequence value;
};

struct AliasMap
{
alias_map value;
};

struct AliasUnion
{
alias_union value;
};

struct AliasStruct
{
alias_structure value;
};

struct AliasBitset
{
alias_bitset value;
};
Loading