/* SPDX-FileCopyrightText: 2017 James D. Smith SPDX-License-Identifier: LGPL-2.1-or-later */ #ifndef USERMETADATAWRITERTEST_H #define USERMETADATAWRITERTEST_H #include #include class UserMetaDataWriterTest : public QObject { Q_OBJECT private: QString testFilePath(const QString& fileName) const; private Q_SLOTS: void initTestCase(); void test(); void testMissingPermision(); void testMetadataSize(); void testMetadataNameTooLong(); void testDanglingSymlink(); void testRemoveMetadata(); void testMetadataFolder(); void cleanupTestCase(); private: QFile m_writerTestFile; }; #endif // USERMETADATAWRITERTEST_H