Skip to content

Commit 34c666d

Browse files
committed
Regenerate test cases
1 parent 72f7e2c commit 34c666d

7 files changed

+158
-0
lines changed

tests/tests-asn1c-compiler/139-component-relation-OK.asn1.-P

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -316,3 +316,25 @@ asn_TYPE_descriptor_t asn_DEF_ComplexMessage = {
316316
&asn_SPC_ComplexMessage_specs_1 /* Additional specs */
317317
};
318318

319+
320+
/*** <<< asn_constant.h >>> ***/
321+
322+
/*
323+
* Generated by asn1c-0.9.29 (http://lionet.info/asn1c)
324+
*/
325+
326+
#ifndef _ASN_CONSTANT_H
327+
#define _ASN_CONSTANT_H
328+
329+
#ifdef __cplusplus
330+
extern "C" {
331+
#endif
332+
333+
#define basicMessage (1)
334+
335+
336+
#ifdef __cplusplus
337+
}
338+
#endif
339+
340+
#endif /* _ASN_CONSTANT_H */

tests/tests-asn1c-compiler/140-component-relation-OK.asn1.-P

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -316,3 +316,25 @@ asn_TYPE_descriptor_t asn_DEF_ComplexMessage = {
316316
&asn_SPC_ComplexMessage_specs_1 /* Additional specs */
317317
};
318318

319+
320+
/*** <<< asn_constant.h >>> ***/
321+
322+
/*
323+
* Generated by asn1c-0.9.29 (http://lionet.info/asn1c)
324+
*/
325+
326+
#ifndef _ASN_CONSTANT_H
327+
#define _ASN_CONSTANT_H
328+
329+
#ifdef __cplusplus
330+
extern "C" {
331+
#endif
332+
333+
#define basicMessage (1)
334+
335+
336+
#ifdef __cplusplus
337+
}
338+
#endif
339+
340+
#endif /* _ASN_CONSTANT_H */

tests/tests-asn1c-compiler/141-component-relation-OK.asn1.-P

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -395,3 +395,26 @@ asn_TYPE_descriptor_t asn_DEF_ComplexMessage = {
395395
&asn_SPC_ComplexMessage_specs_1 /* Additional specs */
396396
};
397397

398+
399+
/*** <<< asn_constant.h >>> ***/
400+
401+
/*
402+
* Generated by asn1c-0.9.29 (http://lionet.info/asn1c)
403+
*/
404+
405+
#ifndef _ASN_CONSTANT_H
406+
#define _ASN_CONSTANT_H
407+
408+
#ifdef __cplusplus
409+
extern "C" {
410+
#endif
411+
412+
#define primMessage (1)
413+
#define cplxMessage (2)
414+
415+
416+
#ifdef __cplusplus
417+
}
418+
#endif
419+
420+
#endif /* _ASN_CONSTANT_H */

tests/tests-asn1c-compiler/155-parameterization-more-than-two-level-OK.asn1.-Pgen-PER

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@ typedef long PacketId_t;
99

1010
/*** <<< FUNC-DECLS [PacketId] >>> ***/
1111

12+
#define PacketId_id_TYPE1 ((PacketId_t)1)
1213
extern asn_per_constraints_t asn_PER_type_PacketId_constr_1;
1314
extern asn_TYPE_descriptor_t asn_DEF_PacketId;
1415
asn_struct_free_f PacketId_free;
@@ -835,3 +836,25 @@ asn_TYPE_descriptor_t asn_DEF_ClassItem_51P0 = {
835836
&asn_SPC_ClassItem_51P0_specs_1 /* Additional specs */
836837
};
837838

839+
840+
/*** <<< asn_constant.h >>> ***/
841+
842+
/*
843+
* Generated by asn1c-0.9.29 (http://lionet.info/asn1c)
844+
*/
845+
846+
#ifndef _ASN_CONSTANT_H
847+
#define _ASN_CONSTANT_H
848+
849+
#ifdef __cplusplus
850+
extern "C" {
851+
#endif
852+
853+
#define max_items (256)
854+
855+
856+
#ifdef __cplusplus
857+
}
858+
#endif
859+
860+
#endif /* _ASN_CONSTANT_H */

tests/tests-asn1c-compiler/32-sequence-of-OK.asn1.-P

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -428,3 +428,25 @@ asn_TYPE_descriptor_t asn_DEF_SeqWithOptional = {
428428
&asn_SPC_SeqWithOptional_specs_1 /* Additional specs */
429429
};
430430

431+
432+
/*** <<< asn_constant.h >>> ***/
433+
434+
/*
435+
* Generated by asn1c-0.9.29 (http://lionet.info/asn1c)
436+
*/
437+
438+
#ifndef _ASN_CONSTANT_H
439+
#define _ASN_CONSTANT_H
440+
441+
#ifdef __cplusplus
442+
extern "C" {
443+
#endif
444+
445+
#define maxSize (10)
446+
447+
448+
#ifdef __cplusplus
449+
}
450+
#endif
451+
452+
#endif /* _ASN_CONSTANT_H */

tests/tests-asn1c-compiler/50-constraint-OK.asn1.-Pfwide-types

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,7 @@ ber_type_decoder_f Int1_decode_ber;
1717
der_type_encoder_f Int1_encode_der;
1818
xer_type_decoder_f Int1_decode_xer;
1919
xer_type_encoder_f Int1_encode_xer;
20+
#define Int1_ten ((Int1_t)10)
2021

2122
/*** <<< CODE [Int1] >>> ***/
2223

@@ -2548,3 +2549,25 @@ asn_TYPE_descriptor_t asn_DEF_Identifier = {
25482549
0 /* No specifics */
25492550
};
25502551

2552+
2553+
/*** <<< asn_constant.h >>> ***/
2554+
2555+
/*
2556+
* Generated by asn1c-0.9.29 (http://lionet.info/asn1c)
2557+
*/
2558+
2559+
#ifndef _ASN_CONSTANT_H
2560+
#define _ASN_CONSTANT_H
2561+
2562+
#ifdef __cplusplus
2563+
extern "C" {
2564+
#endif
2565+
2566+
#define maxIdentifier (32)
2567+
2568+
2569+
#ifdef __cplusplus
2570+
}
2571+
#endif
2572+
2573+
#endif /* _ASN_CONSTANT_H */

tests/tests-asn1c-compiler/50-constraint-OK.asn1.-Pgen-PER

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,7 @@ xer_type_decoder_f Int1_decode_xer;
1919
xer_type_encoder_f Int1_encode_xer;
2020
per_type_decoder_f Int1_decode_uper;
2121
per_type_encoder_f Int1_encode_uper;
22+
#define Int1_ten ((Int1_t)10)
2223

2324
/*** <<< CODE [Int1] >>> ***/
2425

@@ -2835,3 +2836,25 @@ asn_TYPE_descriptor_t asn_DEF_Identifier = {
28352836
0 /* No specifics */
28362837
};
28372838

2839+
2840+
/*** <<< asn_constant.h >>> ***/
2841+
2842+
/*
2843+
* Generated by asn1c-0.9.29 (http://lionet.info/asn1c)
2844+
*/
2845+
2846+
#ifndef _ASN_CONSTANT_H
2847+
#define _ASN_CONSTANT_H
2848+
2849+
#ifdef __cplusplus
2850+
extern "C" {
2851+
#endif
2852+
2853+
#define maxIdentifier (32)
2854+
2855+
2856+
#ifdef __cplusplus
2857+
}
2858+
#endif
2859+
2860+
#endif /* _ASN_CONSTANT_H */

0 commit comments

Comments
 (0)