summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSebastian Huber <sebastian.huber@embedded-brains.de>2020-10-13 14:24:51 +0200
committerSebastian Huber <sebastian.huber@embedded-brains.de>2020-10-14 11:34:25 +0200
commitbb4ceb686ebde7c74f18153ab5823fa6405f10c8 (patch)
treedca25a8e9ef0bb4e2da708ee4f1b465c426298bc
parent923c9da7d6af987882f36026264509d2540f4402 (diff)
val event
-rw-r--r--testsuites/validation/tc-events.c12
-rw-r--r--testsuites/validation/tr-event-constant.c16
-rw-r--r--testsuites/validation/tr-event-constant.h6
3 files changed, 17 insertions, 17 deletions
diff --git a/testsuites/validation/tc-events.c b/testsuites/validation/tc-events.c
index 89bef1a5ca..5da5e32883 100644
--- a/testsuites/validation/tc-events.c
+++ b/testsuites/validation/tc-events.c
@@ -3,7 +3,7 @@
/**
* @file
*
- * @ingroup RTEMSTestCaseRtemsEventReqEvents
+ * @ingroup RTEMSTestCaseRtemsEventValEvents
*/
/*
@@ -56,7 +56,7 @@
#include <rtems/test.h>
/**
- * @defgroup RTEMSTestCaseRtemsEventReqEvents spec:/rtems/event/req/events
+ * @defgroup RTEMSTestCaseRtemsEventValEvents spec:/rtems/event/val/events
*
* @ingroup RTEMSTestSuiteTestsuitesValidation0
*
@@ -115,9 +115,9 @@ static const rtems_event_set events[] = {
};
/**
- * @fn void T_case_body_RtemsEventReqEvents( void )
+ * @fn void T_case_body_RtemsEventValEvents( void )
*/
-T_TEST_CASE( RtemsEventReqEvents )
+T_TEST_CASE( RtemsEventValEvents )
{
rtems_event_set all;
int i;
@@ -125,7 +125,7 @@ T_TEST_CASE( RtemsEventReqEvents )
T_plan(36);
for ( i = 0; i < 32; ++i ) {
- RtemsEventReqEventConstant_Run( events[ i ], i );
+ RtemsEventValEventConstant_Run( events[ i ], i );
T_step( (unsigned int) i ); /* Accounts for 32 test plan steps */
}
@@ -139,7 +139,7 @@ T_TEST_CASE( RtemsEventReqEvents )
/* No action */
T_step_eq_u32( 33, RTEMS_EVENT_ALL, 0 );
T_step_ne_u32( 34, RTEMS_EVENT_ANY, 0 );
- T_step_eq_u32( 35, RTEMS_EVENT_ANY & ( RTEMS_EVENT_ANY - 1), 0 );
+ T_step_eq_u32( 35, RTEMS_EVENT_ANY & ( RTEMS_EVENT_ANY - 1 ), 0 );
}
/** @} */
diff --git a/testsuites/validation/tr-event-constant.c b/testsuites/validation/tr-event-constant.c
index 90f67b4325..50836fcfb9 100644
--- a/testsuites/validation/tr-event-constant.c
+++ b/testsuites/validation/tr-event-constant.c
@@ -3,7 +3,7 @@
/**
* @file
*
- * @ingroup RTEMSTestCaseRtemsEventReqEventConstant
+ * @ingroup RTEMSTestCaseRtemsEventValEventConstant
*/
/*
@@ -56,8 +56,8 @@
#include <rtems/test.h>
/**
- * @defgroup RTEMSTestCaseRtemsEventReqEventConstant \
- * spec:/rtems/event/req/event-constant
+ * @defgroup RTEMSTestCaseRtemsEventValEventConstant \
+ * spec:/rtems/event/val/event-constant
*
* @ingroup RTEMSTestSuiteTestsuitesValidation0
*
@@ -173,7 +173,7 @@
* @{
*/
-static void RtemsEventReqEventConstant_Wrap(
+static void RtemsEventValEventConstant_Wrap(
rtems_event_set event,
int number
)
@@ -334,12 +334,12 @@ static void RtemsEventReqEventConstant_Wrap(
T_step_eq_u32( 31, out, 0 );
}
-static T_fixture_node RtemsEventReqEventConstant_Node;
+static T_fixture_node RtemsEventValEventConstant_Node;
-void RtemsEventReqEventConstant_Run( rtems_event_set event, int number )
+void RtemsEventValEventConstant_Run( rtems_event_set event, int number )
{
- T_push_fixture( &RtemsEventReqEventConstant_Node, &T_empty_fixture );
- RtemsEventReqEventConstant_Wrap( event, number );
+ T_push_fixture( &RtemsEventValEventConstant_Node, &T_empty_fixture );
+ RtemsEventValEventConstant_Wrap( event, number );
T_pop_fixture();
}
diff --git a/testsuites/validation/tr-event-constant.h b/testsuites/validation/tr-event-constant.h
index a81fee7400..5d1f542e59 100644
--- a/testsuites/validation/tr-event-constant.h
+++ b/testsuites/validation/tr-event-constant.h
@@ -3,7 +3,7 @@
/**
* @file
*
- * @ingroup RTEMSTestCaseRtemsEventReqEventConstant
+ * @ingroup RTEMSTestCaseRtemsEventValEventConstant
*/
/*
@@ -55,7 +55,7 @@ extern "C" {
#endif
/**
- * @addtogroup RTEMSTestCaseRtemsEventReqEventConstant
+ * @addtogroup RTEMSTestCaseRtemsEventValEventConstant
*
* @{
*/
@@ -67,7 +67,7 @@ extern "C" {
*
* @param number is the event number.
*/
-void RtemsEventReqEventConstant_Run( rtems_event_set event, int number );
+void RtemsEventValEventConstant_Run( rtems_event_set event, int number );
/** @} */