]> Kevux Git Server - fll/commit
Progress: Add unit tests for f_thread.
authorKevin Day <thekevinday@gmail.com>
Mon, 27 Jun 2022 01:54:20 +0000 (20:54 -0500)
committerKevin Day <thekevinday@gmail.com>
Mon, 27 Jun 2022 01:54:20 +0000 (20:54 -0500)
commit43aedc8aa104aea73e43747495ee00fa3d690abc
treec0bdaf601fb3d39f69bdd1264a022874b7979e68
parent71360406c954df008b078d63002df76610a60c4d
Progress: Add unit tests for f_thread.

There is still a long way to go but this is a good start.

Ideally, the f_thread will be the last project I write unit tests before the stable release is made.
226 files changed:
level_0/f_thread/data/build/dependencies-tests [new file with mode: 0644]
level_0/f_thread/data/build/settings-mocks [new file with mode: 0644]
level_0/f_thread/data/build/settings-tests [new file with mode: 0644]
level_0/f_thread/data/build/testfile [new file with mode: 0644]
level_0/f_thread/tests/unit/c/mock-thread.c [new file with mode: 0644]
level_0/f_thread/tests/unit/c/mock-thread.h [new file with mode: 0644]
level_0/f_thread/tests/unit/c/test-thread-at_fork.c [new file with mode: 0644]
level_0/f_thread/tests/unit/c/test-thread-at_fork.h [new file with mode: 0644]
level_0/f_thread/tests/unit/c/test-thread-attribute_affinity_get.c [new file with mode: 0644]
level_0/f_thread/tests/unit/c/test-thread-attribute_affinity_get.h [new file with mode: 0644]
level_0/f_thread/tests/unit/c/test-thread-attribute_affinity_set.c [new file with mode: 0644]
level_0/f_thread/tests/unit/c/test-thread-attribute_affinity_set.h [new file with mode: 0644]
level_0/f_thread/tests/unit/c/test-thread-attribute_condition_clock_get.c [new file with mode: 0644]
level_0/f_thread/tests/unit/c/test-thread-attribute_condition_clock_get.h [new file with mode: 0644]
level_0/f_thread/tests/unit/c/test-thread-attribute_condition_clock_set.c [new file with mode: 0644]
level_0/f_thread/tests/unit/c/test-thread-attribute_condition_clock_set.h [new file with mode: 0644]
level_0/f_thread/tests/unit/c/test-thread-attribute_condition_shared_get.c [new file with mode: 0644]
level_0/f_thread/tests/unit/c/test-thread-attribute_condition_shared_get.h [new file with mode: 0644]
level_0/f_thread/tests/unit/c/test-thread-attribute_condition_shared_set.c [new file with mode: 0644]
level_0/f_thread/tests/unit/c/test-thread-attribute_condition_shared_set.h [new file with mode: 0644]
level_0/f_thread/tests/unit/c/test-thread-attribute_create.c [new file with mode: 0644]
level_0/f_thread/tests/unit/c/test-thread-attribute_create.h [new file with mode: 0644]
level_0/f_thread/tests/unit/c/test-thread-attribute_default_get.c [new file with mode: 0644]
level_0/f_thread/tests/unit/c/test-thread-attribute_default_get.h [new file with mode: 0644]
level_0/f_thread/tests/unit/c/test-thread-attribute_default_set.c [new file with mode: 0644]
level_0/f_thread/tests/unit/c/test-thread-attribute_default_set.h [new file with mode: 0644]
level_0/f_thread/tests/unit/c/test-thread-attribute_delete.c [new file with mode: 0644]
level_0/f_thread/tests/unit/c/test-thread-attribute_delete.h [new file with mode: 0644]
level_0/f_thread/tests/unit/c/test-thread-attribute_detach_get.c [new file with mode: 0644]
level_0/f_thread/tests/unit/c/test-thread-attribute_detach_get.h [new file with mode: 0644]
level_0/f_thread/tests/unit/c/test-thread-attribute_detach_set.c [new file with mode: 0644]
level_0/f_thread/tests/unit/c/test-thread-attribute_detach_set.h [new file with mode: 0644]
level_0/f_thread/tests/unit/c/test-thread-attribute_guard_get.c [new file with mode: 0644]
level_0/f_thread/tests/unit/c/test-thread-attribute_guard_get.h [new file with mode: 0644]
level_0/f_thread/tests/unit/c/test-thread-attribute_guard_set.c [new file with mode: 0644]
level_0/f_thread/tests/unit/c/test-thread-attribute_guard_set.h [new file with mode: 0644]
level_0/f_thread/tests/unit/c/test-thread-attribute_scheduler_inherit_get.c [new file with mode: 0644]
level_0/f_thread/tests/unit/c/test-thread-attribute_scheduler_inherit_get.h [new file with mode: 0644]
level_0/f_thread/tests/unit/c/test-thread-attribute_scheduler_inherit_set.c [new file with mode: 0644]
level_0/f_thread/tests/unit/c/test-thread-attribute_scheduler_inherit_set.h [new file with mode: 0644]
level_0/f_thread/tests/unit/c/test-thread-attribute_scheduler_parameter_get.c [new file with mode: 0644]
level_0/f_thread/tests/unit/c/test-thread-attribute_scheduler_parameter_get.h [new file with mode: 0644]
level_0/f_thread/tests/unit/c/test-thread-attribute_scheduler_parameter_set.c [new file with mode: 0644]
level_0/f_thread/tests/unit/c/test-thread-attribute_scheduler_parameter_set.h [new file with mode: 0644]
level_0/f_thread/tests/unit/c/test-thread-attributes_adjust.c [new file with mode: 0644]
level_0/f_thread/tests/unit/c/test-thread-attributes_adjust.h [new file with mode: 0644]
level_0/f_thread/tests/unit/c/test-thread-attributes_decimate_by.c [new file with mode: 0644]
level_0/f_thread/tests/unit/c/test-thread-attributes_decimate_by.h [new file with mode: 0644]
level_0/f_thread/tests/unit/c/test-thread-attributes_decrease_by.c [new file with mode: 0644]
level_0/f_thread/tests/unit/c/test-thread-attributes_decrease_by.h [new file with mode: 0644]
level_0/f_thread/tests/unit/c/test-thread-attributes_increase.c [new file with mode: 0644]
level_0/f_thread/tests/unit/c/test-thread-attributes_increase.h [new file with mode: 0644]
level_0/f_thread/tests/unit/c/test-thread-attributes_increase_by.c [new file with mode: 0644]
level_0/f_thread/tests/unit/c/test-thread-attributes_increase_by.h [new file with mode: 0644]
level_0/f_thread/tests/unit/c/test-thread-attributes_resize.c [new file with mode: 0644]
level_0/f_thread/tests/unit/c/test-thread-attributes_resize.h [new file with mode: 0644]
level_0/f_thread/tests/unit/c/test-thread-barrier_attributes_adjust.c [new file with mode: 0644]
level_0/f_thread/tests/unit/c/test-thread-barrier_attributes_adjust.h [new file with mode: 0644]
level_0/f_thread/tests/unit/c/test-thread-barrier_attributes_decimate_by.c [new file with mode: 0644]
level_0/f_thread/tests/unit/c/test-thread-barrier_attributes_decimate_by.h [new file with mode: 0644]
level_0/f_thread/tests/unit/c/test-thread-barrier_attributes_decrease_by.c [new file with mode: 0644]
level_0/f_thread/tests/unit/c/test-thread-barrier_attributes_decrease_by.h [new file with mode: 0644]
level_0/f_thread/tests/unit/c/test-thread-barrier_attributes_increase.c [new file with mode: 0644]
level_0/f_thread/tests/unit/c/test-thread-barrier_attributes_increase.h [new file with mode: 0644]
level_0/f_thread/tests/unit/c/test-thread-barrier_attributes_increase_by.c [new file with mode: 0644]
level_0/f_thread/tests/unit/c/test-thread-barrier_attributes_increase_by.h [new file with mode: 0644]
level_0/f_thread/tests/unit/c/test-thread-barrier_attributes_resize.c [new file with mode: 0644]
level_0/f_thread/tests/unit/c/test-thread-barrier_attributes_resize.h [new file with mode: 0644]
level_0/f_thread/tests/unit/c/test-thread-barriers_adjust.c [new file with mode: 0644]
level_0/f_thread/tests/unit/c/test-thread-barriers_adjust.h [new file with mode: 0644]
level_0/f_thread/tests/unit/c/test-thread-barriers_decimate_by.c [new file with mode: 0644]
level_0/f_thread/tests/unit/c/test-thread-barriers_decimate_by.h [new file with mode: 0644]
level_0/f_thread/tests/unit/c/test-thread-barriers_decrease_by.c [new file with mode: 0644]
level_0/f_thread/tests/unit/c/test-thread-barriers_decrease_by.h [new file with mode: 0644]
level_0/f_thread/tests/unit/c/test-thread-barriers_increase.c [new file with mode: 0644]
level_0/f_thread/tests/unit/c/test-thread-barriers_increase.h [new file with mode: 0644]
level_0/f_thread/tests/unit/c/test-thread-barriers_increase_by.c [new file with mode: 0644]
level_0/f_thread/tests/unit/c/test-thread-barriers_increase_by.h [new file with mode: 0644]
level_0/f_thread/tests/unit/c/test-thread-barriers_resize.c [new file with mode: 0644]
level_0/f_thread/tests/unit/c/test-thread-barriers_resize.h [new file with mode: 0644]
level_0/f_thread/tests/unit/c/test-thread-condition_attributes_adjust.c [new file with mode: 0644]
level_0/f_thread/tests/unit/c/test-thread-condition_attributes_adjust.h [new file with mode: 0644]
level_0/f_thread/tests/unit/c/test-thread-condition_attributes_decimate_by.c [new file with mode: 0644]
level_0/f_thread/tests/unit/c/test-thread-condition_attributes_decimate_by.h [new file with mode: 0644]
level_0/f_thread/tests/unit/c/test-thread-condition_attributes_decrease_by.c [new file with mode: 0644]
level_0/f_thread/tests/unit/c/test-thread-condition_attributes_decrease_by.h [new file with mode: 0644]
level_0/f_thread/tests/unit/c/test-thread-condition_attributes_increase.c [new file with mode: 0644]
level_0/f_thread/tests/unit/c/test-thread-condition_attributes_increase.h [new file with mode: 0644]
level_0/f_thread/tests/unit/c/test-thread-condition_attributes_increase_by.c [new file with mode: 0644]
level_0/f_thread/tests/unit/c/test-thread-condition_attributes_increase_by.h [new file with mode: 0644]
level_0/f_thread/tests/unit/c/test-thread-condition_attributes_resize.c [new file with mode: 0644]
level_0/f_thread/tests/unit/c/test-thread-condition_attributes_resize.h [new file with mode: 0644]
level_0/f_thread/tests/unit/c/test-thread-conditions_adjust.c [new file with mode: 0644]
level_0/f_thread/tests/unit/c/test-thread-conditions_adjust.h [new file with mode: 0644]
level_0/f_thread/tests/unit/c/test-thread-conditions_decimate_by.c [new file with mode: 0644]
level_0/f_thread/tests/unit/c/test-thread-conditions_decimate_by.h [new file with mode: 0644]
level_0/f_thread/tests/unit/c/test-thread-conditions_decrease_by.c [new file with mode: 0644]
level_0/f_thread/tests/unit/c/test-thread-conditions_decrease_by.h [new file with mode: 0644]
level_0/f_thread/tests/unit/c/test-thread-conditions_increase.c [new file with mode: 0644]
level_0/f_thread/tests/unit/c/test-thread-conditions_increase.h [new file with mode: 0644]
level_0/f_thread/tests/unit/c/test-thread-conditions_increase_by.c [new file with mode: 0644]
level_0/f_thread/tests/unit/c/test-thread-conditions_increase_by.h [new file with mode: 0644]
level_0/f_thread/tests/unit/c/test-thread-conditions_resize.c [new file with mode: 0644]
level_0/f_thread/tests/unit/c/test-thread-conditions_resize.h [new file with mode: 0644]
level_0/f_thread/tests/unit/c/test-thread-ids_adjust.c [new file with mode: 0644]
level_0/f_thread/tests/unit/c/test-thread-ids_adjust.h [new file with mode: 0644]
level_0/f_thread/tests/unit/c/test-thread-ids_decimate_by.c [new file with mode: 0644]
level_0/f_thread/tests/unit/c/test-thread-ids_decimate_by.h [new file with mode: 0644]
level_0/f_thread/tests/unit/c/test-thread-ids_decrease_by.c [new file with mode: 0644]
level_0/f_thread/tests/unit/c/test-thread-ids_decrease_by.h [new file with mode: 0644]
level_0/f_thread/tests/unit/c/test-thread-ids_increase.c [new file with mode: 0644]
level_0/f_thread/tests/unit/c/test-thread-ids_increase.h [new file with mode: 0644]
level_0/f_thread/tests/unit/c/test-thread-ids_increase_by.c [new file with mode: 0644]
level_0/f_thread/tests/unit/c/test-thread-ids_increase_by.h [new file with mode: 0644]
level_0/f_thread/tests/unit/c/test-thread-ids_resize.c [new file with mode: 0644]
level_0/f_thread/tests/unit/c/test-thread-ids_resize.h [new file with mode: 0644]
level_0/f_thread/tests/unit/c/test-thread-keys_adjust.c [new file with mode: 0644]
level_0/f_thread/tests/unit/c/test-thread-keys_adjust.h [new file with mode: 0644]
level_0/f_thread/tests/unit/c/test-thread-keys_decimate_by.c [new file with mode: 0644]
level_0/f_thread/tests/unit/c/test-thread-keys_decimate_by.h [new file with mode: 0644]
level_0/f_thread/tests/unit/c/test-thread-keys_decrease_by.c [new file with mode: 0644]
level_0/f_thread/tests/unit/c/test-thread-keys_decrease_by.h [new file with mode: 0644]
level_0/f_thread/tests/unit/c/test-thread-keys_increase.c [new file with mode: 0644]
level_0/f_thread/tests/unit/c/test-thread-keys_increase.h [new file with mode: 0644]
level_0/f_thread/tests/unit/c/test-thread-keys_increase_by.c [new file with mode: 0644]
level_0/f_thread/tests/unit/c/test-thread-keys_increase_by.h [new file with mode: 0644]
level_0/f_thread/tests/unit/c/test-thread-keys_resize.c [new file with mode: 0644]
level_0/f_thread/tests/unit/c/test-thread-keys_resize.h [new file with mode: 0644]
level_0/f_thread/tests/unit/c/test-thread-lock_attributes_adjust.c [new file with mode: 0644]
level_0/f_thread/tests/unit/c/test-thread-lock_attributes_adjust.h [new file with mode: 0644]
level_0/f_thread/tests/unit/c/test-thread-lock_attributes_decimate_by.c [new file with mode: 0644]
level_0/f_thread/tests/unit/c/test-thread-lock_attributes_decimate_by.h [new file with mode: 0644]
level_0/f_thread/tests/unit/c/test-thread-lock_attributes_decrease_by.c [new file with mode: 0644]
level_0/f_thread/tests/unit/c/test-thread-lock_attributes_decrease_by.h [new file with mode: 0644]
level_0/f_thread/tests/unit/c/test-thread-lock_attributes_increase.c [new file with mode: 0644]
level_0/f_thread/tests/unit/c/test-thread-lock_attributes_increase.h [new file with mode: 0644]
level_0/f_thread/tests/unit/c/test-thread-lock_attributes_increase_by.c [new file with mode: 0644]
level_0/f_thread/tests/unit/c/test-thread-lock_attributes_increase_by.h [new file with mode: 0644]
level_0/f_thread/tests/unit/c/test-thread-lock_attributes_resize.c [new file with mode: 0644]
level_0/f_thread/tests/unit/c/test-thread-lock_attributes_resize.h [new file with mode: 0644]
level_0/f_thread/tests/unit/c/test-thread-locks_adjust.c [new file with mode: 0644]
level_0/f_thread/tests/unit/c/test-thread-locks_adjust.h [new file with mode: 0644]
level_0/f_thread/tests/unit/c/test-thread-locks_decimate_by.c [new file with mode: 0644]
level_0/f_thread/tests/unit/c/test-thread-locks_decimate_by.h [new file with mode: 0644]
level_0/f_thread/tests/unit/c/test-thread-locks_decrease_by.c [new file with mode: 0644]
level_0/f_thread/tests/unit/c/test-thread-locks_decrease_by.h [new file with mode: 0644]
level_0/f_thread/tests/unit/c/test-thread-locks_increase.c [new file with mode: 0644]
level_0/f_thread/tests/unit/c/test-thread-locks_increase.h [new file with mode: 0644]
level_0/f_thread/tests/unit/c/test-thread-locks_increase_by.c [new file with mode: 0644]
level_0/f_thread/tests/unit/c/test-thread-locks_increase_by.h [new file with mode: 0644]
level_0/f_thread/tests/unit/c/test-thread-locks_resize.c [new file with mode: 0644]
level_0/f_thread/tests/unit/c/test-thread-locks_resize.h [new file with mode: 0644]
level_0/f_thread/tests/unit/c/test-thread-mutex_attributes_adjust.c [new file with mode: 0644]
level_0/f_thread/tests/unit/c/test-thread-mutex_attributes_adjust.h [new file with mode: 0644]
level_0/f_thread/tests/unit/c/test-thread-mutex_attributes_decimate_by.c [new file with mode: 0644]
level_0/f_thread/tests/unit/c/test-thread-mutex_attributes_decimate_by.h [new file with mode: 0644]
level_0/f_thread/tests/unit/c/test-thread-mutex_attributes_decrease_by.c [new file with mode: 0644]
level_0/f_thread/tests/unit/c/test-thread-mutex_attributes_decrease_by.h [new file with mode: 0644]
level_0/f_thread/tests/unit/c/test-thread-mutex_attributes_increase.c [new file with mode: 0644]
level_0/f_thread/tests/unit/c/test-thread-mutex_attributes_increase.h [new file with mode: 0644]
level_0/f_thread/tests/unit/c/test-thread-mutex_attributes_increase_by.c [new file with mode: 0644]
level_0/f_thread/tests/unit/c/test-thread-mutex_attributes_increase_by.h [new file with mode: 0644]
level_0/f_thread/tests/unit/c/test-thread-mutex_attributes_resize.c [new file with mode: 0644]
level_0/f_thread/tests/unit/c/test-thread-mutex_attributes_resize.h [new file with mode: 0644]
level_0/f_thread/tests/unit/c/test-thread-mutexs_adjust.c [new file with mode: 0644]
level_0/f_thread/tests/unit/c/test-thread-mutexs_adjust.h [new file with mode: 0644]
level_0/f_thread/tests/unit/c/test-thread-mutexs_decimate_by.c [new file with mode: 0644]
level_0/f_thread/tests/unit/c/test-thread-mutexs_decimate_by.h [new file with mode: 0644]
level_0/f_thread/tests/unit/c/test-thread-mutexs_decrease_by.c [new file with mode: 0644]
level_0/f_thread/tests/unit/c/test-thread-mutexs_decrease_by.h [new file with mode: 0644]
level_0/f_thread/tests/unit/c/test-thread-mutexs_increase.c [new file with mode: 0644]
level_0/f_thread/tests/unit/c/test-thread-mutexs_increase.h [new file with mode: 0644]
level_0/f_thread/tests/unit/c/test-thread-mutexs_increase_by.c [new file with mode: 0644]
level_0/f_thread/tests/unit/c/test-thread-mutexs_increase_by.h [new file with mode: 0644]
level_0/f_thread/tests/unit/c/test-thread-mutexs_resize.c [new file with mode: 0644]
level_0/f_thread/tests/unit/c/test-thread-mutexs_resize.h [new file with mode: 0644]
level_0/f_thread/tests/unit/c/test-thread-onces_adjust.c [new file with mode: 0644]
level_0/f_thread/tests/unit/c/test-thread-onces_adjust.h [new file with mode: 0644]
level_0/f_thread/tests/unit/c/test-thread-onces_decimate_by.c [new file with mode: 0644]
level_0/f_thread/tests/unit/c/test-thread-onces_decimate_by.h [new file with mode: 0644]
level_0/f_thread/tests/unit/c/test-thread-onces_decrease_by.c [new file with mode: 0644]
level_0/f_thread/tests/unit/c/test-thread-onces_decrease_by.h [new file with mode: 0644]
level_0/f_thread/tests/unit/c/test-thread-onces_increase.c [new file with mode: 0644]
level_0/f_thread/tests/unit/c/test-thread-onces_increase.h [new file with mode: 0644]
level_0/f_thread/tests/unit/c/test-thread-onces_increase_by.c [new file with mode: 0644]
level_0/f_thread/tests/unit/c/test-thread-onces_increase_by.h [new file with mode: 0644]
level_0/f_thread/tests/unit/c/test-thread-onces_resize.c [new file with mode: 0644]
level_0/f_thread/tests/unit/c/test-thread-onces_resize.h [new file with mode: 0644]
level_0/f_thread/tests/unit/c/test-thread-semaphores_adjust.c [new file with mode: 0644]
level_0/f_thread/tests/unit/c/test-thread-semaphores_adjust.h [new file with mode: 0644]
level_0/f_thread/tests/unit/c/test-thread-semaphores_decimate_by.c [new file with mode: 0644]
level_0/f_thread/tests/unit/c/test-thread-semaphores_decimate_by.h [new file with mode: 0644]
level_0/f_thread/tests/unit/c/test-thread-semaphores_decrease_by.c [new file with mode: 0644]
level_0/f_thread/tests/unit/c/test-thread-semaphores_decrease_by.h [new file with mode: 0644]
level_0/f_thread/tests/unit/c/test-thread-semaphores_increase.c [new file with mode: 0644]
level_0/f_thread/tests/unit/c/test-thread-semaphores_increase.h [new file with mode: 0644]
level_0/f_thread/tests/unit/c/test-thread-semaphores_increase_by.c [new file with mode: 0644]
level_0/f_thread/tests/unit/c/test-thread-semaphores_increase_by.h [new file with mode: 0644]
level_0/f_thread/tests/unit/c/test-thread-semaphores_resize.c [new file with mode: 0644]
level_0/f_thread/tests/unit/c/test-thread-semaphores_resize.h [new file with mode: 0644]
level_0/f_thread/tests/unit/c/test-thread-sets_adjust.c [new file with mode: 0644]
level_0/f_thread/tests/unit/c/test-thread-sets_adjust.h [new file with mode: 0644]
level_0/f_thread/tests/unit/c/test-thread-sets_decimate_by.c [new file with mode: 0644]
level_0/f_thread/tests/unit/c/test-thread-sets_decimate_by.h [new file with mode: 0644]
level_0/f_thread/tests/unit/c/test-thread-sets_decrease_by.c [new file with mode: 0644]
level_0/f_thread/tests/unit/c/test-thread-sets_decrease_by.h [new file with mode: 0644]
level_0/f_thread/tests/unit/c/test-thread-sets_increase.c [new file with mode: 0644]
level_0/f_thread/tests/unit/c/test-thread-sets_increase.h [new file with mode: 0644]
level_0/f_thread/tests/unit/c/test-thread-sets_increase_by.c [new file with mode: 0644]
level_0/f_thread/tests/unit/c/test-thread-sets_increase_by.h [new file with mode: 0644]
level_0/f_thread/tests/unit/c/test-thread-sets_resize.c [new file with mode: 0644]
level_0/f_thread/tests/unit/c/test-thread-sets_resize.h [new file with mode: 0644]
level_0/f_thread/tests/unit/c/test-thread-spins_adjust.c [new file with mode: 0644]
level_0/f_thread/tests/unit/c/test-thread-spins_adjust.h [new file with mode: 0644]
level_0/f_thread/tests/unit/c/test-thread-spins_decimate_by.c [new file with mode: 0644]
level_0/f_thread/tests/unit/c/test-thread-spins_decimate_by.h [new file with mode: 0644]
level_0/f_thread/tests/unit/c/test-thread-spins_decrease_by.c [new file with mode: 0644]
level_0/f_thread/tests/unit/c/test-thread-spins_decrease_by.h [new file with mode: 0644]
level_0/f_thread/tests/unit/c/test-thread-spins_increase.c [new file with mode: 0644]
level_0/f_thread/tests/unit/c/test-thread-spins_increase.h [new file with mode: 0644]
level_0/f_thread/tests/unit/c/test-thread-spins_increase_by.c [new file with mode: 0644]
level_0/f_thread/tests/unit/c/test-thread-spins_increase_by.h [new file with mode: 0644]
level_0/f_thread/tests/unit/c/test-thread-spins_resize.c [new file with mode: 0644]
level_0/f_thread/tests/unit/c/test-thread-spins_resize.h [new file with mode: 0644]
level_0/f_thread/tests/unit/c/test-thread.c [new file with mode: 0644]
level_0/f_thread/tests/unit/c/test-thread.h [new file with mode: 0644]