![]() |
Ansel 0.0
A darktable fork - bloat + design vision
|
#include "testdb.h"#include "common/image.h"#include "metadata/tags.h"#include "win/main_wrapper.h"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 (int argc, char *argv[]) |
| typedef struct _meta_collect_t _meta_collect_t |
|
static |
Definition at line 121 of file test_tag_selection_metadata.c.
References value.
Referenced by test_metadata_foreach_selected().
| int main | ( | int | argc, |
| char * | argv[] ) |
Definition at line 158 of file test_tag_selection_metadata.c.
References test_metadata_foreach_selected(), test_selection_lowest_id(), test_tag_agreement(), testdb_setup(), and testdb_teardown().
Definition at line 129 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(), 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 33 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(), state, testdb_make_film(), testdb_make_image(), UNKNOWN_IMAGE, and void().
Referenced by main().
Definition at line 66 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, state, testdb_make_film(), testdb_make_image(), and void().
Referenced by main().