Mercurial > trustbridge
view ui/tests/certlistparsertest.h @ 289:9ad00a3255f4
Change cinst from stdin input to use arguments.
As we have to execute this process on Windows over the
shell a stdin / stdout communication is not really possible
without some major hacks. So you now have to supply an
instructions file and the path to the certificatelist as arguments when
this process is called
author | Andre Heinecke <aheinecke@intevation.de> |
---|---|
date | Wed, 02 Apr 2014 13:52:02 +0000 |
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