RTEMS
Files | Classes | Macros | Enumerations | Functions | Variables
spec:/rtems/part/req/return-buffer

Files

file  tc-part-return.c
 

Classes

struct  RtemsPartReqReturnBuffer_Context
 Test context for spec:/rtems/part/req/return-buffer test case. More...
 

Macros

#define PART_NAME   rtems_build_name( 'N', 'A', 'M', 'E' )
 
#define BUFFER_COUNT   1
 
#define BUFFER_SIZE   ( 2 * sizeof( void * ) )
 

Enumerations

enum  RtemsPartReqReturnBuffer_Pre_Id { RtemsPartReqReturnBuffer_Pre_Id_Id, RtemsPartReqReturnBuffer_Pre_Id_Invalid, RtemsPartReqReturnBuffer_Pre_Id_NA }
 
enum  RtemsPartReqReturnBuffer_Pre_InUse { RtemsPartReqReturnBuffer_Pre_InUse_True, RtemsPartReqReturnBuffer_Pre_InUse_False, RtemsPartReqReturnBuffer_Pre_InUse_NA }
 
enum  RtemsPartReqReturnBuffer_Post_Status { RtemsPartReqReturnBuffer_Post_Status_Ok, RtemsPartReqReturnBuffer_Post_Status_InvId, RtemsPartReqReturnBuffer_Post_Status_InUse, RtemsPartReqReturnBuffer_Post_Status_NA }
 

Functions

static RTEMS_ALIGNED (RTEMS_PARTITION_ALIGNMENT)
 
static void RtemsPartReqReturnBuffer_Pre_InUse_Prepare (RtemsPartReqReturnBuffer_Context *ctx, RtemsPartReqReturnBuffer_Pre_InUse state)
 
static void RtemsPartReqReturnBuffer_Post_Status_Check (RtemsPartReqReturnBuffer_Context *ctx, RtemsPartReqReturnBuffer_Post_Status state)
 
static size_t RtemsPartReqReturnBuffer_Scope (void *arg, char *buf, size_t n)
 
static void RtemsPartReqReturnBuffer_Prepare (RtemsPartReqReturnBuffer_Context *ctx)
 
static void RtemsPartReqReturnBuffer_Action (RtemsPartReqReturnBuffer_Context *ctx)
 
static void RtemsPartReqReturnBuffer_Cleanup (RtemsPartReqReturnBuffer_Context *ctx)
 
 T_TEST_CASE_FIXTURE (RtemsPartReqReturnBuffer, &RtemsPartReqReturnBuffer_Fixture)
 

Variables

static RtemsPartReqReturnBuffer_Context RtemsPartReqReturnBuffer_Instance
 
static const char *const RtemsPartReqReturnBuffer_PreDesc_Id []
 
static const char *const RtemsPartReqReturnBuffer_PreDesc_InUse []
 
static const char *const *const RtemsPartReqReturnBuffer_PreDesc []
 
static T_fixture RtemsPartReqReturnBuffer_Fixture
 
static const uint8_t RtemsPartReqReturnBuffer_TransitionMap [][1]
 
struct {
   uint8_t   Skip: 1
 
   uint8_t   Pre_Id_NA: 1
 
   uint8_t   Pre_InUse_NA: 1
 
RtemsPartReqReturnBuffer_TransitionInfo []
 

Detailed Description

Variable Documentation

◆ RtemsPartReqReturnBuffer_Fixture

T_fixture RtemsPartReqReturnBuffer_Fixture
static
Initial value:
= {
.setup = NULL,
.stop = NULL,
.teardown = NULL,
.scope = RtemsPartReqReturnBuffer_Scope,
.initial_context = &RtemsPartReqReturnBuffer_Instance
}

Definition at line 243 of file tc-part-return.c.

◆ RtemsPartReqReturnBuffer_PreDesc

const char* const* const RtemsPartReqReturnBuffer_PreDesc[]
static
Initial value:
= {
RtemsPartReqReturnBuffer_PreDesc_Id,
RtemsPartReqReturnBuffer_PreDesc_InUse,
NULL
}

Definition at line 123 of file tc-part-return.c.

◆ RtemsPartReqReturnBuffer_PreDesc_Id

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

Definition at line 111 of file tc-part-return.c.

◆ RtemsPartReqReturnBuffer_PreDesc_InUse

const char* const RtemsPartReqReturnBuffer_PreDesc_InUse[]
static
Initial value:
= {
"True",
"False",
"NA"
}

Definition at line 117 of file tc-part-return.c.

◆ RtemsPartReqReturnBuffer_TransitionInfo

const { ... } RtemsPartReqReturnBuffer_TransitionInfo[]
Initial value:
= {
{
0, 0, 0
}, {
0, 0, 0
}, {
0, 0, 0
}, {
0, 0, 0
}
}

◆ RtemsPartReqReturnBuffer_TransitionMap

const uint8_t RtemsPartReqReturnBuffer_TransitionMap[][1]
static
Initial value:
= {
{
RtemsPartReqReturnBuffer_Post_Status_InUse
}, {
RtemsPartReqReturnBuffer_Post_Status_Ok
}, {
RtemsPartReqReturnBuffer_Post_Status_InvId
}, {
RtemsPartReqReturnBuffer_Post_Status_InvId
}
}

Definition at line 251 of file tc-part-return.c.