RTEMS
Files | Classes | Macros | Enumerations | Functions | Variables
spec:/rtems/part/req/delete

Files

file  tc-part-delete.c
 

Classes

struct  RtemsPartReqDelete_Context
 Test context for spec:/rtems/part/req/delete 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  RtemsPartReqDelete_Pre_Id { RtemsPartReqDelete_Pre_Id_Id, RtemsPartReqDelete_Pre_Id_Invalid, RtemsPartReqDelete_Pre_Id_NA }
 
enum  RtemsPartReqDelete_Pre_InUse { RtemsPartReqDelete_Pre_InUse_True, RtemsPartReqDelete_Pre_InUse_False, RtemsPartReqDelete_Pre_InUse_NA }
 
enum  RtemsPartReqDelete_Post_Status { RtemsPartReqDelete_Post_Status_Ok, RtemsPartReqDelete_Post_Status_InvId, RtemsPartReqDelete_Post_Status_InUse, RtemsPartReqDelete_Post_Status_NA }
 

Functions

static RTEMS_ALIGNED (RTEMS_PARTITION_ALIGNMENT)
 
static void RtemsPartReqDelete_Pre_InUse_Prepare (RtemsPartReqDelete_Context *ctx, RtemsPartReqDelete_Pre_InUse state)
 
static void RtemsPartReqDelete_Post_Status_Check (RtemsPartReqDelete_Context *ctx, RtemsPartReqDelete_Post_Status state)
 
static size_t RtemsPartReqDelete_Scope (void *arg, char *buf, size_t n)
 
static void RtemsPartReqDelete_Prepare (RtemsPartReqDelete_Context *ctx)
 
static void RtemsPartReqDelete_Action (RtemsPartReqDelete_Context *ctx)
 
static void RtemsPartReqDelete_Cleanup (RtemsPartReqDelete_Context *ctx)
 
 T_TEST_CASE_FIXTURE (RtemsPartReqDelete, &RtemsPartReqDelete_Fixture)
 

Variables

static RtemsPartReqDelete_Context RtemsPartReqDelete_Instance
 
static const char *const RtemsPartReqDelete_PreDesc_Id []
 
static const char *const RtemsPartReqDelete_PreDesc_InUse []
 
static const char *const *const RtemsPartReqDelete_PreDesc []
 
static T_fixture RtemsPartReqDelete_Fixture
 
static const uint8_t RtemsPartReqDelete_TransitionMap [][1]
 
struct {
   uint8_t   Skip: 1
 
   uint8_t   Pre_Id_NA: 1
 
   uint8_t   Pre_InUse_NA: 1
 
RtemsPartReqDelete_TransitionInfo []
 

Detailed Description

Variable Documentation

◆ RtemsPartReqDelete_Fixture

T_fixture RtemsPartReqDelete_Fixture
static
Initial value:
= {
.setup = NULL,
.stop = NULL,
.teardown = NULL,
.scope = RtemsPartReqDelete_Scope,
.initial_context = &RtemsPartReqDelete_Instance
}

Definition at line 242 of file tc-part-delete.c.

◆ RtemsPartReqDelete_PreDesc

const char* const* const RtemsPartReqDelete_PreDesc[]
static
Initial value:
= {
RtemsPartReqDelete_PreDesc_Id,
RtemsPartReqDelete_PreDesc_InUse,
NULL
}

Definition at line 122 of file tc-part-delete.c.

◆ RtemsPartReqDelete_PreDesc_Id

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

Definition at line 110 of file tc-part-delete.c.

◆ RtemsPartReqDelete_PreDesc_InUse

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

Definition at line 116 of file tc-part-delete.c.

◆ RtemsPartReqDelete_TransitionInfo

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

◆ RtemsPartReqDelete_TransitionMap

const uint8_t RtemsPartReqDelete_TransitionMap[][1]
static
Initial value:
= {
{
RtemsPartReqDelete_Post_Status_InUse
}, {
RtemsPartReqDelete_Post_Status_Ok
}, {
RtemsPartReqDelete_Post_Status_InvId
}, {
RtemsPartReqDelete_Post_Status_InvId
}
}

Definition at line 250 of file tc-part-delete.c.