#include "testing/testing.h"
#include "MEM_guardedalloc.h"
#include "BLI_task.h"
Go to the source code of this file.
◆ TaskData_decrease_value()
| static void TaskData_decrease_value |
( |
void * |
taskdata | ) |
|
|
static |
◆ TaskData_increase_value()
| static void TaskData_increase_value |
( |
void * |
taskdata | ) |
|
|
static |
◆ TaskData_multiply_by_two_store()
| static void TaskData_multiply_by_two_store |
( |
void * |
taskdata | ) |
|
|
static |
◆ TaskData_multiply_by_two_value()
| static void TaskData_multiply_by_two_value |
( |
void * |
taskdata | ) |
|
|
static |
◆ TaskData_square_value()
| static void TaskData_square_value |
( |
void * |
taskdata | ) |
|
|
static |
◆ TaskData_store_value()
| static void TaskData_store_value |
( |
void * |
taskdata | ) |
|
|
static |
◆ TEST() [1/5]
| TEST |
( |
task |
, |
|
|
GraphForest |
|
|
) |
| |
Definition at line 128 of file BLI_task_graph_test.cc.
References BLI_task_graph_create(), BLI_task_graph_edge_create(), BLI_task_graph_free(), BLI_task_graph_node_create(), BLI_task_graph_node_push_work(), BLI_task_graph_work_and_wait(), data1, data2, EXPECT_EQ(), graph, TaskData_increase_value(), TaskData_multiply_by_two_store(), and TaskData_store_value().
◆ TEST() [2/5]
| TEST |
( |
task |
, |
|
|
GraphSequential |
|
|
) |
| |
Definition at line 49 of file BLI_task_graph_test.cc.
References BLI_task_graph_create(), BLI_task_graph_edge_create(), BLI_task_graph_free(), BLI_task_graph_node_create(), BLI_task_graph_node_push_work(), BLI_task_graph_work_and_wait(), data, EXPECT_EQ(), graph, TaskData_decrease_value(), TaskData_increase_value(), TaskData_multiply_by_two_value(), and TaskData_square_value().
◆ TEST() [3/5]
| TEST |
( |
task |
, |
|
|
GraphSplit |
|
|
) |
| |
Definition at line 107 of file BLI_task_graph_test.cc.
References BLI_task_graph_create(), BLI_task_graph_edge_create(), BLI_task_graph_free(), BLI_task_graph_node_create(), BLI_task_graph_node_push_work(), BLI_task_graph_work_and_wait(), data, EXPECT_EQ(), graph, TaskData_increase_value(), TaskData_multiply_by_two_store(), and TaskData_store_value().
◆ TEST() [4/5]
| TEST |
( |
task |
, |
|
|
GraphStartAtAnyNode |
|
|
) |
| |
Definition at line 80 of file BLI_task_graph_test.cc.
References BLI_task_graph_create(), BLI_task_graph_edge_create(), BLI_task_graph_free(), BLI_task_graph_node_create(), BLI_task_graph_node_push_work(), BLI_task_graph_work_and_wait(), data, EXPECT_EQ(), graph, TaskData_decrease_value(), TaskData_increase_value(), TaskData_multiply_by_two_value(), and TaskData_square_value().
◆ TEST() [5/5]
| TEST |
( |
task |
, |
|
|
GraphTaskData |
|
|
) |
| |
Definition at line 174 of file BLI_task_graph_test.cc.
References BLI_task_graph_create(), BLI_task_graph_edge_create(), BLI_task_graph_free(), BLI_task_graph_node_create(), BLI_task_graph_node_push_work(), BLI_task_graph_work_and_wait(), data, EXPECT_EQ(), graph, TaskData_increase_value(), and TaskData_store_value().