![]() |
Ansel 0.0
A darktable fork - bloat + design vision
|
Include dependency graph for test_tag_selection_metadata.c:Go to the source code of this file.
Data Structures | |
| struct | _meta_collect_t |
Typedefs | |
| typedef struct _meta_collect_t | _meta_collect_t |
Functions | |
| static void | test_selection_lowest_id (void **state) |
| static void | test_tag_agreement (void **state) |
| static void | _collect_meta (void *user_data, const int keyid, const char *value, const uint32_t count) |
| static void | test_metadata_foreach_selected (void **state) |
| int | main (void) |
|
static |
Definition at line 117 of file test_tag_selection_metadata.c.
Referenced by test_metadata_foreach_selected().
| int main | ( | void | ) |
Definition at line 154 of file test_tag_selection_metadata.c.
References L, test_metadata_foreach_selected(), test_selection_lowest_id(), test_tag_agreement(), testdb_setup(), and testdb_teardown().
Definition at line 125 of file test_tag_selection_metadata.c.
References _collect_meta(), dt_metadata_repository_add(), dt_metadata_repository_foreach_selected(), dt_selection_repository_clear(), dt_selection_repository_select(), dt_metadata_row_t::imgid, L, state, testdb_make_film(), testdb_make_image(), and void().
Referenced by main().
Contracts of the selection, tag and metadata repositories that the metadata panels lean on: which image is "first", whether a set of images agrees on its tags, and the one-pass distinct-value walk over the selection.
Definition at line 29 of file test_tag_selection_metadata.c.
References dt_selection_repository_clear(), dt_selection_repository_deselect(), dt_selection_repository_get_all(), dt_selection_repository_get_lowest_id(), dt_selection_repository_select(), L, state, testdb_make_film(), testdb_make_image(), UNKNOWN_IMAGE, and void().
Referenced by main().
Definition at line 62 of file test_tag_selection_metadata.c.
References dt_tag_repository_attach(), dt_tag_repository_get_agreement(), dt_tag_repository_insert(), dt_tag_repository_set_flags(), DT_TF_CATEGORY, FALSE, L, state, testdb_make_film(), testdb_make_image(), and void().
Referenced by main().