summaryrefslogtreecommitdiffstats
path: root/cpukit/include/rtems/test.h (unfollow)
Commit message (Collapse)AuthorFilesLines
2023-11-28libtest: Add T_add_remark()Sebastian Huber1-0/+7
This can be used to report that nested test cases did run in a test case. Update #4971.
2023-07-28doxygen: Fix group memberships in libtestSebastian Huber1-1/+1
2023-07-26libtest: Place files into a Doxygen groupSebastian Huber1-2/+11
Canonicalize the file headers. Update #3707.
2023-05-20Update company nameSebastian Huber1-1/+1
The embedded brains GmbH & Co. KG is the legal successor of embedded brains GmbH.
2023-03-16rtems/test.h: Use __attribute__Sebastian Huber1-3/+3
2023-02-13libtest: Fix Doxygen group identifierSebastian Huber1-1/+1
2022-08-31libtest: Fix warnings without a pragmaSebastian Huber1-15/+8
It seems that recent GCC versions expect that functions with a "const type *" parameter will read from the referenced location. Update #4662.
2022-08-19test.h: Add pragma for gcc 12 warningRyan Long1-0/+7
Updates #4662
2022-08-10libtest: Add T_report_hash_sha256_update()Sebastian Huber1-0/+2
Update #3716.
2021-09-02libtest: Return fixture context in T_case_begin()Sebastian Huber1-1/+1
This makes it similar to T_push_fixture().
2021-05-03libtest: Fix use of flexible array memberSebastian Huber1-8/+10
Flexible array members must not appear in the middle of a structure.
2021-02-24libtest: Add support to seize/surrender objectsSebastian Huber1-0/+5
2021-02-08libtest: Add T_get_thread_timer_state()Sebastian Huber1-1/+10
2020-11-24libtest: Fix undefined setjmp() behaviourSebastian Huber1-1/+2
Bug was introduced by 78baeb757957fa0807c30e6c4d21ae99c9639e6a. Update #3199.
2020-11-19libtest: Allow assert checks during test beginSebastian Huber1-1/+1
Allow assert checks in test begin actions and setup fixture methods.
2020-11-19libtest: Rename ValidCache in FullCacheSebastian Huber1-1/+1
This name better reflects the execution envirnoment in which the cache is fully loaded with valid data unrelated to the body request handler.
2020-11-19libtest: Add primitive test case memory allocatorSebastian Huber1-0/+6
This primitive test case memory allocator uses memory from the low-level memory information provided by the BSP. At the beginning of each test case, the memory available to the test case is reinitialized. This allows the use of a simple allocate only allocator.
2020-11-19libtest: Make test case allocator configurableSebastian Huber1-0/+2
2020-08-18libtest: Add T_push_plan() and T_pop_plan()Sebastian Huber1-0/+6
Update #3199.
2020-08-18libtest: Change T_step() and T_assert_step()Sebastian Huber1-6/+11
Normally, the expected test step must be a compile time constant. Allow variable expected test steps for the T_step() and T_assert_step(). This can be used for parameterized test loops with individual fixtures. Remove the ability to use custom failure messages due to some implementation constraints. Update #3199.
2020-08-18libtest: Add fixture stepsSebastian Huber1-0/+3
Support a new test plan for each nested fixture. Update #3199.
2020-08-18libtest: Add T_puts()Sebastian Huber1-0/+2
Update #3199.
2020-08-18libtest: Change fixture scope methodSebastian Huber1-2/+7
Return the produced character count. There is no need for a NUL termination. Update #3199.
2020-08-11libtest: Add T_thread_switch_record()Sebastian Huber1-0/+45
Add support to record thread switch events. This can be used to check that a blocking operation results in the expected sequence of thread switches. Update #3199.
2020-07-23libtest: Add T_interrupt_test()Sebastian Huber1-0/+30
Update #3199.
2020-07-23libtest: Add quiet assert NULL pointer checksSebastian Huber1-0/+4
Update #3199.
2020-07-23libtest: Add T_unreachable()Sebastian Huber1-0/+3
Update #3199.
2020-07-23libtest: Make check message optionalSebastian Huber1-35/+72
This macro magic is in line with C11 and C++11, but limits the maximum count of arguments. Update #3199.
2020-07-23libtest: Add T_CHECK_FMTSebastian Huber1-166/+172
Rename internal function T_check_true() to T_check() and use the new flag T_CHECK_FMT to indicate if a format string is present. This is a preparation step to make the format string optional. Make the check context the first parameter. The API remains the same. Update #3199.
2020-07-23libtest: Add T_stop()Sebastian Huber1-0/+8
Update #3199.
2020-07-23libtest: Add T_get_scope()Sebastian Huber1-0/+23
Update #3199.
2020-07-23libtest: Add push/pop fixture supportSebastian Huber1-0/+11
Update #3199.
2020-07-23libtest: Support custom scope messages via fixtureSebastian Huber1-0/+1
Update #3199.
2020-07-23libtest: Add T_make_runner()Sebastian Huber1-0/+2
Update #3199.
2020-07-23libtest: Add T_get_one_clock_tick_busy()Sebastian Huber1-0/+2
Update #3199.
2020-07-23libtest: Add T_busy()Sebastian Huber1-1/+3
Update #3199.
2020-07-23libtest: Move <t.h> to <rtems/test.h>Sebastian Huber1-0/+0
Update #3199.
2019-12-20libtest: Add T_check_task_context() actionSebastian Huber1-0/+2
2019-12-20libtest: Use test configuration in T_now()Sebastian Huber1-11/+5
Use the user provided now handler of the test configuration to get the time in T_now().
2019-10-11libtest: Add more action eventsSebastian Huber1-2/+4
This allows more control over the initialization and finalization run. Update #3199.
2019-10-11libtest: Do all output in test runnerSebastian Huber1-0/+2
This ensures that lines are output atomically if they are produced by different other contexts, e.g. interrupts, other processors, other threads. Update #3199.
2019-04-04doxygen: Added RTEMS Test Framework to APIAndreas Dachsberger1-0/+2
Update #3706.
2019-03-27Add RTEMS Test FrameworkSebastian Huber1-0/+2377
Update #3199.