From 92091bf6446b974a2fd39ae9ce81a7b002ce870c Mon Sep 17 00:00:00 2001 From: "Bi-Ruei, Chiu" Date: Tue, 16 Jan 2018 10:30:11 +0800 Subject: [PATCH] Regenerate test cases --- .../139-component-relation-OK.asn1.-P | 22 ++++++++++++++++++ .../140-component-relation-OK.asn1.-P | 22 ++++++++++++++++++ .../141-component-relation-OK.asn1.-P | 23 +++++++++++++++++++ ...tion-more-than-two-level-OK.asn1.-Pgen-PER | 23 +++++++++++++++++++ .../32-sequence-of-OK.asn1.-P | 22 ++++++++++++++++++ .../50-constraint-OK.asn1.-Pfwide-types | 23 +++++++++++++++++++ .../50-constraint-OK.asn1.-Pgen-PER | 23 +++++++++++++++++++ 7 files changed, 158 insertions(+) diff --git a/tests/tests-asn1c-compiler/139-component-relation-OK.asn1.-P b/tests/tests-asn1c-compiler/139-component-relation-OK.asn1.-P index b732a4659..327cdc4dd 100644 --- a/tests/tests-asn1c-compiler/139-component-relation-OK.asn1.-P +++ b/tests/tests-asn1c-compiler/139-component-relation-OK.asn1.-P @@ -316,3 +316,25 @@ asn_TYPE_descriptor_t asn_DEF_ComplexMessage = { &asn_SPC_ComplexMessage_specs_1 /* Additional specs */ }; + +/*** <<< asn_constant.h >>> ***/ + +/* + * Generated by asn1c-0.9.29 (http://lionet.info/asn1c) + */ + +#ifndef _ASN_CONSTANT_H +#define _ASN_CONSTANT_H + +#ifdef __cplusplus +extern "C" { +#endif + +#define basicMessage (1) + + +#ifdef __cplusplus +} +#endif + +#endif /* _ASN_CONSTANT_H */ diff --git a/tests/tests-asn1c-compiler/140-component-relation-OK.asn1.-P b/tests/tests-asn1c-compiler/140-component-relation-OK.asn1.-P index b732a4659..327cdc4dd 100644 --- a/tests/tests-asn1c-compiler/140-component-relation-OK.asn1.-P +++ b/tests/tests-asn1c-compiler/140-component-relation-OK.asn1.-P @@ -316,3 +316,25 @@ asn_TYPE_descriptor_t asn_DEF_ComplexMessage = { &asn_SPC_ComplexMessage_specs_1 /* Additional specs */ }; + +/*** <<< asn_constant.h >>> ***/ + +/* + * Generated by asn1c-0.9.29 (http://lionet.info/asn1c) + */ + +#ifndef _ASN_CONSTANT_H +#define _ASN_CONSTANT_H + +#ifdef __cplusplus +extern "C" { +#endif + +#define basicMessage (1) + + +#ifdef __cplusplus +} +#endif + +#endif /* _ASN_CONSTANT_H */ diff --git a/tests/tests-asn1c-compiler/141-component-relation-OK.asn1.-P b/tests/tests-asn1c-compiler/141-component-relation-OK.asn1.-P index b3e7e4f09..25d941afe 100644 --- a/tests/tests-asn1c-compiler/141-component-relation-OK.asn1.-P +++ b/tests/tests-asn1c-compiler/141-component-relation-OK.asn1.-P @@ -395,3 +395,26 @@ asn_TYPE_descriptor_t asn_DEF_ComplexMessage = { &asn_SPC_ComplexMessage_specs_1 /* Additional specs */ }; + +/*** <<< asn_constant.h >>> ***/ + +/* + * Generated by asn1c-0.9.29 (http://lionet.info/asn1c) + */ + +#ifndef _ASN_CONSTANT_H +#define _ASN_CONSTANT_H + +#ifdef __cplusplus +extern "C" { +#endif + +#define primMessage (1) +#define cplxMessage (2) + + +#ifdef __cplusplus +} +#endif + +#endif /* _ASN_CONSTANT_H */ diff --git a/tests/tests-asn1c-compiler/155-parameterization-more-than-two-level-OK.asn1.-Pgen-PER b/tests/tests-asn1c-compiler/155-parameterization-more-than-two-level-OK.asn1.-Pgen-PER index 487518838..0f53d4252 100644 --- a/tests/tests-asn1c-compiler/155-parameterization-more-than-two-level-OK.asn1.-Pgen-PER +++ b/tests/tests-asn1c-compiler/155-parameterization-more-than-two-level-OK.asn1.-Pgen-PER @@ -9,6 +9,7 @@ typedef long PacketId_t; /*** <<< FUNC-DECLS [PacketId] >>> ***/ +#define PacketId_id_TYPE1 ((PacketId_t)1) extern asn_per_constraints_t asn_PER_type_PacketId_constr_1; extern asn_TYPE_descriptor_t asn_DEF_PacketId; asn_struct_free_f PacketId_free; @@ -835,3 +836,25 @@ asn_TYPE_descriptor_t asn_DEF_ClassItem_51P0 = { &asn_SPC_ClassItem_51P0_specs_1 /* Additional specs */ }; + +/*** <<< asn_constant.h >>> ***/ + +/* + * Generated by asn1c-0.9.29 (http://lionet.info/asn1c) + */ + +#ifndef _ASN_CONSTANT_H +#define _ASN_CONSTANT_H + +#ifdef __cplusplus +extern "C" { +#endif + +#define max_items (256) + + +#ifdef __cplusplus +} +#endif + +#endif /* _ASN_CONSTANT_H */ diff --git a/tests/tests-asn1c-compiler/32-sequence-of-OK.asn1.-P b/tests/tests-asn1c-compiler/32-sequence-of-OK.asn1.-P index 2f734141c..4a7298b38 100644 --- a/tests/tests-asn1c-compiler/32-sequence-of-OK.asn1.-P +++ b/tests/tests-asn1c-compiler/32-sequence-of-OK.asn1.-P @@ -428,3 +428,25 @@ asn_TYPE_descriptor_t asn_DEF_SeqWithOptional = { &asn_SPC_SeqWithOptional_specs_1 /* Additional specs */ }; + +/*** <<< asn_constant.h >>> ***/ + +/* + * Generated by asn1c-0.9.29 (http://lionet.info/asn1c) + */ + +#ifndef _ASN_CONSTANT_H +#define _ASN_CONSTANT_H + +#ifdef __cplusplus +extern "C" { +#endif + +#define maxSize (10) + + +#ifdef __cplusplus +} +#endif + +#endif /* _ASN_CONSTANT_H */ diff --git a/tests/tests-asn1c-compiler/50-constraint-OK.asn1.-Pfwide-types b/tests/tests-asn1c-compiler/50-constraint-OK.asn1.-Pfwide-types index 32fbaeb61..a5863e501 100644 --- a/tests/tests-asn1c-compiler/50-constraint-OK.asn1.-Pfwide-types +++ b/tests/tests-asn1c-compiler/50-constraint-OK.asn1.-Pfwide-types @@ -17,6 +17,7 @@ ber_type_decoder_f Int1_decode_ber; der_type_encoder_f Int1_encode_der; xer_type_decoder_f Int1_decode_xer; xer_type_encoder_f Int1_encode_xer; +#define Int1_ten ((Int1_t)10) /*** <<< CODE [Int1] >>> ***/ @@ -2548,3 +2549,25 @@ asn_TYPE_descriptor_t asn_DEF_Identifier = { 0 /* No specifics */ }; + +/*** <<< asn_constant.h >>> ***/ + +/* + * Generated by asn1c-0.9.29 (http://lionet.info/asn1c) + */ + +#ifndef _ASN_CONSTANT_H +#define _ASN_CONSTANT_H + +#ifdef __cplusplus +extern "C" { +#endif + +#define maxIdentifier (32) + + +#ifdef __cplusplus +} +#endif + +#endif /* _ASN_CONSTANT_H */ diff --git a/tests/tests-asn1c-compiler/50-constraint-OK.asn1.-Pgen-PER b/tests/tests-asn1c-compiler/50-constraint-OK.asn1.-Pgen-PER index 3f6669ed8..7589005c0 100644 --- a/tests/tests-asn1c-compiler/50-constraint-OK.asn1.-Pgen-PER +++ b/tests/tests-asn1c-compiler/50-constraint-OK.asn1.-Pgen-PER @@ -19,6 +19,7 @@ xer_type_decoder_f Int1_decode_xer; xer_type_encoder_f Int1_encode_xer; per_type_decoder_f Int1_decode_uper; per_type_encoder_f Int1_encode_uper; +#define Int1_ten ((Int1_t)10) /*** <<< CODE [Int1] >>> ***/ @@ -2835,3 +2836,25 @@ asn_TYPE_descriptor_t asn_DEF_Identifier = { 0 /* No specifics */ }; + +/*** <<< asn_constant.h >>> ***/ + +/* + * Generated by asn1c-0.9.29 (http://lionet.info/asn1c) + */ + +#ifndef _ASN_CONSTANT_H +#define _ASN_CONSTANT_H + +#ifdef __cplusplus +extern "C" { +#endif + +#define maxIdentifier (32) + + +#ifdef __cplusplus +} +#endif + +#endif /* _ASN_CONSTANT_H */