index df07fff6382540a0f35ea705dd303c0fa7a9dce2..f459b6e0afd461be0754fb64cd192928e8b3e2c9 100644 (file)
--- a/t/unit/core/store_test.c
+++ b/t/unit/core/store_test.c
"{\"name\": \"h2\", \"last_update\": \"1970-01-01 00:00:00 +0000\", "
"\"update_interval\": \"0s\", \"backends\": []}"
"]" },
- { { sdb_store_cmp_eq, SDB_FIELD_NAME,
+ { { sdb_store_eq_matcher, SDB_FIELD_NAME,
{ SDB_TYPE_STRING, { .string = "h1" } } }, 0,
"["
"{\"name\": \"h1\", \"last_update\": \"1970-01-01 00:00:00 +0000\", "
"\"update_interval\": \"0s\", \"backends\": [], "
"\"attributes\": [], \"metrics\": [], \"services\": []}"
"]" },
- { { sdb_store_cmp_gt, SDB_FIELD_LAST_UPDATE,
+ { { sdb_store_gt_matcher, SDB_FIELD_LAST_UPDATE,
{ SDB_TYPE_DATETIME, { .datetime = 1 } } }, 0,
"["
"{\"name\": \"h2\", \"last_update\": \"1970-01-01 00:00:00 +0000\", "
"]}"
"]}"
"]" },
- { { sdb_store_cmp_le, SDB_FIELD_LAST_UPDATE,
+ { { sdb_store_le_matcher, SDB_FIELD_LAST_UPDATE,
{ SDB_TYPE_DATETIME, { .datetime = 1 } } }, 0,
"["
"{\"name\": \"h1\", \"last_update\": \"1970-01-01 00:00:00 +0000\", "
"], "
"\"services\": []}"
"]" },
- { { sdb_store_cmp_ge, SDB_FIELD_LAST_UPDATE,
+ { { sdb_store_ge_matcher, SDB_FIELD_LAST_UPDATE,
{ SDB_TYPE_DATETIME, { .datetime = 3 } } }, 0,
"["
"{\"name\": \"h2\", \"last_update\": \"1970-01-01 00:00:00 +0000\", "