refactoring; finishing integration of CMocka; several test cases covered

This commit is contained in:
2026-06-12 18:35:33 +03:00
parent 2e33becdbf
commit 814fee67f8
35 changed files with 432 additions and 108 deletions
+4
View File
@@ -5,11 +5,15 @@ if (USE_POSTGRESQL)
target_link_libraries(db
PRIVATE
PostgreSQL::PostgreSQL
main
utils
)
else()
target_link_libraries(db
PRIVATE
SQLite3::SQLite3
main
utils
)
endif()
+2 -2
View File
@@ -1,8 +1,8 @@
/* SPDX-License-Identifier: MIT */
/* Copyright (c) 2026 Oleksandr Zhylin */
#include "../main.h"
#include "../utils.h"
#include <main.h>
#include <utils.h>
#include "db_common.h"
#include <db.h>
#include <endian.h>