|
| TEST_GROUP (Common_Unit_Task_Pool) |
| Test group for task pool tests.
|
|
| TEST_SETUP (Common_Unit_Task_Pool) |
| Test setup for task pool tests.
|
|
| TEST_TEAR_DOWN (Common_Unit_Task_Pool) |
| Test tear down for task pool tests.
|
|
| TEST_GROUP_RUNNER (Common_Unit_Task_Pool) |
| Test group runner for task pool.
|
|
static void | EmulateWork () |
| A function that emulates some work in the task pool execution by sleeping.
|
|
static void | EmulateWorkLong () |
| A function that emulates some work in the task pool execution by sleeping.
|
|
static void | ExecutionWithoutDestroyCb (IotTaskPool_t pTaskPool, IotTaskPoolJob_t pJob, void *pContext) |
| A callback that does not recycle its job.
|
|
static void | ExecutionBlockingWithoutDestroyCb (IotTaskPool_t pTaskPool, IotTaskPoolJob_t pJob, void *pContext) |
| A callback that blocks.
|
|
static void | ExecutionWithRecycleCb (IotTaskPool_t pTaskPool, IotTaskPoolJob_t pJob, void *pContext) |
| A callback that recycles its job.
|
|
static void | ExecutionLongWithoutDestroyCb (IotTaskPool_t pTaskPool, IotTaskPoolJob_t pJob, void *pContext) |
| A callback that takes a long time and does not recycle its job.
|
|
static void | BlankExecution (IotTaskPool_t pTaskPool, IotTaskPoolJob_t pJob, void *pContext) |
| A callback that does not recycle its job.
|
|
void | TEST_Common_Unit_Task_Pool_Error_ (void) |
| Test retrieving error string for each task pool status error.
|
|
void | TEST_Common_Unit_Task_Pool_CreateDestroyMaxThreads_ (void) |
| Test task pool dynamic memory creation and destruction, with both legal and illegal information.
|
|
void | TEST_Common_Unit_Task_Pool_CreateDestroyJobError_ (void) |
| Test task pool job static and dynamic memory creation with bogus parameters.
|
|
void | TEST_Common_Unit_Task_Pool_CreateDestroyRecycleRecyclableJobError_ (void) |
| Test task pool job static and dynamic memory creation with bogus parameters.
|
|
void | TEST_Common_Unit_Task_Pool_CreateRecyclableJob_ (void) |
| Test task pool job static and dynamic memory creation with bogus parameters.
|
|
void | TEST_Common_Unit_Task_Pool_ScheduleTasksError_ (void) |
| Test scheduling a job with bad parameters.
|
|
void | TEST_Common_Unit_Task_Pool_ScheduleTasks_LongRunningAndCachedJobsAndDestroy_ (void) |
| Test scheduling a set of jobs: static allocation, bulk execution.
|
|
void | TEST_Common_Unit_Task_Pool_TaskPool_ScheduleRecyclableTasksError_ (void) |
| Test scheduling a job with bad parameters.
|
|
void | TEST_Common_Unit_Task_Pool_ScheduleTasks_Grow_ (void) |
| Tests that the taskpool actually grows the number of tasks as expected.
|
|
void | TEST_Common_Unit_Task_Pool_ScheduleTasks_GrowHighPri_ (void) |
| Test scheduling a set of non-recyclable jobs: static allocation, sequential execution.
|
|
void | TEST_Common_Unit_Task_Pool_ScheduleTasks_ScheduleOneThenWait_ (void) |
| Test scheduling a set of non-recyclable jobs: static allocation, sequential execution.
|
|
void | TEST_Common_Unit_Task_Pool_ScheduleTasks_ScheduleOneDeferredThenWait_ (void) |
| Test scheduling a set of non-recyclable jobs: static allocation, sequential execution.
|
|
void | TEST_Common_Unit_Task_Pool_ScheduleTasks_ScheduleOneRecyclableThenWait_ (void) |
| Test scheduling a set of recyclable jobs: dynamic allocation, sequential execution.
|
|
void | TEST_Common_Unit_Task_Pool_ScheduleTasks_ScheduleAllThenWait_ (void) |
| Test scheduling a set of jobs: static allocation, bulk execution.
|
|
void | TEST_Common_Unit_Task_Pool_ScheduleTasks_ScheduleAllRecyclableThenWait_ (void) |
| Test scheduling a set of jobs: static allocation, bulk execution.
|
|
void | TEST_Common_Unit_Task_Pool_ScheduleTasks_ScheduleAllDeferredRecyclableThenWait_ (void) |
| Test scheduling a set of deferred jobs.
|
|
void | TEST_Common_Unit_Task_Pool_ScheduleTasks_ReSchedule_ (void) |
| Test scheduling and re-scheduling (without canceling first) a set of jobs.
|
|
void | TEST_Common_Unit_Task_Pool_ScheduleTasks_ReScheduleDeferred_ (void) |
| Test scheduling and re-scheduling (without canceling first) a set of deferred jobs.
|
|
void | TEST_Common_Unit_Task_Pool_ScheduleTasks_CancelTasks_ (void) |
| Test scheduling and canceling jobs.
|
|