ACF $AcfVersion:0$
CSystemTest.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
10#include <istd/CSystem.h>
12
13class CSystemTest: public QObject
14{
15 Q_OBJECT
16private slots:
17 void initTestCase();
18
19 void GetOperationSystemNameTest();
20 void ConvertToFileNameTest();
21 void ConvertToFileNameWithReplacementTest();
22 void ConvertToFileNameInvalidReplacementTest();
23 void ConvertToFileNameEmptyInputTest();
24 void GetNormalizedPathTest();
25 void GetVariableValueTest();
26 void GetVariableValueEmbeddedTest();
27 void GetVariableValueEnvironmentTest();
28 void GetEnrolledPathTest();
29 void GetEnrolledPathMultipleVariablesTest();
30 void GetEnvironmentVariablesTest();
31 void SetTempDirectoryPathTest();
32 void SleepTest();
33 void CopyDirectoryTest();
34 void RemoveDirectoryTest();
35 void FileCopyTest();
36 void FileCopyOverwriteTest();
37 void FileCopyNonExistentSourceTest();
38 void FileMoveTest();
39 void FileMoveOverwriteTest();
40 void EnsurePathExistsTest();
41 void GetCurrentUserNameTest();
42 void GetFileDriveInfoTest();
43 void GetCompilerVariableTest();
44 void SetUserVariablesTest();
45 void ConvertNetworkPathToUncTest();
46 void GetCompilerInfoTest();
47
48 void cleanupTestCase();
49
50private:
51 QString m_testDir;
52};
53
54