view ui/tests/certlistparsertest.h @ 42:6e7ef7e95031

Some more tests and some more test data
author Andre Heinecke <aheinecke@intevation.de>
date Fri, 14 Mar 2014 09:48:56 +0000
parents cbd57d767dfa
children 5910bf9016cd
line wrap: on
line source
#ifndef IMAPSTREAMPARSERTEST_H
#define IMAPSTREAMPARSERTEST_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

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