ACF $AcfVersion:0$
CFileComponentTestRunner.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 <QtTest/QtTest>
8
9// ACF includes
11#include <ifile/IFileTypeInfo.h>
14#include <GeneratedFiles/FileComponentTest/CFileComponentTest.h>
15
16
17class CFileComponentTestRunner: public QObject
18{
19 Q_OBJECT
20
21private slots:
22 void initTestCase();
23
24 // FileNameParam tests
25 void testFileNameParamCreation();
26 void testFileNameParamPathType();
27 void testFileNameParamDefaultPath();
28 void testFileNameParamGetSet();
29 void testFileNameParamSerialization();
30
31 // FileTypeInfo tests
32 void testFileTypeInfoCreation();
33 void testFileTypeInfoExtensions();
34 void testFileTypeInfoDescriptions();
35 void testFileTypeInfoPlatformSpecific();
36
37 // TempFileManager tests
38 void testTempFileManagerCreation();
39 void testTempFileManagerSession();
40 void testTempFileManagerAddFile();
41 void testTempFileManagerRemoveFile();
42 void testTempFileManagerMultipleSessions();
43
44 // SystemLocation tests
45 void testSystemLocationCreation();
46 void testSystemLocationPath();
47
48 // FileListProvider tests
49 void testFileListProviderCreation();
50 void testFileListProviderGetFileList();
51 void testFileListProviderStaticMethods();
52
53 // ComposedFilePersistence tests
54 void testComposedPersistenceCreation();
55 void testComposedPersistenceExtensions();
56 void testComposedPersistenceDescription();
57
58 void cleanupTestCase();
59
60private:
61 std::shared_ptr<CFileComponentTest> m_testPartituraInstanceCompPtr;
62};
63
64