File indexing completed on 2024-04-28 03:45:19
0001 /* 0002 SPDX-FileCopyrightText: 2021 Kwon-Young Choi <kwon-young.choi@hotmail.fr> 0003 0004 SPDX-License-Identifier: GPL-2.0-or-later 0005 */ 0006 0007 #ifndef TEST_PLACEHOLDERPATH_H 0008 #define TEST_PLACEHOLDERPATH_H 0009 0010 #include <QTest> 0011 #include <QDebug> 0012 0013 #define UNIT_TEST 0014 0015 /** 0016 * @class TestPlaceholderPath 0017 * @short Tests for some PlaceholderPath operations 0018 * @author Kwon-Young Choi <kwon-young.choi@hotmail.fr> 0019 */ 0020 0021 class TestPlaceholderPath : public QObject 0022 { 0023 Q_OBJECT 0024 0025 public: 0026 TestPlaceholderPath(); 0027 ~TestPlaceholderPath() override; 0028 0029 private slots: 0030 0031 void initTestCase(); 0032 void testSchedulerProcessJobInfo_data(); 0033 void testSchedulerProcessJobInfo(); 0034 0035 // void testCCDGenerateFilename_data(); 0036 // void testCCDGenerateFilename(); 0037 0038 // void testFullNamingSequence_data(); 0039 // void testFullNamingSequence(); 0040 0041 void testFlexibleNaming_data(); 0042 void testFlexibleNaming(); 0043 0044 void testFlexibleNamingGlob_data(); 0045 void testFlexibleNamingGlob(); 0046 0047 void testRemainingPlaceholders_data(); 0048 void testRemainingPlaceholders(); 0049 0050 void testGetCompletedFileIds_data(); 0051 void testGetCompletedFileIds(); 0052 0053 void cleanupTestCase(); 0054 }; 0055 0056 #endif