view ui/tests/certlistparsertest.h @ 383:5eb7ee4ee819

Look up executable name based on /proc/self/exe
author Andre Heinecke <andre.heinecke@intevation.de>
date Tue, 15 Apr 2014 17:47:07 +0200
parents ee59ab0eb7ff
children 17e1c8f37d72
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 testCertificateFromFile();
    void benchmarkValid();
};
#endif

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