/*! * * Copyright (c) 2024-2024 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) Behrouz NematiPour * \date (last) 07-Mar-2024 * \author (original) Behrouz NematiPour * \date (original) 07-Mar-2024 * */ #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"); };