Mercurial > trustbridge
comparison tests/certlistparsertest.h @ 7:992c0ec57660
Add unit tests make CertificateList work.
author | Andre Heinecke <aheinecke@intevation.de> |
---|---|
date | Wed, 12 Feb 2014 16:52:27 +0000 |
parents | |
children |
comparison
equal
deleted
inserted
replaced
6:1f6455d46b30 | 7:992c0ec57660 |
---|---|
1 #ifndef IMAPSTREAMPARSERTEST_H | |
2 #define IMAPSTREAMPARSERTEST_H | |
3 | |
4 #include <QObject> | |
5 #include <QtTest/QtTest> | |
6 | |
7 class CertificateList; | |
8 | |
9 class CertListTest: public QObject | |
10 { | |
11 Q_OBJECT | |
12 | |
13 CertificateList* testWithFile(const char *filename); | |
14 | |
15 private Q_SLOTS: | |
16 void testInvalidSig(); | |
17 void testValidList(); | |
18 void testInvalidFileNames(); | |
19 void testGarbage(); | |
20 void testTooLarge(); | |
21 void benchmarkValid(); | |
22 }; | |
23 #endif |