eng: Unify test attribute keys

Update #3715.
This commit is contained in:
Sebastian Huber 2020-08-19 11:09:00 +02:00
parent 83a3522df1
commit 93938c707b

View File

@ -2042,55 +2042,55 @@ if the value is ``test-case``. This set of attributes specifies a test case.
All explicit attributes shall be specified. The explicit attributes for this All explicit attributes shall be specified. The explicit attributes for this
type are: type are:
actions test-actions
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:`SpecTypeTestCaseAction`. :ref:`SpecTypeTestCaseAction`.
brief 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.
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.
epilogue test-epilogue
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,
then it shall be the test case epilogue code. The epilogue code is placed then it shall be the test case epilogue code. The epilogue code is placed
in the test case body after the test case actions. in the test case body after the test case actions.
fixture test-fixture
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,
then it shall be a pointer to the test case fixture. The test case fixture 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 pointer declaration may be provided by the test case support code or via an
included header file. included header file.
includes test-header
The attribute value shall be a :ref:`SpecTypeTestHeader`.
test-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 <...>``.
local-includes 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 "..."``.
prologue test-prologue
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,
then it shall be the test case prologue code. The prologue code is placed 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 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. declaration of local variables used by the test case actions.
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,
then it shall be the test case support code. The support code is placed at then it shall be the test case support code. The support code is placed at
file scope before the test case code. file scope before the test case code.
target 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-header
The attribute value shall be a :ref:`SpecTypeTestHeader`.
.. _SpecTypeTestPlatformItemType: .. _SpecTypeTestPlatformItemType:
Test Platform Item Type Test Platform Item Type
@ -2151,27 +2151,27 @@ if the value is ``test-suite``. This set of attributes specifies a test suite.
All explicit attributes shall be specified. The explicit attributes for this All explicit attributes shall be specified. The explicit attributes for this
type are: type are:
brief test-brief
The attribute value shall be a string. It shall be the test suite brief The attribute value shall be a string. It shall be the test suite brief
description. description.
code test-code
The attribute value shall be a string. It shall be the test suite code. The attribute value shall be a string. It shall be the test suite code.
The test suite code is placed at file scope in the target source file. The test suite code is placed at file scope in the target source file.
description test-description
The attribute value shall be an optional string. It shall be the test suite The attribute value shall be an optional string. It shall be the test suite
description. description.
includes test-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 <...>``.
local-includes 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 "..."``.
target 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 suite source file. generated target test suite source file.