eng: Update test case item

Update #3715.
This commit is contained in:
Sebastian Huber 2021-02-08 15:01:50 +01:00
parent 3e1ac91d6d
commit 174444f655

View File

@ -2362,21 +2362,19 @@ test-brief
The attribute value shall be a string. It shall be the test case brief
description.
test-context
The attribute value shall be a list. Each list element shall be a
:ref:`SpecTypeTestContextMember`.
test-context-support
The attribute value shall be an optional string. If the value is present,
then it shall be the test context support code. The context support code
is placed at file scope before the test context definition.
test-description
The attribute value shall be an optional string. It shall be the test case
description.
test-epilogue
The attribute value shall be an optional string. If the value is present,
then it shall be the test case epilogue code. The epilogue code is placed
in the test case body after the test case actions.
test-fixture
The attribute value shall be an optional string. If the value is present,
then it shall be a pointer to the test case fixture. The test case fixture
pointer declaration may be provided by the test case support code or via an
included header file.
test-header
The attribute value shall be a :ref:`SpecTypeTestHeader`.
@ -2388,11 +2386,11 @@ test-local-includes
The attribute value shall be a list of strings. It shall be a list of
header files included via ``#include "..."``.
test-prologue
The attribute value shall be an optional string. If the value is present,
then it shall be the test case prologue code. The prologue code is placed
in the test case body before the test case actions. A use case is the
declaration of local variables used by the test case actions.
test-setup
The attribute value shall be a :ref:`SpecTypeTestSupportMethod`.
test-stop
The attribute value shall be a :ref:`SpecTypeTestSupportMethod`.
test-support
The attribute value shall be an optional string. If the value is present,
@ -2403,6 +2401,9 @@ test-target
The attribute value shall be a string. It shall be the path to the
generated target test case source file.
test-teardown
The attribute value shall be a :ref:`SpecTypeTestSupportMethod`.
.. _SpecTypeTestPlatformItemType:
Test Platform Item Type
@ -5240,7 +5241,11 @@ Test Case Action
This set of attributes specifies a test case action. All explicit attributes
shall be specified. The explicit attributes for this type are:
action
action-brief
The attribute value shall be an optional string. It shall be the test case
action brief description.
action-code
The attribute value shall be a string. It shall be the test case action
code.
@ -5248,10 +5253,6 @@ checks
The attribute value shall be a list. Each list element shall be a
:ref:`SpecTypeTestCaseCheck`.
description
The attribute value shall be an optional string. It shall be the test case
action description.
links
The attribute value shall be a list. Each list element shall be a
:ref:`SpecTypeLink`.
@ -5268,14 +5269,14 @@ Test Case Check
This set of attributes specifies a test case check. All explicit attributes
shall be specified. The explicit attributes for this type are:
check
brief
The attribute value shall be an optional string. It shall be the test case
check brief description.
code
The attribute value shall be a string. It shall be the test case check
code.
description
The attribute value shall be an optional string. It shall be the test case
check description.
links
The attribute value shall be a list. Each list element shall be a
:ref:`SpecTypeLink`.
@ -5316,6 +5317,8 @@ This type is used by the following types:
* :ref:`SpecTypeRuntimeMeasurementTestItemType`
* :ref:`SpecTypeTestCaseItemType`
.. _SpecTypeTestHeader:
Test Header
@ -5426,6 +5429,8 @@ This type is used by the following types:
* :ref:`SpecTypeRuntimePerformanceRequirementItemType`
* :ref:`SpecTypeTestCaseItemType`
.. _SpecTypeUID:
UID