view ui/tests/certlistparsertest.h @ 245:fbd74e2370de

Error out, when base64 decode results in empty data.
author Sascha Wilde <wilde@intevation.de>
date Fri, 28 Mar 2014 19:30:35 +0100
parents c05e126b0b9e
children ee59ab0eb7ff
line wrap: on
line source
#ifndef CERTLISTPARSERTEST_H
#define CERTLISTPARSERTEST_H

#include <QObject>
#include <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/