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 The attribute value shall be a string. It shall be the test case brief
description. 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 test-description
The attribute value shall be an optional string. It shall be the test case The attribute value shall be an optional string. It shall be the test case
description. 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 test-header
The attribute value shall be a :ref:`SpecTypeTestHeader`. 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 The attribute value shall be a list of strings. It shall be a list of
header files included via ``#include "..."``. header files included via ``#include "..."``.
test-prologue test-setup
The attribute value shall be an optional string. If the value is present, The attribute value shall be a :ref:`SpecTypeTestSupportMethod`.
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 test-stop
declaration of local variables used by the test case actions. The attribute value shall be a :ref:`SpecTypeTestSupportMethod`.
test-support test-support
The attribute value shall be an optional string. If the value is present, 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 The attribute value shall be a string. It shall be the path to the
generated target test case source file. generated target test case source file.
test-teardown
The attribute value shall be a :ref:`SpecTypeTestSupportMethod`.
.. _SpecTypeTestPlatformItemType: .. _SpecTypeTestPlatformItemType:
Test Platform Item Type Test Platform Item Type
@ -5240,7 +5241,11 @@ Test Case Action
This set of attributes specifies a test case action. All explicit attributes This set of attributes specifies a test case action. All explicit attributes
shall be specified. The explicit attributes for this type are: 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 The attribute value shall be a string. It shall be the test case action
code. code.
@ -5248,10 +5253,6 @@ checks
The attribute value shall be a list. Each list element shall be a The attribute value shall be a list. Each list element shall be a
:ref:`SpecTypeTestCaseCheck`. :ref:`SpecTypeTestCaseCheck`.
description
The attribute value shall be an optional string. It shall be the test case
action description.
links links
The attribute value shall be a list. Each list element shall be a The attribute value shall be a list. Each list element shall be a
:ref:`SpecTypeLink`. :ref:`SpecTypeLink`.
@ -5268,14 +5269,14 @@ Test Case Check
This set of attributes specifies a test case check. All explicit attributes This set of attributes specifies a test case check. All explicit attributes
shall be specified. The explicit attributes for this type are: 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 The attribute value shall be a string. It shall be the test case check
code. code.
description
The attribute value shall be an optional string. It shall be the test case
check description.
links links
The attribute value shall be a list. Each list element shall be a The attribute value shall be a list. Each list element shall be a
:ref:`SpecTypeLink`. :ref:`SpecTypeLink`.
@ -5316,6 +5317,8 @@ This type is used by the following types:
* :ref:`SpecTypeRuntimeMeasurementTestItemType` * :ref:`SpecTypeRuntimeMeasurementTestItemType`
* :ref:`SpecTypeTestCaseItemType`
.. _SpecTypeTestHeader: .. _SpecTypeTestHeader:
Test Header Test Header
@ -5426,6 +5429,8 @@ This type is used by the following types:
* :ref:`SpecTypeRuntimePerformanceRequirementItemType` * :ref:`SpecTypeRuntimePerformanceRequirementItemType`
* :ref:`SpecTypeTestCaseItemType`
.. _SpecTypeUID: .. _SpecTypeUID:
UID UID