RTEMS
Classes | Macros | Enumerations | Functions | Variables
#include <rtems.h>
#include <rtems/test.h>

Go to the source code of this file.

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 []