57 #include <rtems/test.h> 69 RtemsMessageReqConstructErrors_Pre_Id_Id,
70 RtemsMessageReqConstructErrors_Pre_Id_Null,
71 RtemsMessageReqConstructErrors_Pre_Id_NA
72 } RtemsMessageReqConstructErrors_Pre_Id;
75 RtemsMessageReqConstructErrors_Pre_Name_Valid,
76 RtemsMessageReqConstructErrors_Pre_Name_Invalid,
77 RtemsMessageReqConstructErrors_Pre_Name_NA
78 } RtemsMessageReqConstructErrors_Pre_Name;
81 RtemsMessageReqConstructErrors_Pre_MaxPending_Valid,
82 RtemsMessageReqConstructErrors_Pre_MaxPending_Zero,
83 RtemsMessageReqConstructErrors_Pre_MaxPending_Big,
84 RtemsMessageReqConstructErrors_Pre_MaxPending_NA
85 } RtemsMessageReqConstructErrors_Pre_MaxPending;
88 RtemsMessageReqConstructErrors_Pre_MaxSize_Valid,
89 RtemsMessageReqConstructErrors_Pre_MaxSize_Zero,
90 RtemsMessageReqConstructErrors_Pre_MaxSize_Big,
91 RtemsMessageReqConstructErrors_Pre_MaxSize_NA
92 } RtemsMessageReqConstructErrors_Pre_MaxSize;
95 RtemsMessageReqConstructErrors_Pre_Queues_Avail,
96 RtemsMessageReqConstructErrors_Pre_Queues_None,
97 RtemsMessageReqConstructErrors_Pre_Queues_NA
98 } RtemsMessageReqConstructErrors_Pre_Queues;
101 RtemsMessageReqConstructErrors_Pre_Area_Valid,
102 RtemsMessageReqConstructErrors_Pre_Area_Null,
103 RtemsMessageReqConstructErrors_Pre_Area_NA
104 } RtemsMessageReqConstructErrors_Pre_Area;
107 RtemsMessageReqConstructErrors_Pre_AreaSize_Valid,
108 RtemsMessageReqConstructErrors_Pre_AreaSize_Invalid,
109 RtemsMessageReqConstructErrors_Pre_AreaSize_NA
110 } RtemsMessageReqConstructErrors_Pre_AreaSize;
113 RtemsMessageReqConstructErrors_Post_Status_Ok,
114 RtemsMessageReqConstructErrors_Post_Status_InvAddress,
115 RtemsMessageReqConstructErrors_Post_Status_InvName,
116 RtemsMessageReqConstructErrors_Post_Status_InvNumber,
117 RtemsMessageReqConstructErrors_Post_Status_InvSize,
118 RtemsMessageReqConstructErrors_Post_Status_TooMany,
119 RtemsMessageReqConstructErrors_Post_Status_Unsatisfied,
120 RtemsMessageReqConstructErrors_Post_Status_NA
121 } RtemsMessageReqConstructErrors_Post_Status;
150 RtemsMessageReqConstructErrors_Instance;
152 static const char *
const RtemsMessageReqConstructErrors_PreDesc_Id[] = {
158 static const char *
const RtemsMessageReqConstructErrors_PreDesc_Name[] = {
164 static const char *
const RtemsMessageReqConstructErrors_PreDesc_MaxPending[] = {
171 static const char *
const RtemsMessageReqConstructErrors_PreDesc_MaxSize[] = {
178 static const char *
const RtemsMessageReqConstructErrors_PreDesc_Queues[] = {
184 static const char *
const RtemsMessageReqConstructErrors_PreDesc_Area[] = {
190 static const char *
const RtemsMessageReqConstructErrors_PreDesc_AreaSize[] = {
196 static const char *
const *
const RtemsMessageReqConstructErrors_PreDesc[] = {
197 RtemsMessageReqConstructErrors_PreDesc_Id,
198 RtemsMessageReqConstructErrors_PreDesc_Name,
199 RtemsMessageReqConstructErrors_PreDesc_MaxPending,
200 RtemsMessageReqConstructErrors_PreDesc_MaxSize,
201 RtemsMessageReqConstructErrors_PreDesc_Queues,
202 RtemsMessageReqConstructErrors_PreDesc_Area,
203 RtemsMessageReqConstructErrors_PreDesc_AreaSize,
207 #define MAX_MESSAGE_QUEUES 4 209 #define MAX_PENDING_MESSAGES 1 211 #define MAX_MESSAGE_SIZE 1 214 exhaust_buffers[ MAX_MESSAGE_QUEUES ][ MAX_PENDING_MESSAGES ];
217 buffers[ MAX_PENDING_MESSAGES ];
219 static void RtemsMessageReqConstructErrors_Pre_Id_Prepare(
221 RtemsMessageReqConstructErrors_Pre_Id state
225 case RtemsMessageReqConstructErrors_Pre_Id_Id: {
226 ctx->id = &ctx->id_value;
230 case RtemsMessageReqConstructErrors_Pre_Id_Null: {
235 case RtemsMessageReqConstructErrors_Pre_Id_NA:
240 static void RtemsMessageReqConstructErrors_Pre_Name_Prepare(
242 RtemsMessageReqConstructErrors_Pre_Name state
246 case RtemsMessageReqConstructErrors_Pre_Name_Valid: {
251 case RtemsMessageReqConstructErrors_Pre_Name_Invalid: {
252 ctx->config.
name = 0;
256 case RtemsMessageReqConstructErrors_Pre_Name_NA:
261 static void RtemsMessageReqConstructErrors_Pre_MaxPending_Prepare(
263 RtemsMessageReqConstructErrors_Pre_MaxPending state
267 case RtemsMessageReqConstructErrors_Pre_MaxPending_Valid: {
272 case RtemsMessageReqConstructErrors_Pre_MaxPending_Zero: {
277 case RtemsMessageReqConstructErrors_Pre_MaxPending_Big: {
282 case RtemsMessageReqConstructErrors_Pre_MaxPending_NA:
287 static void RtemsMessageReqConstructErrors_Pre_MaxSize_Prepare(
289 RtemsMessageReqConstructErrors_Pre_MaxSize state
293 case RtemsMessageReqConstructErrors_Pre_MaxSize_Valid: {
298 case RtemsMessageReqConstructErrors_Pre_MaxSize_Zero: {
303 case RtemsMessageReqConstructErrors_Pre_MaxSize_Big: {
308 case RtemsMessageReqConstructErrors_Pre_MaxSize_NA:
313 static void RtemsMessageReqConstructErrors_Pre_Queues_Prepare(
315 RtemsMessageReqConstructErrors_Pre_Queues state
322 case RtemsMessageReqConstructErrors_Pre_Queues_Avail: {
327 case RtemsMessageReqConstructErrors_Pre_Queues_None: {
328 memset( &config, 0,
sizeof( config ) );
337 while ( i < MAX_MESSAGE_QUEUES ) {
350 T_quiet_assert_not_null( info );
352 T_quiet_assert_not_null( obj );
364 case RtemsMessageReqConstructErrors_Pre_Queues_NA:
369 static void RtemsMessageReqConstructErrors_Pre_Area_Prepare(
371 RtemsMessageReqConstructErrors_Pre_Area state
375 case RtemsMessageReqConstructErrors_Pre_Area_Valid: {
380 case RtemsMessageReqConstructErrors_Pre_Area_Null: {
385 case RtemsMessageReqConstructErrors_Pre_Area_NA:
390 static void RtemsMessageReqConstructErrors_Pre_AreaSize_Prepare(
392 RtemsMessageReqConstructErrors_Pre_AreaSize state
396 case RtemsMessageReqConstructErrors_Pre_AreaSize_Valid: {
401 case RtemsMessageReqConstructErrors_Pre_AreaSize_Invalid: {
406 case RtemsMessageReqConstructErrors_Pre_AreaSize_NA:
411 static void RtemsMessageReqConstructErrors_Post_Status_Check(
413 RtemsMessageReqConstructErrors_Post_Status state
419 case RtemsMessageReqConstructErrors_Post_Status_Ok: {
420 T_rsc_success( ctx->status );
421 T_eq_ptr( ctx->id, &ctx->id_value );
422 T_ne_u32( ctx->id_value, 0xffffffff );
429 case RtemsMessageReqConstructErrors_Post_Status_InvAddress: {
432 T_eq_u32( ctx->id_value, 0xffffffff );
436 case RtemsMessageReqConstructErrors_Post_Status_InvName: {
438 T_eq_u32( ctx->id_value, 0xffffffff );
442 case RtemsMessageReqConstructErrors_Post_Status_InvNumber: {
444 T_eq_u32( ctx->id_value, 0xffffffff );
448 case RtemsMessageReqConstructErrors_Post_Status_InvSize: {
450 T_eq_u32( ctx->id_value, 0xffffffff );
454 case RtemsMessageReqConstructErrors_Post_Status_TooMany: {
456 T_eq_u32( ctx->id_value, 0xffffffff );
460 case RtemsMessageReqConstructErrors_Post_Status_Unsatisfied: {
462 T_eq_u32( ctx->id_value, 0xffffffff );
466 case RtemsMessageReqConstructErrors_Post_Status_NA:
471 static void RtemsMessageReqConstructErrors_Setup(
478 static void RtemsMessageReqConstructErrors_Setup_Wrap(
void *arg )
484 RtemsMessageReqConstructErrors_Setup( ctx );
487 static size_t RtemsMessageReqConstructErrors_Scope(
499 RtemsMessageReqConstructErrors_PreDesc,
509 static T_fixture RtemsMessageReqConstructErrors_Fixture = {
510 .setup = RtemsMessageReqConstructErrors_Setup_Wrap,
513 .scope = RtemsMessageReqConstructErrors_Scope,
514 .initial_context = &RtemsMessageReqConstructErrors_Instance
517 static const uint8_t RtemsMessageReqConstructErrors_TransitionMap[][ 1 ] = {
519 RtemsMessageReqConstructErrors_Post_Status_Ok
521 RtemsMessageReqConstructErrors_Post_Status_Unsatisfied
523 RtemsMessageReqConstructErrors_Post_Status_Unsatisfied
525 RtemsMessageReqConstructErrors_Post_Status_Unsatisfied
527 RtemsMessageReqConstructErrors_Post_Status_TooMany
529 RtemsMessageReqConstructErrors_Post_Status_TooMany
531 RtemsMessageReqConstructErrors_Post_Status_TooMany
533 RtemsMessageReqConstructErrors_Post_Status_TooMany
535 RtemsMessageReqConstructErrors_Post_Status_InvSize
537 RtemsMessageReqConstructErrors_Post_Status_InvSize
539 RtemsMessageReqConstructErrors_Post_Status_InvSize
541 RtemsMessageReqConstructErrors_Post_Status_InvSize
543 RtemsMessageReqConstructErrors_Post_Status_InvSize
545 RtemsMessageReqConstructErrors_Post_Status_InvSize
547 RtemsMessageReqConstructErrors_Post_Status_InvSize
549 RtemsMessageReqConstructErrors_Post_Status_InvSize
551 RtemsMessageReqConstructErrors_Post_Status_InvSize
553 RtemsMessageReqConstructErrors_Post_Status_InvSize
555 RtemsMessageReqConstructErrors_Post_Status_InvSize
557 RtemsMessageReqConstructErrors_Post_Status_InvSize
559 RtemsMessageReqConstructErrors_Post_Status_TooMany
561 RtemsMessageReqConstructErrors_Post_Status_TooMany
563 RtemsMessageReqConstructErrors_Post_Status_TooMany
565 RtemsMessageReqConstructErrors_Post_Status_TooMany
567 RtemsMessageReqConstructErrors_Post_Status_InvNumber
569 RtemsMessageReqConstructErrors_Post_Status_InvNumber
571 RtemsMessageReqConstructErrors_Post_Status_InvNumber
573 RtemsMessageReqConstructErrors_Post_Status_InvNumber
575 RtemsMessageReqConstructErrors_Post_Status_InvNumber
577 RtemsMessageReqConstructErrors_Post_Status_InvNumber
579 RtemsMessageReqConstructErrors_Post_Status_InvNumber
581 RtemsMessageReqConstructErrors_Post_Status_InvNumber
583 RtemsMessageReqConstructErrors_Post_Status_InvNumber
585 RtemsMessageReqConstructErrors_Post_Status_InvNumber
587 RtemsMessageReqConstructErrors_Post_Status_InvNumber
589 RtemsMessageReqConstructErrors_Post_Status_InvNumber
591 RtemsMessageReqConstructErrors_Post_Status_InvNumber
593 RtemsMessageReqConstructErrors_Post_Status_InvNumber
595 RtemsMessageReqConstructErrors_Post_Status_InvNumber
597 RtemsMessageReqConstructErrors_Post_Status_InvNumber
599 RtemsMessageReqConstructErrors_Post_Status_InvNumber
601 RtemsMessageReqConstructErrors_Post_Status_InvNumber
603 RtemsMessageReqConstructErrors_Post_Status_InvNumber
605 RtemsMessageReqConstructErrors_Post_Status_InvNumber
607 RtemsMessageReqConstructErrors_Post_Status_InvNumber
609 RtemsMessageReqConstructErrors_Post_Status_InvNumber
611 RtemsMessageReqConstructErrors_Post_Status_InvNumber
613 RtemsMessageReqConstructErrors_Post_Status_InvNumber
615 RtemsMessageReqConstructErrors_Post_Status_InvNumber
617 RtemsMessageReqConstructErrors_Post_Status_InvNumber
619 RtemsMessageReqConstructErrors_Post_Status_InvNumber
621 RtemsMessageReqConstructErrors_Post_Status_InvNumber
623 RtemsMessageReqConstructErrors_Post_Status_TooMany
625 RtemsMessageReqConstructErrors_Post_Status_TooMany
627 RtemsMessageReqConstructErrors_Post_Status_TooMany
629 RtemsMessageReqConstructErrors_Post_Status_TooMany
631 RtemsMessageReqConstructErrors_Post_Status_InvSize
633 RtemsMessageReqConstructErrors_Post_Status_InvSize
635 RtemsMessageReqConstructErrors_Post_Status_InvSize
637 RtemsMessageReqConstructErrors_Post_Status_InvSize
639 RtemsMessageReqConstructErrors_Post_Status_InvSize
641 RtemsMessageReqConstructErrors_Post_Status_InvSize
643 RtemsMessageReqConstructErrors_Post_Status_InvSize
645 RtemsMessageReqConstructErrors_Post_Status_InvSize
647 RtemsMessageReqConstructErrors_Post_Status_InvSize
649 RtemsMessageReqConstructErrors_Post_Status_InvSize
651 RtemsMessageReqConstructErrors_Post_Status_InvSize
653 RtemsMessageReqConstructErrors_Post_Status_InvSize
655 RtemsMessageReqConstructErrors_Post_Status_TooMany
657 RtemsMessageReqConstructErrors_Post_Status_TooMany
659 RtemsMessageReqConstructErrors_Post_Status_TooMany
661 RtemsMessageReqConstructErrors_Post_Status_TooMany
663 RtemsMessageReqConstructErrors_Post_Status_InvName
665 RtemsMessageReqConstructErrors_Post_Status_InvName
667 RtemsMessageReqConstructErrors_Post_Status_InvName
669 RtemsMessageReqConstructErrors_Post_Status_InvName
671 RtemsMessageReqConstructErrors_Post_Status_InvName
673 RtemsMessageReqConstructErrors_Post_Status_InvName
675 RtemsMessageReqConstructErrors_Post_Status_InvName
677 RtemsMessageReqConstructErrors_Post_Status_InvName
679 RtemsMessageReqConstructErrors_Post_Status_InvName
681 RtemsMessageReqConstructErrors_Post_Status_InvName
683 RtemsMessageReqConstructErrors_Post_Status_InvName
685 RtemsMessageReqConstructErrors_Post_Status_InvName
687 RtemsMessageReqConstructErrors_Post_Status_InvName
689 RtemsMessageReqConstructErrors_Post_Status_InvName
691 RtemsMessageReqConstructErrors_Post_Status_InvName
693 RtemsMessageReqConstructErrors_Post_Status_InvName
695 RtemsMessageReqConstructErrors_Post_Status_InvName
697 RtemsMessageReqConstructErrors_Post_Status_InvName
699 RtemsMessageReqConstructErrors_Post_Status_InvName
701 RtemsMessageReqConstructErrors_Post_Status_InvName
703 RtemsMessageReqConstructErrors_Post_Status_InvName
705 RtemsMessageReqConstructErrors_Post_Status_InvName
707 RtemsMessageReqConstructErrors_Post_Status_InvName
709 RtemsMessageReqConstructErrors_Post_Status_InvName
711 RtemsMessageReqConstructErrors_Post_Status_InvName
713 RtemsMessageReqConstructErrors_Post_Status_InvName
715 RtemsMessageReqConstructErrors_Post_Status_InvName
717 RtemsMessageReqConstructErrors_Post_Status_InvName
719 RtemsMessageReqConstructErrors_Post_Status_InvName
721 RtemsMessageReqConstructErrors_Post_Status_InvName
723 RtemsMessageReqConstructErrors_Post_Status_InvName
725 RtemsMessageReqConstructErrors_Post_Status_InvName
727 RtemsMessageReqConstructErrors_Post_Status_InvName
729 RtemsMessageReqConstructErrors_Post_Status_InvName
731 RtemsMessageReqConstructErrors_Post_Status_InvName
733 RtemsMessageReqConstructErrors_Post_Status_InvName
735 RtemsMessageReqConstructErrors_Post_Status_InvName
737 RtemsMessageReqConstructErrors_Post_Status_InvName
739 RtemsMessageReqConstructErrors_Post_Status_InvName
741 RtemsMessageReqConstructErrors_Post_Status_InvName
743 RtemsMessageReqConstructErrors_Post_Status_InvName
745 RtemsMessageReqConstructErrors_Post_Status_InvName
747 RtemsMessageReqConstructErrors_Post_Status_InvName
749 RtemsMessageReqConstructErrors_Post_Status_InvName
751 RtemsMessageReqConstructErrors_Post_Status_InvName
753 RtemsMessageReqConstructErrors_Post_Status_InvName
755 RtemsMessageReqConstructErrors_Post_Status_InvName
757 RtemsMessageReqConstructErrors_Post_Status_InvName
759 RtemsMessageReqConstructErrors_Post_Status_InvName
761 RtemsMessageReqConstructErrors_Post_Status_InvName
763 RtemsMessageReqConstructErrors_Post_Status_InvName
765 RtemsMessageReqConstructErrors_Post_Status_InvName
767 RtemsMessageReqConstructErrors_Post_Status_InvName
769 RtemsMessageReqConstructErrors_Post_Status_InvName
771 RtemsMessageReqConstructErrors_Post_Status_InvName
773 RtemsMessageReqConstructErrors_Post_Status_InvName
775 RtemsMessageReqConstructErrors_Post_Status_InvName
777 RtemsMessageReqConstructErrors_Post_Status_InvName
779 RtemsMessageReqConstructErrors_Post_Status_InvName
781 RtemsMessageReqConstructErrors_Post_Status_InvName
783 RtemsMessageReqConstructErrors_Post_Status_InvName
785 RtemsMessageReqConstructErrors_Post_Status_InvName
787 RtemsMessageReqConstructErrors_Post_Status_InvName
789 RtemsMessageReqConstructErrors_Post_Status_InvName
791 RtemsMessageReqConstructErrors_Post_Status_InvName
793 RtemsMessageReqConstructErrors_Post_Status_InvName
795 RtemsMessageReqConstructErrors_Post_Status_InvName
797 RtemsMessageReqConstructErrors_Post_Status_InvName
799 RtemsMessageReqConstructErrors_Post_Status_InvName
801 RtemsMessageReqConstructErrors_Post_Status_InvName
803 RtemsMessageReqConstructErrors_Post_Status_InvName
805 RtemsMessageReqConstructErrors_Post_Status_InvName
807 RtemsMessageReqConstructErrors_Post_Status_InvAddress
809 RtemsMessageReqConstructErrors_Post_Status_InvAddress
811 RtemsMessageReqConstructErrors_Post_Status_InvAddress
813 RtemsMessageReqConstructErrors_Post_Status_InvAddress
815 RtemsMessageReqConstructErrors_Post_Status_InvAddress
817 RtemsMessageReqConstructErrors_Post_Status_InvAddress
819 RtemsMessageReqConstructErrors_Post_Status_InvAddress
821 RtemsMessageReqConstructErrors_Post_Status_InvAddress
823 RtemsMessageReqConstructErrors_Post_Status_InvAddress
825 RtemsMessageReqConstructErrors_Post_Status_InvAddress
827 RtemsMessageReqConstructErrors_Post_Status_InvAddress
829 RtemsMessageReqConstructErrors_Post_Status_InvAddress
831 RtemsMessageReqConstructErrors_Post_Status_InvAddress
833 RtemsMessageReqConstructErrors_Post_Status_InvAddress
835 RtemsMessageReqConstructErrors_Post_Status_InvAddress
837 RtemsMessageReqConstructErrors_Post_Status_InvAddress
839 RtemsMessageReqConstructErrors_Post_Status_InvAddress
841 RtemsMessageReqConstructErrors_Post_Status_InvAddress
843 RtemsMessageReqConstructErrors_Post_Status_InvAddress
845 RtemsMessageReqConstructErrors_Post_Status_InvAddress
847 RtemsMessageReqConstructErrors_Post_Status_InvAddress
849 RtemsMessageReqConstructErrors_Post_Status_InvAddress
851 RtemsMessageReqConstructErrors_Post_Status_InvAddress
853 RtemsMessageReqConstructErrors_Post_Status_InvAddress
855 RtemsMessageReqConstructErrors_Post_Status_InvAddress
857 RtemsMessageReqConstructErrors_Post_Status_InvAddress
859 RtemsMessageReqConstructErrors_Post_Status_InvAddress
861 RtemsMessageReqConstructErrors_Post_Status_InvAddress
863 RtemsMessageReqConstructErrors_Post_Status_InvAddress
865 RtemsMessageReqConstructErrors_Post_Status_InvAddress
867 RtemsMessageReqConstructErrors_Post_Status_InvAddress
869 RtemsMessageReqConstructErrors_Post_Status_InvAddress
871 RtemsMessageReqConstructErrors_Post_Status_InvAddress
873 RtemsMessageReqConstructErrors_Post_Status_InvAddress
875 RtemsMessageReqConstructErrors_Post_Status_InvAddress
877 RtemsMessageReqConstructErrors_Post_Status_InvAddress
879 RtemsMessageReqConstructErrors_Post_Status_InvAddress
881 RtemsMessageReqConstructErrors_Post_Status_InvAddress
883 RtemsMessageReqConstructErrors_Post_Status_InvAddress
885 RtemsMessageReqConstructErrors_Post_Status_InvAddress
887 RtemsMessageReqConstructErrors_Post_Status_InvAddress
889 RtemsMessageReqConstructErrors_Post_Status_InvAddress
891 RtemsMessageReqConstructErrors_Post_Status_InvAddress
893 RtemsMessageReqConstructErrors_Post_Status_InvAddress
895 RtemsMessageReqConstructErrors_Post_Status_InvAddress
897 RtemsMessageReqConstructErrors_Post_Status_InvAddress
899 RtemsMessageReqConstructErrors_Post_Status_InvAddress
901 RtemsMessageReqConstructErrors_Post_Status_InvAddress
903 RtemsMessageReqConstructErrors_Post_Status_InvAddress
905 RtemsMessageReqConstructErrors_Post_Status_InvAddress
907 RtemsMessageReqConstructErrors_Post_Status_InvAddress
909 RtemsMessageReqConstructErrors_Post_Status_InvAddress
911 RtemsMessageReqConstructErrors_Post_Status_InvAddress
913 RtemsMessageReqConstructErrors_Post_Status_InvAddress
915 RtemsMessageReqConstructErrors_Post_Status_InvAddress
917 RtemsMessageReqConstructErrors_Post_Status_InvAddress
919 RtemsMessageReqConstructErrors_Post_Status_InvAddress
921 RtemsMessageReqConstructErrors_Post_Status_InvAddress
923 RtemsMessageReqConstructErrors_Post_Status_InvAddress
925 RtemsMessageReqConstructErrors_Post_Status_InvAddress
927 RtemsMessageReqConstructErrors_Post_Status_InvAddress
929 RtemsMessageReqConstructErrors_Post_Status_InvAddress
931 RtemsMessageReqConstructErrors_Post_Status_InvAddress
933 RtemsMessageReqConstructErrors_Post_Status_InvAddress
935 RtemsMessageReqConstructErrors_Post_Status_InvAddress
937 RtemsMessageReqConstructErrors_Post_Status_InvAddress
939 RtemsMessageReqConstructErrors_Post_Status_InvAddress
941 RtemsMessageReqConstructErrors_Post_Status_InvAddress
943 RtemsMessageReqConstructErrors_Post_Status_InvAddress
945 RtemsMessageReqConstructErrors_Post_Status_InvAddress
947 RtemsMessageReqConstructErrors_Post_Status_InvAddress
949 RtemsMessageReqConstructErrors_Post_Status_InvAddress
951 RtemsMessageReqConstructErrors_Post_Status_InvName
953 RtemsMessageReqConstructErrors_Post_Status_InvName
955 RtemsMessageReqConstructErrors_Post_Status_InvName
957 RtemsMessageReqConstructErrors_Post_Status_InvName
959 RtemsMessageReqConstructErrors_Post_Status_InvName
961 RtemsMessageReqConstructErrors_Post_Status_InvName
963 RtemsMessageReqConstructErrors_Post_Status_InvName
965 RtemsMessageReqConstructErrors_Post_Status_InvName
967 RtemsMessageReqConstructErrors_Post_Status_InvName
969 RtemsMessageReqConstructErrors_Post_Status_InvName
971 RtemsMessageReqConstructErrors_Post_Status_InvName
973 RtemsMessageReqConstructErrors_Post_Status_InvName
975 RtemsMessageReqConstructErrors_Post_Status_InvName
977 RtemsMessageReqConstructErrors_Post_Status_InvName
979 RtemsMessageReqConstructErrors_Post_Status_InvName
981 RtemsMessageReqConstructErrors_Post_Status_InvName
983 RtemsMessageReqConstructErrors_Post_Status_InvName
985 RtemsMessageReqConstructErrors_Post_Status_InvName
987 RtemsMessageReqConstructErrors_Post_Status_InvName
989 RtemsMessageReqConstructErrors_Post_Status_InvName
991 RtemsMessageReqConstructErrors_Post_Status_InvName
993 RtemsMessageReqConstructErrors_Post_Status_InvName
995 RtemsMessageReqConstructErrors_Post_Status_InvName
997 RtemsMessageReqConstructErrors_Post_Status_InvName
999 RtemsMessageReqConstructErrors_Post_Status_InvName
1001 RtemsMessageReqConstructErrors_Post_Status_InvName
1003 RtemsMessageReqConstructErrors_Post_Status_InvName
1005 RtemsMessageReqConstructErrors_Post_Status_InvName
1007 RtemsMessageReqConstructErrors_Post_Status_InvName
1009 RtemsMessageReqConstructErrors_Post_Status_InvName
1011 RtemsMessageReqConstructErrors_Post_Status_InvName
1013 RtemsMessageReqConstructErrors_Post_Status_InvName
1015 RtemsMessageReqConstructErrors_Post_Status_InvName
1017 RtemsMessageReqConstructErrors_Post_Status_InvName
1019 RtemsMessageReqConstructErrors_Post_Status_InvName
1021 RtemsMessageReqConstructErrors_Post_Status_InvName
1023 RtemsMessageReqConstructErrors_Post_Status_InvName
1025 RtemsMessageReqConstructErrors_Post_Status_InvName
1027 RtemsMessageReqConstructErrors_Post_Status_InvName
1029 RtemsMessageReqConstructErrors_Post_Status_InvName
1031 RtemsMessageReqConstructErrors_Post_Status_InvName
1033 RtemsMessageReqConstructErrors_Post_Status_InvName
1035 RtemsMessageReqConstructErrors_Post_Status_InvName
1037 RtemsMessageReqConstructErrors_Post_Status_InvName
1039 RtemsMessageReqConstructErrors_Post_Status_InvName
1041 RtemsMessageReqConstructErrors_Post_Status_InvName
1043 RtemsMessageReqConstructErrors_Post_Status_InvName
1045 RtemsMessageReqConstructErrors_Post_Status_InvName
1047 RtemsMessageReqConstructErrors_Post_Status_InvName
1049 RtemsMessageReqConstructErrors_Post_Status_InvName
1051 RtemsMessageReqConstructErrors_Post_Status_InvName
1053 RtemsMessageReqConstructErrors_Post_Status_InvName
1055 RtemsMessageReqConstructErrors_Post_Status_InvName
1057 RtemsMessageReqConstructErrors_Post_Status_InvName
1059 RtemsMessageReqConstructErrors_Post_Status_InvName
1061 RtemsMessageReqConstructErrors_Post_Status_InvName
1063 RtemsMessageReqConstructErrors_Post_Status_InvName
1065 RtemsMessageReqConstructErrors_Post_Status_InvName
1067 RtemsMessageReqConstructErrors_Post_Status_InvName
1069 RtemsMessageReqConstructErrors_Post_Status_InvName
1071 RtemsMessageReqConstructErrors_Post_Status_InvName
1073 RtemsMessageReqConstructErrors_Post_Status_InvName
1075 RtemsMessageReqConstructErrors_Post_Status_InvName
1077 RtemsMessageReqConstructErrors_Post_Status_InvName
1079 RtemsMessageReqConstructErrors_Post_Status_InvName
1081 RtemsMessageReqConstructErrors_Post_Status_InvName
1083 RtemsMessageReqConstructErrors_Post_Status_InvName
1085 RtemsMessageReqConstructErrors_Post_Status_InvName
1087 RtemsMessageReqConstructErrors_Post_Status_InvName
1089 RtemsMessageReqConstructErrors_Post_Status_InvName
1091 RtemsMessageReqConstructErrors_Post_Status_InvName
1093 RtemsMessageReqConstructErrors_Post_Status_InvName
1097 static const struct {
1099 uint8_t Pre_Id_NA : 1;
1100 uint8_t Pre_Name_NA : 1;
1101 uint8_t Pre_MaxPending_NA : 1;
1102 uint8_t Pre_MaxSize_NA : 1;
1103 uint8_t Pre_Queues_NA : 1;
1104 uint8_t Pre_Area_NA : 1;
1105 uint8_t Pre_AreaSize_NA : 1;
1106 } RtemsMessageReqConstructErrors_TransitionInfo[] = {
1108 0, 0, 0, 0, 0, 0, 0, 0
1110 0, 0, 0, 0, 0, 0, 0, 0
1112 0, 0, 0, 0, 0, 0, 0, 0
1114 0, 0, 0, 0, 0, 0, 0, 0
1116 0, 0, 0, 0, 0, 0, 0, 0
1118 0, 0, 0, 0, 0, 0, 0, 0
1120 0, 0, 0, 0, 0, 0, 0, 0
1122 0, 0, 0, 0, 0, 0, 0, 0
1124 0, 0, 0, 0, 0, 0, 0, 0
1126 0, 0, 0, 0, 0, 0, 0, 0
1128 0, 0, 0, 0, 0, 0, 0, 0
1130 0, 0, 0, 0, 0, 0, 0, 0
1132 0, 0, 0, 0, 0, 0, 0, 0
1134 0, 0, 0, 0, 0, 0, 0, 0
1136 0, 0, 0, 0, 0, 0, 0, 0
1138 0, 0, 0, 0, 0, 0, 0, 0
1140 0, 0, 0, 0, 0, 0, 0, 0
1142 0, 0, 0, 0, 0, 0, 0, 0
1144 0, 0, 0, 0, 0, 0, 0, 0
1146 0, 0, 0, 0, 0, 0, 0, 0
1148 0, 0, 0, 0, 0, 0, 0, 0
1150 0, 0, 0, 0, 0, 0, 0, 0
1152 0, 0, 0, 0, 0, 0, 0, 0
1154 0, 0, 0, 0, 0, 0, 0, 0
1156 0, 0, 0, 0, 0, 0, 0, 0
1158 0, 0, 0, 0, 0, 0, 0, 0
1160 0, 0, 0, 0, 0, 0, 0, 0
1162 0, 0, 0, 0, 0, 0, 0, 0
1164 0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0, 0, 0, 0, 0
1638 0, 0, 0, 0, 0, 0, 0, 0
1640 0, 0, 0, 0, 0, 0, 0, 0
1642 0, 0, 0, 0, 0, 0, 0, 0
1644 0, 0, 0, 0, 0, 0, 0, 0
1646 0, 0, 0, 0, 0, 0, 0, 0
1648 0, 0, 0, 0, 0, 0, 0, 0
1650 0, 0, 0, 0, 0, 0, 0, 0
1652 0, 0, 0, 0, 0, 0, 0, 0
1654 0, 0, 0, 0, 0, 0, 0, 0
1656 0, 0, 0, 0, 0, 0, 0, 0
1658 0, 0, 0, 0, 0, 0, 0, 0
1660 0, 0, 0, 0, 0, 0, 0, 0
1662 0, 0, 0, 0, 0, 0, 0, 0
1664 0, 0, 0, 0, 0, 0, 0, 0
1666 0, 0, 0, 0, 0, 0, 0, 0
1668 0, 0, 0, 0, 0, 0, 0, 0
1670 0, 0, 0, 0, 0, 0, 0, 0
1672 0, 0, 0, 0, 0, 0, 0, 0
1674 0, 0, 0, 0, 0, 0, 0, 0
1676 0, 0, 0, 0, 0, 0, 0, 0
1678 0, 0, 0, 0, 0, 0, 0, 0
1680 0, 0, 0, 0, 0, 0, 0, 0
1682 0, 0, 0, 0, 0, 0, 0, 0
1686 static void RtemsMessageReqConstructErrors_Prepare(
1690 ctx->id_value = 0xffffffff;
1691 memset( &ctx->config, 0,
sizeof( ctx->config ) );
1694 static void RtemsMessageReqConstructErrors_Action(
1701 static void RtemsMessageReqConstructErrors_Cleanup(
1713 T_quiet_rsc_success( sc );
1720 T_TEST_CASE_FIXTURE(
1721 RtemsMessageReqConstructErrors,
1722 &RtemsMessageReqConstructErrors_Fixture
1728 ctx = T_fixture_context();
1733 ctx->
pcs[ 0 ] = RtemsMessageReqConstructErrors_Pre_Id_Id;
1734 ctx->
pcs[ 0 ] < RtemsMessageReqConstructErrors_Pre_Id_NA;
1737 if ( RtemsMessageReqConstructErrors_TransitionInfo[ index ].Pre_Id_NA ) {
1738 ctx->
pcs[ 0 ] = RtemsMessageReqConstructErrors_Pre_Id_NA;
1739 index += ( RtemsMessageReqConstructErrors_Pre_Id_NA - 1 )
1740 * RtemsMessageReqConstructErrors_Pre_Name_NA
1741 * RtemsMessageReqConstructErrors_Pre_MaxPending_NA
1742 * RtemsMessageReqConstructErrors_Pre_MaxSize_NA
1743 * RtemsMessageReqConstructErrors_Pre_Queues_NA
1744 * RtemsMessageReqConstructErrors_Pre_Area_NA
1745 * RtemsMessageReqConstructErrors_Pre_AreaSize_NA;
1749 ctx->
pcs[ 1 ] = RtemsMessageReqConstructErrors_Pre_Name_Valid;
1750 ctx->
pcs[ 1 ] < RtemsMessageReqConstructErrors_Pre_Name_NA;
1753 if ( RtemsMessageReqConstructErrors_TransitionInfo[ index ].Pre_Name_NA ) {
1754 ctx->
pcs[ 1 ] = RtemsMessageReqConstructErrors_Pre_Name_NA;
1755 index += ( RtemsMessageReqConstructErrors_Pre_Name_NA - 1 )
1756 * RtemsMessageReqConstructErrors_Pre_MaxPending_NA
1757 * RtemsMessageReqConstructErrors_Pre_MaxSize_NA
1758 * RtemsMessageReqConstructErrors_Pre_Queues_NA
1759 * RtemsMessageReqConstructErrors_Pre_Area_NA
1760 * RtemsMessageReqConstructErrors_Pre_AreaSize_NA;
1764 ctx->
pcs[ 2 ] = RtemsMessageReqConstructErrors_Pre_MaxPending_Valid;
1765 ctx->
pcs[ 2 ] < RtemsMessageReqConstructErrors_Pre_MaxPending_NA;
1768 if ( RtemsMessageReqConstructErrors_TransitionInfo[ index ].Pre_MaxPending_NA ) {
1769 ctx->
pcs[ 2 ] = RtemsMessageReqConstructErrors_Pre_MaxPending_NA;
1770 index += ( RtemsMessageReqConstructErrors_Pre_MaxPending_NA - 1 )
1771 * RtemsMessageReqConstructErrors_Pre_MaxSize_NA
1772 * RtemsMessageReqConstructErrors_Pre_Queues_NA
1773 * RtemsMessageReqConstructErrors_Pre_Area_NA
1774 * RtemsMessageReqConstructErrors_Pre_AreaSize_NA;
1778 ctx->
pcs[ 3 ] = RtemsMessageReqConstructErrors_Pre_MaxSize_Valid;
1779 ctx->
pcs[ 3 ] < RtemsMessageReqConstructErrors_Pre_MaxSize_NA;
1782 if ( RtemsMessageReqConstructErrors_TransitionInfo[ index ].Pre_MaxSize_NA ) {
1783 ctx->
pcs[ 3 ] = RtemsMessageReqConstructErrors_Pre_MaxSize_NA;
1784 index += ( RtemsMessageReqConstructErrors_Pre_MaxSize_NA - 1 )
1785 * RtemsMessageReqConstructErrors_Pre_Queues_NA
1786 * RtemsMessageReqConstructErrors_Pre_Area_NA
1787 * RtemsMessageReqConstructErrors_Pre_AreaSize_NA;
1791 ctx->
pcs[ 4 ] = RtemsMessageReqConstructErrors_Pre_Queues_Avail;
1792 ctx->
pcs[ 4 ] < RtemsMessageReqConstructErrors_Pre_Queues_NA;
1795 if ( RtemsMessageReqConstructErrors_TransitionInfo[ index ].Pre_Queues_NA ) {
1796 ctx->
pcs[ 4 ] = RtemsMessageReqConstructErrors_Pre_Queues_NA;
1797 index += ( RtemsMessageReqConstructErrors_Pre_Queues_NA - 1 )
1798 * RtemsMessageReqConstructErrors_Pre_Area_NA
1799 * RtemsMessageReqConstructErrors_Pre_AreaSize_NA;
1803 ctx->
pcs[ 5 ] = RtemsMessageReqConstructErrors_Pre_Area_Valid;
1804 ctx->
pcs[ 5 ] < RtemsMessageReqConstructErrors_Pre_Area_NA;
1807 if ( RtemsMessageReqConstructErrors_TransitionInfo[ index ].Pre_Area_NA ) {
1808 ctx->
pcs[ 5 ] = RtemsMessageReqConstructErrors_Pre_Area_NA;
1809 index += ( RtemsMessageReqConstructErrors_Pre_Area_NA - 1 )
1810 * RtemsMessageReqConstructErrors_Pre_AreaSize_NA;
1814 ctx->
pcs[ 6 ] = RtemsMessageReqConstructErrors_Pre_AreaSize_Valid;
1815 ctx->
pcs[ 6 ] < RtemsMessageReqConstructErrors_Pre_AreaSize_NA;
1818 if ( RtemsMessageReqConstructErrors_TransitionInfo[ index ].Pre_AreaSize_NA ) {
1819 ctx->
pcs[ 6 ] = RtemsMessageReqConstructErrors_Pre_AreaSize_NA;
1820 index += ( RtemsMessageReqConstructErrors_Pre_AreaSize_NA - 1 );
1823 if ( RtemsMessageReqConstructErrors_TransitionInfo[ index ].Skip ) {
1828 RtemsMessageReqConstructErrors_Prepare( ctx );
1829 RtemsMessageReqConstructErrors_Pre_Id_Prepare(
1833 RtemsMessageReqConstructErrors_Pre_Name_Prepare(
1837 RtemsMessageReqConstructErrors_Pre_MaxPending_Prepare(
1841 RtemsMessageReqConstructErrors_Pre_MaxSize_Prepare(
1845 RtemsMessageReqConstructErrors_Pre_Queues_Prepare(
1849 RtemsMessageReqConstructErrors_Pre_Area_Prepare(
1853 RtemsMessageReqConstructErrors_Pre_AreaSize_Prepare(
1857 RtemsMessageReqConstructErrors_Action( ctx );
1858 RtemsMessageReqConstructErrors_Post_Status_Check(
1860 RtemsMessageReqConstructErrors_TransitionMap[ index ][ 0 ]
1862 RtemsMessageReqConstructErrors_Cleanup( ctx );
This status code indicates you have attempted to create too many instances of a particular object cla...
rtems_status_code rtems_message_queue_delete(rtems_id id)
%
#define RTEMS_MESSAGE_QUEUE_BUFFER(_maximum_message_size)
Defines a structure which can be used as a message queue buffer for messages of the specified maximum...
bool in_action_loop
This member indicates if the test action loop is currently executed.
This status code indicates that the request was not satisfied.
Objects_Information * _Objects_Get_information_id(Objects_Id id)
Gets information of an object from an ID.
Test context for spec:/rtems/message/req/construct-errors test case.
#define RTEMS_DEFAULT_ATTRIBUTES
This is the default value for an attribute set.
#define rtems_build_name(_C1, _C2, _C3, _C4)
%
This status code indicates that a specified number was invalid.
rtems_name name
This member defines the name of the message queue.
This status code indicates successful completion.
static __inline__ void _Chain_Append_unprotected(Chain_Control *the_chain, Chain_Node *the_node)
Appends a node (unprotected).
Inlined Routines in the Object Handler.
rtems_status_code
This enumeration provides status codes for directives of the Classic API.
This structure defines the configuration of a message queue constructed by rtems_message_queue_constr...
void * storage_area
This member shall point to the message buffer storage area begin.
This status code indicates that a specified address was invalid.
This header file defines the RTEMS Classic API.
size_t pcs[7]
This member defines the pre-condition states for the next action.
Objects_Id rtems_id
Values of this type identify an RTEMS object.
static __inline__ void _Chain_Initialize_empty(Chain_Control *the_chain)
Initializes this chain as empty.
rtems_status_code rtems_message_queue_construct(const rtems_message_queue_config *config, rtems_id *id)
Constructs a message queue from the specified the message queue configuration.
This status code indicates that an object name was invalid.
rtems_attribute attributes
This member defines the attributes of the message queue.
Objects_Control * _Objects_Get_no_protection(Objects_Id id, const Objects_Information *information)
Maps object ids to object control blocks.
size_t storage_size
This member defines size of the message buffer storage area in bytes.
This status code indicates that a specified size was invalid.
size_t maximum_message_size
This member defines the maximum message size supported by the message queue.
static __inline__ Chain_Node * _Chain_Get_unprotected(Chain_Control *the_chain)
Gets the first node (unprotected).
uint32_t maximum_pending_messages
This member defines the maximum number of pending messages supported by the message queue...