mirror of
https://github.com/keepassxreboot/keepassxc.git
synced 2025-08-08 14:32:39 -04:00
No longer use automoc.
This commit is contained in:
parent
a428464573
commit
230d24a123
21 changed files with 416 additions and 164 deletions
|
@ -15,6 +15,8 @@
|
|||
* along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
*/
|
||||
|
||||
#include "TestKeePass2XmlReader.h"
|
||||
|
||||
#include <QtTest/QTest>
|
||||
|
||||
#include "core/Database.h"
|
||||
|
@ -33,29 +35,6 @@ namespace QTest {
|
|||
}
|
||||
}
|
||||
|
||||
class TestKeePass2XmlReader : public QObject
|
||||
{
|
||||
Q_OBJECT
|
||||
|
||||
private Q_SLOTS:
|
||||
void initTestCase();
|
||||
void testMetadata();
|
||||
void testCustomIcons();
|
||||
void testCustomData();
|
||||
void testGroupRoot();
|
||||
void testGroup1();
|
||||
void testGroup2();
|
||||
void testEntry1();
|
||||
void testEntry2();
|
||||
void testEntryHistory();
|
||||
void testDeletedObjects();
|
||||
|
||||
private:
|
||||
QDateTime genDT(int year, int month, int day, int hour, int min, int second);
|
||||
|
||||
Database* m_db;
|
||||
};
|
||||
|
||||
QDateTime TestKeePass2XmlReader::genDT(int year, int month, int day, int hour, int min, int second)
|
||||
{
|
||||
QDate date(year, month, day);
|
||||
|
@ -319,5 +298,3 @@ void TestKeePass2XmlReader::testDeletedObjects()
|
|||
}
|
||||
|
||||
QTEST_MAIN(TestKeePass2XmlReader);
|
||||
|
||||
#include "TestKeePass2XmlReader.moc"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue