File indexing completed on 2025-01-26 04:57:20

0001 /*
0002    SPDX-FileCopyrightText: 2016-2024 Laurent Montel <montel@kde.org>
0003 
0004    SPDX-License-Identifier: LGPL-2.0-or-later
0005 */
0006 
0007 #pragma once
0008 
0009 #include <QObject>
0010 
0011 class CreateDatabaseFileJobTest : public QObject
0012 {
0013     Q_OBJECT
0014 public:
0015     explicit CreateDatabaseFileJobTest(QObject *parent = nullptr);
0016     ~CreateDatabaseFileJobTest() override;
0017 private Q_SLOTS:
0018     void initTestCase();
0019     void shouldHaveDefaultValue();
0020 
0021     void shouldCreateFile();
0022     void shouldCreateFile_data();
0023 
0024     void shouldCreateCorrectBinaryFile();
0025 
0026     void shouldUpdateDataBase();
0027 
0028     void shouldRemoveElementInDataBase();
0029     void shouldRemoveElementInDataBase_data();
0030 };