2013-03-24 16:21:06 -04:00
|
|
|
/*
|
|
|
|
* Copyright (C) 2013 Felix Geyer <debfx@fobos.de>
|
|
|
|
*
|
|
|
|
* This program is free software: you can redistribute it and/or modify
|
|
|
|
* it under the terms of the GNU General Public License as published by
|
|
|
|
* the Free Software Foundation, either version 2 or (at your option)
|
|
|
|
* version 3 of the License.
|
|
|
|
*
|
|
|
|
* This program is distributed in the hope that it will be useful,
|
|
|
|
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
|
|
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
|
|
* GNU General Public License for more details.
|
|
|
|
*
|
|
|
|
* You should have received a copy of the GNU General Public License
|
|
|
|
* along with this program. If not, see <http://www.gnu.org/licenses/>.
|
|
|
|
*/
|
|
|
|
|
|
|
|
#ifndef KEEPASSX_TESTENTRY_H
|
|
|
|
#define KEEPASSX_TESTENTRY_H
|
|
|
|
|
2013-10-03 09:18:16 -04:00
|
|
|
#include <QObject>
|
2013-03-24 16:21:06 -04:00
|
|
|
|
|
|
|
class Entry;
|
|
|
|
|
|
|
|
class TestEntry : public QObject
|
|
|
|
{
|
|
|
|
Q_OBJECT
|
|
|
|
|
2017-03-10 09:58:42 -05:00
|
|
|
private slots:
|
2013-11-22 07:27:49 -05:00
|
|
|
void initTestCase();
|
2013-03-24 16:21:06 -04:00
|
|
|
void testHistoryItemDeletion();
|
2013-04-14 08:21:42 -04:00
|
|
|
void testCopyDataFrom();
|
2013-11-22 07:27:49 -05:00
|
|
|
void testClone();
|
2017-10-03 13:11:00 -04:00
|
|
|
void testResolveUrl();
|
2017-10-14 08:41:45 -04:00
|
|
|
void testResolveUrlPlaceholders();
|
2017-10-16 03:35:40 -04:00
|
|
|
void testResolveRecursivePlaceholders();
|
2017-11-12 10:21:11 -05:00
|
|
|
void testResolveReferencePlaceholders();
|
2017-11-12 12:11:52 -05:00
|
|
|
void testResolveNonIdPlaceholdersToUuid();
|
2017-12-17 10:44:12 -05:00
|
|
|
void testResolveClonedEntry();
|
2019-06-24 18:03:42 -04:00
|
|
|
void testIsRecycled();
|
2020-05-21 21:43:00 -04:00
|
|
|
void testMove();
|
2013-03-24 16:21:06 -04:00
|
|
|
};
|
|
|
|
|
|
|
|
#endif // KEEPASSX_TESTENTRY_H
|