/*! * * Copyright (c) 2023-2025 Diality Inc. - All Rights Reserved. * \copyright * THIS CODE MAY NOT BE COPIED OR REPRODUCED IN ANY FORM, IN PART OR IN * WHOLE, WITHOUT THE EXPLICIT PERMISSION OF THE COPYRIGHT OWNER. * * \file tst_fileHandler.h * \author (last) Vy * \date (last) 01-Dec-2023 * \author (original) Vy * \date (original) 01-Dec-2023 * */ #pragma once // Qt #include #include // Project #include "VTreatmentCreate.h" class tst_fileHandler : public QObject { Q_OBJECT public: explicit tst_fileHandler(QObject *parent = nullptr); private slots: void tst_read_append_return(); void tst_removeFiles(); void tst_isMounted(); void tst_tmpUsable(); void tst_find(); private: int helperFunction_createFolderFiles(const QString vDirPath, const QString vBaseFolderName = "tmp_folder", const int vNumberOfFolders = 1, const int vNumberOfFiles = 10, const QString VBaseFileNames = "mock_out", const QString vBaseFileExt = ".out"); };