Lines Matching full:test

42 #include "test/threading_helpers.h"
57 /** The type of test case arguments that contain binary data. */
73 const char *test; member
89 * \brief Get the current test result status
91 * \return The current test result status
96 * \brief Get the current test name/description
98 * \return The current test name/description
103 * \brief Get the current test filename
105 * \return The current test filename
110 * \brief Get the current test file line number (for failure / skip)
112 * \return The current test file line number (for failure / skip)
117 * \brief Increment the current test step.
127 * \brief Get the current test step
129 * \return The current test step
134 * \brief Get the current test line buffer 1
142 * \brief Get the current test line buffer 2
172 * \brief Get whether the current test is a bignum test that uses
175 * \return non zero if the current test uses bignum negative zero.
180 * \brief Indicate that the current test uses bignum negative zero.
182 * \note This function is called if the current test case had an
196 * \brief Record the current test case as a failure.
202 * \note If the test case was already marked as failed, calling
206 * \param test Description of the failure or assertion that failed. This
211 void mbedtls_test_fail(const char *test, int line_no, const char *filename);
214 * \brief Record the current test case as skipped.
219 * \param test Description of the assumption that caused the test case to
221 * \param line_no Line number where the test case was skipped.
222 * \param filename Filename where the test case was skipped.
224 void mbedtls_test_skip(const char *test, int line_no, const char *filename);
227 * \brief Set the test step number for failure reports.
230 * line number and file name if a test fails. Typically the
250 * \brief Get the test info data mutex.
255 * \return The test info data mutex.
262 * \brief Record the current test case as a failure if two integers
268 * \param test Description of the failure or assertion that failed. This
279 int mbedtls_test_equal(const char *test, int line_no, const char *filename,
283 * \brief Record the current test case as a failure based
289 * \param test Description of the failure or assertion that failed. This
300 int mbedtls_test_le_u(const char *test, int line_no, const char *filename,
304 * \brief Record the current test case as a failure based
310 * \param test Description of the failure or assertion that failed. This
321 int mbedtls_test_le_s(const char *test, int line_no, const char *filename,
373 * overruns (including overreads) when running the test suite under valgrind.
385 #include "test/fake_external_rng_for_test.h"
398 * \note If the check fails, fail the test currently being run.