:orphan: .. index:: pair: struct; tapi_test_expected_result .. _doxid-structtapi__test__expected__result: struct tapi_test_expected_result ================================ .. toctree:: :hidden: Overview ~~~~~~~~ The description of an expected result. :ref:`More...` .. ref-code-block:: cpp :class: doxyrest-overview-code-block #include struct tapi_test_expected_result { // fields :ref:`te_module` :ref:`error_module`; :ref:`te_errno` :ref:`error_code`; const char* :ref:`output`; }; .. _details-structtapi__test__expected__result: Detailed Documentation ~~~~~~~~~~~~~~~~~~~~~~ The description of an expected result. The structure should be considered opaque and only handled by dedicated functions such as :ref:`test_get_expected_result_param() `, :ref:`TEST_EXPECTED_RESULT_PARAM() `, :ref:`TEST_GET_EXPECTED_RESULT_PARAM() `, :ref:`tapi_test_check_expected_result() `, :ref:`tapi_test_check_expected_int_result() `. The values of this type may be freely copied, they do not contain any dynamically-allocated resources. Fields ------ .. index:: pair: variable; error_module .. _doxid-structtapi__test__expected__result_1a96573479fdce7fa1aceb651409676a9f: .. ref-code-block:: cpp :class: doxyrest-title-code-block :ref:`te_module` error_module The expected module code. TE_MIN_MODULE means any module. .. index:: pair: variable; error_code .. _doxid-structtapi__test__expected__result_1a006a67ce9c9924ac2495e45892e68a54: .. ref-code-block:: cpp :class: doxyrest-title-code-block :ref:`te_errno` error_code The expected error code (without a module). .. index:: pair: variable; output .. _doxid-structtapi__test__expected__result_1a08f224a3e51bfa50a394e1b2c0b2d1bd: .. ref-code-block:: cpp :class: doxyrest-title-code-block const char* output The expected output string.