ACF
$AcfVersion:0$
Acf
Tests
AutoPersistenceTest
CAutoPersistenceTestRunner.h
Go to the documentation of this file.
1
// SPDX-License-Identifier: LGPL-2.1-or-later OR GPL-2.0-or-later OR GPL-3.0-or-later OR LicenseRef-ACF-Commercial
2
#pragma once
3
4
5
// Qt includes
6
#include <QtCore/QObject>
7
#include <QtCore/QFile>
8
#include <QtTest/QtTest>
9
10
// ACF includes
11
#include <
iprm/ISelectionParam.h
>
12
#include <
ifile/IFileNameParam.h
>
13
#include <
itest/CStandardTestExecutor.h
>
14
#include <GeneratedFiles/AutoPersistenceTest/CAutoPersistenceTest.h>
15
16
class
CAutoPersistenceTestRunner
:
public
QObject
17
{
18
Q_OBJECT
19
private
slots:
20
void
initTestCase();
21
22
void
RestoreOnBeginStoreOnEndTest();
23
void
StoreOnChangeTest();
24
void
StoreOnBeginTest();
25
void
StoreIntervalTest();
26
void
AutoReloadTest();
27
void
LockingTest();
28
29
void
cleanupTestCase();
30
31
private
:
32
QString CreateTestFilePath(
const
QString& testName);
33
void
CleanupTestFile(
const
QString& filePath);
34
};
35
CStandardTestExecutor.h
IFileNameParam.h
ISelectionParam.h
CAutoPersistenceTestRunner
Definition
CAutoPersistenceTestRunner.h:17
Generated by
1.9.8