File indexing completed on 2024-04-21 14:54:38

0001 /*
0002     This file is part of the KDE libraries
0003     SPDX-FileCopyrightText: 2006 Jacob R Rideout <kde@jacobrideout.net>
0004 
0005     SPDX-License-Identifier: LGPL-2.0-or-later
0006 */
0007 
0008 #ifndef kautosavefiletest_h
0009 #define kautosavefiletest_h
0010 
0011 #include <QObject>
0012 #include <QStringList>
0013 
0014 class KAutoSaveFileTest : public QObject
0015 {
0016     Q_OBJECT
0017 
0018 private Q_SLOTS:
0019     void initTestCase();
0020     void test_readWrite();
0021     void test_fileNameMaxLength();
0022     void test_fileStaleFiles();
0023     void test_applicationStaleFiles();
0024     void test_locking();
0025     void cleanupTestCase();
0026 
0027 private:
0028     QStringList filesToRemove;
0029 };
0030 
0031 #endif