Skip to content

Commit

Permalink
Regenerate test cases
Browse files Browse the repository at this point in the history
  • Loading branch information
brchiu committed Jan 16, 2018
1 parent 72f7e2c commit 34c666d
Show file tree
Hide file tree
Showing 7 changed files with 158 additions and 0 deletions.
22 changes: 22 additions & 0 deletions tests/tests-asn1c-compiler/139-component-relation-OK.asn1.-P
Original file line number Diff line number Diff line change
Expand Up @@ -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 */
22 changes: 22 additions & 0 deletions tests/tests-asn1c-compiler/140-component-relation-OK.asn1.-P
Original file line number Diff line number Diff line change
Expand Up @@ -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 */
23 changes: 23 additions & 0 deletions tests/tests-asn1c-compiler/141-component-relation-OK.asn1.-P
Original file line number Diff line number Diff line change
Expand Up @@ -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 */
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down Expand Up @@ -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 */
22 changes: 22 additions & 0 deletions tests/tests-asn1c-compiler/32-sequence-of-OK.asn1.-P
Original file line number Diff line number Diff line change
Expand Up @@ -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 */
23 changes: 23 additions & 0 deletions tests/tests-asn1c-compiler/50-constraint-OK.asn1.-Pfwide-types
Original file line number Diff line number Diff line change
Expand Up @@ -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] >>> ***/

Expand Down Expand Up @@ -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 */
23 changes: 23 additions & 0 deletions tests/tests-asn1c-compiler/50-constraint-OK.asn1.-Pgen-PER
Original file line number Diff line number Diff line change
Expand Up @@ -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] >>> ***/

Expand Down Expand Up @@ -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 */

0 comments on commit 34c666d

Please sign in to comment.