RTEMS
Files | Classes | Macros | Enumerations | Functions | Variables
spec:/rtems/req/ident-local

Files

file  tr-object-ident-local.c
 
file  tr-object-ident-local.h
 

Classes

struct  RtemsReqIdentLocal_Context
 Test context for spec:/rtems/req/ident-local test case. More...
 

Macros

#define ClassicObjectLocalIdentName   rtems_build_name( 'I', 'D', 'N', 'T' )
 

Enumerations

enum  RtemsReqIdentLocal_Pre_Name { RtemsReqIdentLocal_Pre_Name_Invalid, RtemsReqIdentLocal_Pre_Name_Valid, RtemsReqIdentLocal_Pre_Name_NA }
 
enum  RtemsReqIdentLocal_Pre_Id { RtemsReqIdentLocal_Pre_Id_NullPtr, RtemsReqIdentLocal_Pre_Id_Valid, RtemsReqIdentLocal_Pre_Id_NA }
 
enum  RtemsReqIdentLocal_Post_Status { RtemsReqIdentLocal_Post_Status_Ok, RtemsReqIdentLocal_Post_Status_InvAddr, RtemsReqIdentLocal_Post_Status_InvName, RtemsReqIdentLocal_Post_Status_NA }
 
enum  RtemsReqIdentLocal_Post_Id { RtemsReqIdentLocal_Post_Id_Nop, RtemsReqIdentLocal_Post_Id_NullPtr, RtemsReqIdentLocal_Post_Id_Id, RtemsReqIdentLocal_Post_Id_NA }
 

Functions

static void RtemsReqIdentLocal_Pre_Name_Prepare (RtemsReqIdentLocal_Context *ctx, RtemsReqIdentLocal_Pre_Name state)
 
static void RtemsReqIdentLocal_Pre_Id_Prepare (RtemsReqIdentLocal_Context *ctx, RtemsReqIdentLocal_Pre_Id state)
 
static void RtemsReqIdentLocal_Post_Status_Check (RtemsReqIdentLocal_Context *ctx, RtemsReqIdentLocal_Post_Status state)
 
static void RtemsReqIdentLocal_Post_Id_Check (RtemsReqIdentLocal_Context *ctx, RtemsReqIdentLocal_Post_Id state)
 
static size_t RtemsReqIdentLocal_Scope (void *arg, char *buf, size_t n)
 
static void RtemsReqIdentLocal_Action (RtemsReqIdentLocal_Context *ctx)
 
void RtemsReqIdentLocal_Run (rtems_id id_local_object, rtems_status_code(*action)(rtems_name, rtems_id *))
 Runs the parameterized test case. More...
 

Variables

static RtemsReqIdentLocal_Context RtemsReqIdentLocal_Instance
 
static const char *const RtemsReqIdentLocal_PreDesc_Name []
 
static const char *const RtemsReqIdentLocal_PreDesc_Id []
 
static const char *const *const RtemsReqIdentLocal_PreDesc []
 
static T_fixture RtemsReqIdentLocal_Fixture
 
static const uint8_t RtemsReqIdentLocal_TransitionMap [][2]
 
struct {
   uint8_t   Skip: 1
 
   uint8_t   Pre_Name_NA: 1
 
   uint8_t   Pre_Id_NA: 1
 
RtemsReqIdentLocal_TransitionInfo []
 
static T_fixture_node RtemsReqIdentLocal_Node
 

Detailed Description

Function Documentation

◆ RtemsReqIdentLocal_Run()

void RtemsReqIdentLocal_Run ( rtems_id  id_local_object,
rtems_status_code(*)(rtems_name, rtems_id *)  action 
)

Runs the parameterized test case.

Parameters
id_local_objectis the identifier of an active object of the class under test with the name ClassicObjectLocalIdentName.
actionis the action handler.

Definition at line 278 of file tr-object-ident-local.c.

Variable Documentation

◆ RtemsReqIdentLocal_Fixture

T_fixture RtemsReqIdentLocal_Fixture
static
Initial value:
= {
.setup = NULL,
.stop = NULL,
.teardown = NULL,
.scope = RtemsReqIdentLocal_Scope,
.initial_context = &RtemsReqIdentLocal_Instance
}

Definition at line 231 of file tr-object-ident-local.c.

◆ RtemsReqIdentLocal_PreDesc

const char* const* const RtemsReqIdentLocal_PreDesc[]
static
Initial value:
= {
RtemsReqIdentLocal_PreDesc_Name,
RtemsReqIdentLocal_PreDesc_Id,
NULL
}

Definition at line 115 of file tr-object-ident-local.c.

◆ RtemsReqIdentLocal_PreDesc_Id

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

Definition at line 109 of file tr-object-ident-local.c.

◆ RtemsReqIdentLocal_PreDesc_Name

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

Definition at line 103 of file tr-object-ident-local.c.

◆ RtemsReqIdentLocal_TransitionInfo

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

◆ RtemsReqIdentLocal_TransitionMap

const uint8_t RtemsReqIdentLocal_TransitionMap[][2]
static
Initial value:
= {
{
RtemsReqIdentLocal_Post_Status_InvAddr,
RtemsReqIdentLocal_Post_Id_NullPtr
}, {
RtemsReqIdentLocal_Post_Status_InvName,
RtemsReqIdentLocal_Post_Id_Nop
}, {
RtemsReqIdentLocal_Post_Status_InvAddr,
RtemsReqIdentLocal_Post_Id_NullPtr
}, {
RtemsReqIdentLocal_Post_Status_Ok,
RtemsReqIdentLocal_Post_Id_Id
}
}

Definition at line 239 of file tr-object-ident-local.c.