Mercurial > trustbridge
view ui/tests/certlistparsertest.h @ 89:00f9b91f4039
Do not leak a byte if the file is empty
author | Andre Heinecke <aheinecke@intevation.de> |
---|---|
date | Thu, 20 Mar 2014 18:40:15 +0000 |
parents | 5910bf9016cd |
children | f5fa39347366 |
line wrap: on
line source
#ifndef CERTLISTPARSERTEST_H #define CERTLISTPARSERTEST_H #include <QObject> #include <QtTest/QtTest> class CertificateList; class CertListTest: public QObject { Q_OBJECT CertificateList* testWithFile(const char *filename); private Q_SLOTS: void testInvalidSig(); void testValidList(); void testInvalidFileNames(); void testGarbage(); void testTooLarge(); void testEmptyFile(); void benchmarkValid(); }; #endif