ImagingTools Core SDK
CMdbxTest.h
1// SPDX-License-Identifier: LGPL-2.1-or-later OR GPL-2.0-or-later OR GPL-3.0-or-later OR LicenseRef-ImtCore-Commercial
2#pragma once
3
4
5// Qt includes
6#include <QtCore/QObject>
7#include <QtTest/QtTest>
8#include <QtCore/QThread>
9#include <QtCore/QCoreApplication>
10
11// ACF includes
12#include <itest/CStandardTestExecutor.h>
13
14// ImtCore includes
15#include <imtmdbx/CMask.h>
16#include <imtmdbx/CMaskContainer.h>
17
18// std includes
19#include <iostream>
20
21
22class CMdbxTest : public QObject
23{
24 Q_OBJECT
25
26public:
27 CMdbxTest();
28 ~CMdbxTest();
29
30 void test_write_units();
31 void test_write_10unitsInt();
32
33 void test_int();
34 void test_int64();
35 void test_char();
36 void test_mdbxmap();
37 void test_mdbx();
38 void test_mdbxfind();
39 void test_mdbxcursor();
40 //void test_read_write();
41 void test_read_all_units();
42 void test_write_10units();
43 void test_create_index();
44 void test_get_doc();
45 void test_get_key();
46 void test_update_doc();
47
48 void initTestCase();
49 void cleanupTestCase();
50 // void test_mdbxcursor();
51 void test_cursor();
52 void test_write_masks();
53
54private slots:
55 void test_delete_append();
56};
57
58
59