// SPDX-FileCopyrightText: 2022-2026 UnionTech Software Technology Co., Ltd.
//
// SPDX-License-Identifier: GPL-3.0-or-later

#ifndef UT_FILEWATCHER_H
#define UT_FILEWATCHER_H

#include "gtest/gtest.h"
#include <QTest>
#include "src/third-party/stub/stub.h"
#include "base/utils.h"

class fileWatcher;
class ut_fileWatcher : public::testing::Test
{
public:
    ut_fileWatcher();
    virtual void SetUp() override;
    virtual void TearDown() override;

    static QStringList stub_getSystemManualDir()
    {
        return QStringList() << "./manual-assets";
    }

protected:
    fileWatcher *m_fw = nullptr;
    Stub *m_stub = nullptr;
};

#endif // UT_FILEWATCHER_H
