![]() |
Ansel 0.0
A darktable fork - bloat + design vision
|
#include "testdb.h"
Include dependency graph for test_history_repository.c:Go to the source code of this file.
Data Structures | |
| struct | _active_collect_t |
Typedefs | |
| typedef struct _active_collect_t | _active_collect_t |
Functions | |
| static void | test_module_order_absent_vs_zero (void **state) |
| static void | test_history_item_cycle (void **state) |
| static void | test_find_version_for_params (void **state) |
| static void | _collect_active (void *user_data, const int num, const char *operation, const char *multi_name) |
| static void | test_foreach_active_module (void **state) |
| int | main (void) |
Variables | |
| static const unsigned char | params_a [] = { 0xde, 0xad, 0xbe, 0xef, 0x01 } |
| static const unsigned char | params_b [] = { 0xca, 0xfe, 0xba, 0xbe } |
| static const unsigned char | blend_a [] = { 0x42, 0x42 } |
|
static |
Definition at line 113 of file test_history_repository.c.
Referenced by test_foreach_active_module().
| int main | ( | void | ) |
Definition at line 148 of file test_history_repository.c.
References L, test_find_version_for_params(), test_foreach_active_module(), test_history_item_cycle(), test_module_order_absent_vs_zero(), testdb_setup(), and testdb_teardown().
Definition at line 89 of file test_history_repository.c.
References blend_a, dt_history_repository_find_version_for_params(), dt_history_repository_write_item(), L, params_a, params_b, state, testdb_make_film(), testdb_make_image(), TRUE, and void().
Referenced by main().
Definition at line 125 of file test_history_repository.c.
References _collect_active(), blend_a, dt_history_repository_foreach_active_module(), dt_history_repository_write_item(), FALSE, L, params_a, params_b, state, testdb_make_film(), testdb_make_image(), TRUE, and void().
Referenced by main().
Definition at line 67 of file test_history_repository.c.
References blend_a, dt_history_repository_count_items(), dt_history_repository_get_end(), dt_history_repository_get_next_num(), dt_history_repository_module_exists(), dt_history_repository_set_end(), dt_history_repository_write_item(), L, params_a, state, testdb_make_film(), testdb_make_image(), TRUE, and void().
Referenced by main().
Definition at line 30 of file test_history_repository.c.
References dt_history_repository_get_module_order(), dt_history_repository_get_module_order_version(), dt_history_repository_has_custom_module_order(), dt_history_repository_has_module_order(), dt_history_repository_set_module_order(), dt_module_order_row_cleanup(), L, row, state, testdb_make_film(), testdb_make_image(), and void().
Referenced by main().
|
static |
Definition at line 28 of file test_history_repository.c.
Referenced by test_find_version_for_params(), test_foreach_active_module(), and test_history_item_cycle().
|
static |
Contracts of database/history_repository.h: the main.history item cycle, the main.module_order row (whose ABSENCE is a meaningful state – "nobody chose"), and the blob-identity version probe the startup preset upgrade relies on.
Definition at line 26 of file test_history_repository.c.
Referenced by test_find_version_for_params(), test_foreach_active_module(), and test_history_item_cycle().
|
static |
Definition at line 27 of file test_history_repository.c.
Referenced by test_find_version_for_params(), and test_foreach_active_module().