RTEMS
Files | Classes | Macros | Enumerations | Functions | Variables
spec:/rtems/message/req/construct-errors

Files

file  tc-message-construct-errors.c
 

Classes

struct  RtemsMessageReqConstructErrors_Context
 Test context for spec:/rtems/message/req/construct-errors test case. More...
 

Macros

#define MAX_MESSAGE_QUEUES   4
 
#define MAX_PENDING_MESSAGES   1
 
#define MAX_MESSAGE_SIZE   1
 

Enumerations

enum  RtemsMessageReqConstructErrors_Pre_Id { RtemsMessageReqConstructErrors_Pre_Id_Id, RtemsMessageReqConstructErrors_Pre_Id_Null, RtemsMessageReqConstructErrors_Pre_Id_NA }
 
enum  RtemsMessageReqConstructErrors_Pre_Name { RtemsMessageReqConstructErrors_Pre_Name_Valid, RtemsMessageReqConstructErrors_Pre_Name_Invalid, RtemsMessageReqConstructErrors_Pre_Name_NA }
 
enum  RtemsMessageReqConstructErrors_Pre_MaxPending { RtemsMessageReqConstructErrors_Pre_MaxPending_Valid, RtemsMessageReqConstructErrors_Pre_MaxPending_Zero, RtemsMessageReqConstructErrors_Pre_MaxPending_Big, RtemsMessageReqConstructErrors_Pre_MaxPending_NA }
 
enum  RtemsMessageReqConstructErrors_Pre_MaxSize { RtemsMessageReqConstructErrors_Pre_MaxSize_Valid, RtemsMessageReqConstructErrors_Pre_MaxSize_Zero, RtemsMessageReqConstructErrors_Pre_MaxSize_Big, RtemsMessageReqConstructErrors_Pre_MaxSize_NA }
 
enum  RtemsMessageReqConstructErrors_Pre_Queues { RtemsMessageReqConstructErrors_Pre_Queues_Avail, RtemsMessageReqConstructErrors_Pre_Queues_None, RtemsMessageReqConstructErrors_Pre_Queues_NA }
 
enum  RtemsMessageReqConstructErrors_Pre_Area { RtemsMessageReqConstructErrors_Pre_Area_Valid, RtemsMessageReqConstructErrors_Pre_Area_Null, RtemsMessageReqConstructErrors_Pre_Area_NA }
 
enum  RtemsMessageReqConstructErrors_Pre_AreaSize { RtemsMessageReqConstructErrors_Pre_AreaSize_Valid, RtemsMessageReqConstructErrors_Pre_AreaSize_Invalid, RtemsMessageReqConstructErrors_Pre_AreaSize_NA }
 
enum  RtemsMessageReqConstructErrors_Post_Status {
  RtemsMessageReqConstructErrors_Post_Status_Ok, RtemsMessageReqConstructErrors_Post_Status_InvAddress, RtemsMessageReqConstructErrors_Post_Status_InvName, RtemsMessageReqConstructErrors_Post_Status_InvNumber,
  RtemsMessageReqConstructErrors_Post_Status_InvSize, RtemsMessageReqConstructErrors_Post_Status_TooMany, RtemsMessageReqConstructErrors_Post_Status_Unsatisfied, RtemsMessageReqConstructErrors_Post_Status_NA
}
 

Functions

static RTEMS_MESSAGE_QUEUE_BUFFER (static RTEMS_MESSAGE_QUEUE_BUFFER MAX_MESSAGE_SIZE)
 
static void RtemsMessageReqConstructErrors_Pre_Name_Prepare (RtemsMessageReqConstructErrors_Context *ctx, RtemsMessageReqConstructErrors_Pre_Name state)
 
static void RtemsMessageReqConstructErrors_Pre_MaxPending_Prepare (RtemsMessageReqConstructErrors_Context *ctx, RtemsMessageReqConstructErrors_Pre_MaxPending state)
 
static void RtemsMessageReqConstructErrors_Pre_MaxSize_Prepare (RtemsMessageReqConstructErrors_Context *ctx, RtemsMessageReqConstructErrors_Pre_MaxSize state)
 
static void RtemsMessageReqConstructErrors_Pre_Queues_Prepare (RtemsMessageReqConstructErrors_Context *ctx, RtemsMessageReqConstructErrors_Pre_Queues state)
 
static void RtemsMessageReqConstructErrors_Pre_Area_Prepare (RtemsMessageReqConstructErrors_Context *ctx, RtemsMessageReqConstructErrors_Pre_Area state)
 
static void RtemsMessageReqConstructErrors_Pre_AreaSize_Prepare (RtemsMessageReqConstructErrors_Context *ctx, RtemsMessageReqConstructErrors_Pre_AreaSize state)
 
static void RtemsMessageReqConstructErrors_Post_Status_Check (RtemsMessageReqConstructErrors_Context *ctx, RtemsMessageReqConstructErrors_Post_Status state)
 
static void RtemsMessageReqConstructErrors_Setup (RtemsMessageReqConstructErrors_Context *ctx)
 
static void RtemsMessageReqConstructErrors_Setup_Wrap (void *arg)
 
static size_t RtemsMessageReqConstructErrors_Scope (void *arg, char *buf, size_t n)
 
static void RtemsMessageReqConstructErrors_Prepare (RtemsMessageReqConstructErrors_Context *ctx)
 
static void RtemsMessageReqConstructErrors_Action (RtemsMessageReqConstructErrors_Context *ctx)
 
static void RtemsMessageReqConstructErrors_Cleanup (RtemsMessageReqConstructErrors_Context *ctx)
 
 T_TEST_CASE_FIXTURE (RtemsMessageReqConstructErrors, &RtemsMessageReqConstructErrors_Fixture)
 

Variables

static RtemsMessageReqConstructErrors_Context RtemsMessageReqConstructErrors_Instance
 
static const char *const RtemsMessageReqConstructErrors_PreDesc_Id []
 
static const char *const RtemsMessageReqConstructErrors_PreDesc_Name []
 
static const char *const RtemsMessageReqConstructErrors_PreDesc_MaxPending []
 
static const char *const RtemsMessageReqConstructErrors_PreDesc_MaxSize []
 
static const char *const RtemsMessageReqConstructErrors_PreDesc_Queues []
 
static const char *const RtemsMessageReqConstructErrors_PreDesc_Area []
 
static const char *const RtemsMessageReqConstructErrors_PreDesc_AreaSize []
 
static const char *const *const RtemsMessageReqConstructErrors_PreDesc []
 
static T_fixture RtemsMessageReqConstructErrors_Fixture
 
static const uint8_t RtemsMessageReqConstructErrors_TransitionMap [][1]
 
struct {
   uint8_t   Skip: 1
 
   uint8_t   Pre_Id_NA: 1
 
   uint8_t   Pre_Name_NA: 1
 
   uint8_t   Pre_MaxPending_NA: 1
 
   uint8_t   Pre_MaxSize_NA: 1
 
   uint8_t   Pre_Queues_NA: 1
 
   uint8_t   Pre_Area_NA: 1
 
   uint8_t   Pre_AreaSize_NA: 1
 
RtemsMessageReqConstructErrors_TransitionInfo []
 

Detailed Description

Variable Documentation

◆ RtemsMessageReqConstructErrors_Fixture

T_fixture RtemsMessageReqConstructErrors_Fixture
static
Initial value:
= {
.setup = RtemsMessageReqConstructErrors_Setup_Wrap,
.stop = NULL,
.teardown = NULL,
.scope = RtemsMessageReqConstructErrors_Scope,
.initial_context = &RtemsMessageReqConstructErrors_Instance
}

Definition at line 509 of file tc-message-construct-errors.c.

◆ RtemsMessageReqConstructErrors_PreDesc

const char* const* const RtemsMessageReqConstructErrors_PreDesc[]
static
Initial value:
= {
RtemsMessageReqConstructErrors_PreDesc_Id,
RtemsMessageReqConstructErrors_PreDesc_Name,
RtemsMessageReqConstructErrors_PreDesc_MaxPending,
RtemsMessageReqConstructErrors_PreDesc_MaxSize,
RtemsMessageReqConstructErrors_PreDesc_Queues,
RtemsMessageReqConstructErrors_PreDesc_Area,
RtemsMessageReqConstructErrors_PreDesc_AreaSize,
NULL
}

Definition at line 196 of file tc-message-construct-errors.c.

◆ RtemsMessageReqConstructErrors_PreDesc_Area

const char* const RtemsMessageReqConstructErrors_PreDesc_Area[]
static
Initial value:
= {
"Valid",
"Null",
"NA"
}

Definition at line 184 of file tc-message-construct-errors.c.

◆ RtemsMessageReqConstructErrors_PreDesc_AreaSize

const char* const RtemsMessageReqConstructErrors_PreDesc_AreaSize[]
static
Initial value:
= {
"Valid",
"Invalid",
"NA"
}

Definition at line 190 of file tc-message-construct-errors.c.

◆ RtemsMessageReqConstructErrors_PreDesc_Id

const char* const RtemsMessageReqConstructErrors_PreDesc_Id[]
static
Initial value:
= {
"Id",
"Null",
"NA"
}

Definition at line 152 of file tc-message-construct-errors.c.

◆ RtemsMessageReqConstructErrors_PreDesc_MaxPending

const char* const RtemsMessageReqConstructErrors_PreDesc_MaxPending[]
static
Initial value:
= {
"Valid",
"Zero",
"Big",
"NA"
}

Definition at line 164 of file tc-message-construct-errors.c.

◆ RtemsMessageReqConstructErrors_PreDesc_MaxSize

const char* const RtemsMessageReqConstructErrors_PreDesc_MaxSize[]
static
Initial value:
= {
"Valid",
"Zero",
"Big",
"NA"
}

Definition at line 171 of file tc-message-construct-errors.c.

◆ RtemsMessageReqConstructErrors_PreDesc_Name

const char* const RtemsMessageReqConstructErrors_PreDesc_Name[]
static
Initial value:
= {
"Valid",
"Invalid",
"NA"
}

Definition at line 158 of file tc-message-construct-errors.c.

◆ RtemsMessageReqConstructErrors_PreDesc_Queues

const char* const RtemsMessageReqConstructErrors_PreDesc_Queues[]
static
Initial value:
= {
"Avail",
"None",
"NA"
}

Definition at line 178 of file tc-message-construct-errors.c.