[EGD-3463] Added service-desktop <-> DB interface

added changelog entry

added simple tests

added simple negative tests

fixed empty number contact case, added appropiate test
This commit is contained in:
Bartek Cichocki
2020-07-20 20:27:32 +02:00
committed by SP2FET
parent ef170c0d27
commit f07b337e2d
20 changed files with 540 additions and 27 deletions

View File

@@ -36,9 +36,11 @@ bool NotesModel::updateRecords(std::unique_ptr<std::vector<NotesRecord>> records
uint32_t count)
{
#if DEBUG_DB_MODEL_DATA == 1
LOG_DEBUG("Offset: %d, Limit: %d Count:%d", offset, limit, count);
LOG_DEBUG("Offset: %" PRIu32 ", Limit: %" PRIu32 " Count: %" PRIu32 "", offset, limit, count);
for (uint32_t i = 0; i < records.get()->size(); ++i) {
LOG_DEBUG("id: %d, filename: %s", records.get()->operator[](i).ID, records.get()->operator[](i).path.c_str());
LOG_DEBUG("id: %" PRIu32 ", filename: %s",
records.get()->operator[](i).ID,
records.get()->operator[](i).path.c_str());
}
#endif