| 845 | } |
| 846 | |
| 847 | static int ui_adr_seed(const ui_delete_fixture_t *fx, const char *project, const char *content) { |
| 848 | char db_path[1024]; |
| 849 | ui_delete_db_path(fx, project, db_path, sizeof(db_path)); |
| 850 | cbm_store_t *store = cbm_store_open_path(db_path); |
| 851 | if (!store) |
| 852 | return CBM_STORE_ERR; |
| 853 | int rc = cbm_store_adr_store(store, project, content); |
| 854 | cbm_store_close(store); |
| 855 | return rc; |
| 856 | } |
| 857 | |
| 858 | static bool ui_adr_equals(const ui_delete_fixture_t *fx, const char *project, |
| 859 | const char *expected) { |
no test coverage detected