comparison ui/tests/certlistparsertest.h @ 202:0861069fd6d0

Fix testing for handling garbage input and generate the data ad hoc.
author Andre Heinecke <andre.heinecke@intevation.de>
date Wed, 26 Mar 2014 12:52:53 +0100
parents f5fa39347366
children c05e126b0b9e
comparison
equal deleted inserted replaced
201:45f6b62f91e7 202:0861069fd6d0
9 class CertListTest: public QObject 9 class CertListTest: public QObject
10 { 10 {
11 Q_OBJECT 11 Q_OBJECT
12 12
13 CertificateList* testWithFile(const char *filename); 13 CertificateList* testWithFile(const char *filename);
14 QString getRandomDataFile(size_t size);
14 15
15 private Q_SLOTS: 16 private Q_SLOTS:
16 void testInvalidSig(); 17 void testInvalidSig();
17 void testValidList(); 18 void testValidList();
18 void testInvalidFileNames(); 19 void testInvalidFileNames();

http://wald.intevation.org/projects/trustbridge/