changeset 26:cbd57d767dfa

Move layout around. Restructure CMakeLists
author Andre Heinecke <andre.heinecke@intevation.de>
date Tue, 11 Mar 2014 19:00:35 +0100
parents 92108a2120f1
children 62cd56cea09b
files CMakeLists.txt cinst/main.c tests/CMakeLists.txt tests/certlistparsertest.cpp tests/certlistparsertest.h tests/data/NOTES tests/data/list-invalid-signed.txt tests/data/list-valid-signed.txt tests/data/list-valid.txt tests/data/random_2MB tests/data/random_500KB tests/data/testkey-priv.pem tests/data/testkey-pub.pem ui/certificatelist.h ui/tests/CMakeLists.txt ui/tests/certlistparsertest.cpp ui/tests/certlistparsertest.h ui/tests/data/NOTES ui/tests/data/list-invalid-signed.txt ui/tests/data/list-valid-signed.txt ui/tests/data/list-valid.txt ui/tests/data/random_2MB ui/tests/data/random_500KB ui/tests/data/testkey-priv.pem ui/tests/data/testkey-pub.pem
diffstat 25 files changed, 221 insertions(+), 289 deletions(-) [+]
line wrap: on
line diff
--- a/CMakeLists.txt	Mon Mar 10 14:15:15 2014 +0000
+++ b/CMakeLists.txt	Tue Mar 11 19:00:35 2014 +0100
@@ -1,9 +1,10 @@
 cmake_minimum_required(VERSION 2.8.8)
 project(m13)
 
+set(CMAKE_MODULE_PATH ${CMAKE_MODULE_PATH} "${CMAKE_SOURCE_DIR}/cmake/")
+
 include(CTest)
-
-set(CMAKE_MODULE_PATH ${CMAKE_MODULE_PATH} "${CMAKE_SOURCE_DIR}/cmake/")
+include(GenerateCppcheck)
 
 # Use cmake's automoc and make sure the generated files are included
 set(CMAKE_AUTOMOC ON)
@@ -14,34 +15,6 @@
   set (CMAKE_BUILD_TYPE Debug)
 endif (NOT CMAKE_BUILD_TYPE)
 
-find_package(Qt5Widgets REQUIRED)
-
-include_directories(${Qt5Widgets_INCLUDE_DIRS})
-add_definitions(${Qt5Widgets_DEFINITIONS})
-
-set(CERTIFICATELIST_SOURCES
-    ${CMAKE_SOURCE_DIR}/ui/certificatelist.cpp
-    ${CMAKE_SOURCE_DIR}/ui/certificate.cpp
-    ${CMAKE_SOURCE_DIR}/ui/certificate_win.cpp
-    ${CMAKE_SOURCE_DIR}/ui/certificate_linux.cpp
-    ${CMAKE_SOURCE_DIR}/common/listutil.c
-)
-
-set(M13UI_SOURCES
-    ${CMAKE_SOURCE_DIR}/ui/mainwindow.cpp
-    ${CMAKE_SOURCE_DIR}/ui/downloader.cpp
-    ${CMAKE_SOURCE_DIR}/ui/downloader_win.cpp
-    ${CMAKE_SOURCE_DIR}/ui/downloader_linux.cpp
-    ${CMAKE_SOURCE_DIR}/ui/main.cpp
-    ${CERTIFICATELIST_SOURCES}
-)
-
-# Seperated to make it easier to include the sources in tests
-set(M13UI_RESOURCES
-   ${CMAKE_SOURCE_DIR}/ui/icons.qrc
-   ${CMAKE_SOURCE_DIR}/ui/certs.qrc
-)
-
 # Warn level to be used for privileged parts
 set(WARN_HARDENING_FLAGS " -Wextra -Wconversion -Wformat-security")
 
@@ -49,63 +22,23 @@
 set(HARDENING_FLAGS " -Wall -Werror -fstack-protector-all -fno-exceptions")
 set(HARDENING_FLAGS " ${HARDENING_FLAGS} -Wstack-protector")
 set(HARDENING_FLAGS " ${HARDENING_FLAGS} --param ssp-buffer-size=4")
-set(HARDENING_FLAGS " ${HARDENING_FLAGS} -D_FORTIFY_SOURCE=2 -O0 -fprofile-arcs -ftest-coverage")
+set(HARDENING_FLAGS " ${HARDENING_FLAGS} -D_FORTIFY_SOURCE=2 -O0")
 
-SET(CMAKE_EXE_LINKER_FLAGS="-fprofile-arcs -ftest-coverage")
+# Uncomment to enable profiling
+# set(PROFILING_FLAGS "-fprofile-arcs -ftest-coverage")
+
+SET(CMAKE_EXE_LINKER_FLAGS=${PROFILING_FLAGS})
 
 if(UNIX)
-   # See: https://bugreports.qt-project.org/browse/QTBUG-35918
-   # XCB_EXTRA_LIBS should be gotten automatically.
-   # The following list is taken from the .pri file
-   get_target_property(_loc Qt5::Widgets LOCATION)
-   get_filename_component(_qtpath ${_loc} PATH)
-   set(XCB_EXTRA_LIBS -static -static-libgcc
-      -L${_qtpath}
-      -lX11 -lX11-xcb -lXi -lxcb-render-util -lXrender -lSM -lICE -lxcb-render -ldbus-1
-      -lxcb -lxcb-image -lxcb-icccm -lxcb-sync -lxcb-xfixes -lxcb-shm -lxcb-randr
-      -lxcb-shape -lxcb-keysyms -lQt5PlatformSupport
-      -lfreetype -lQt5DBus -lQt5Gui -ljpeg -lpng -lQt5Core
-      -lz -lm -ldl -lrt -lpthread)
-
-   set(EXTRA_STATIC_LIBS -lz -lpthread -ldl -lpng -ljpeg
-      Qt5::QXcbIntegrationPlugin ${XCB_EXTRA_LIBS})
-
    set(HARDENING_FLAGS " ${HARDENING_FLAGS} -pie -fPIE -ftrapv")
    set(HARDENING_FLAGS " ${HARDENING_FLAGS} -Wl,-z,relro,-z,now")
 elseif(WIN32)
-   get_target_property(_loc Qt5::Widgets LOCATION)
-   get_filename_component(_qtpath ${_loc} PATH)
-   set(WINDOWS_EXTRA_LIBS
-        -L${_qtpath}
-        -lwinspool -lshlwapi -lfreetype -lbz2 -lpng16
-        -lQt5PlatformSupport -lQt5Gui -lcomdlg32 -loleaut32 -limm32 -lwinmm
-        -lglu32 -lopengl32 -lgdi32 -ljpeg -lpng -lQt5Core -lole32 -luuid -lws2_32
-        -ladvapi32 -lshell32 -luser32 -lkernel32 -lz -lsicuin -lsicuuc -lsicudt -lpcre16)
-
-   set(EXTRA_STATIC_LIBS Qt5::QWindowsIntegrationPlugin ${WINDOWS_EXTRA_LIBS} -lwinhttp -lcrypt32)
-
    set(HARDENING_FLAGS " ${HARDENING_FLAGS} -Wl,--dynamicbase -Wl,--nxcompat")
 endif()
 
-set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} ${Qt5Widgets_EXECUTABLE_COMPILE_FLAGS}")
 set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} ${HARDENING_FLAGS}")
 set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} ${WARN_HARDENING_FLAGS} ${HARDENING_FLAGS}")
 
-# Adding resources here in an extra variable to enable reuse of
-# M13UI_SOURCES in the test subdirectory.
-set(M13UI_SOURCES_WITH_RESOURCES ${M13UI_SOURCES})
-qt5_add_resources(M13UI_SOURCES_WITH_RESOURCES ${M13UI_RESOURCES})
-add_executable(m13ui ${M13UI_SOURCES_WITH_RESOURCES})
-
-target_link_libraries(m13ui Qt5::Widgets ${EXTRA_STATIC_LIBS} gcov)
-
-add_custom_target(static_check)
-
-# CPPCheck
-include(GenerateCppcheck)
-generate_cppcheck(SOURCES ${CINST_SOURCES} ${M13UI_SOURCES} TARGET_NAME m13)
-add_dependencies(static_check cppcheck)
-
 # FlawFinder
 find_program(FLAWFINDER_PATH flawfinder DOC "flawfinder path")
 if (FLAWFINDER_PATH)
@@ -117,9 +50,8 @@
     add_dependencies(static_check flawfinder)
 endif (FLAWFINDER_PATH)
 
-# Tests
-add_subdirectory(tests)
 add_subdirectory(cinst)
+add_subdirectory(ui)
 
 # Documentation
 configure_file (doc/Doxyfile.in doc/Doxyfile)
--- a/cinst/main.c	Mon Mar 10 14:15:15 2014 +0000
+++ b/cinst/main.c	Tue Mar 11 19:00:35 2014 +0100
@@ -11,6 +11,6 @@
 
 #include <stdio.h>
 
-int main(int argc, char* argv[]) {
+int main() {
     return 0;
 }
--- a/tests/CMakeLists.txt	Mon Mar 10 14:15:15 2014 +0000
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,20 +0,0 @@
-set(EXECUTABLE_OUTPUT_PATH ${CMAKE_CURRENT_BINARY_DIR})
-
-include_directories(${CMAKE_CURRENT_BINARY_DIR} ${CMAKE_CURRENT_SOURCE_DIR}/../ui)
-
-find_package(Qt5Test)
-
-macro(add_m13_test _source _additional_sources)
-  set(_test ${_source})
-  get_filename_component(_name ${_source} NAME_WE)
-  add_executable(${_name} ${_test} ${_additional_sources})
-  add_test(m13-${_name} ${_name})
-  target_link_libraries(${_name} Qt5::Test Qt5::Widgets ${EXTRA_STATIC_LIBS})
-endmacro()
-
-# Add the current source dir to the definition
-# so that it can be used in file names in the tests.
-add_definitions(-DSOURCE_DIR="${CMAKE_CURRENT_SOURCE_DIR}")
-add_m13_test(certlistparsertest.cpp "${CERTIFICATELIST_SOURCES}")
-add_m13_test(${CMAKE_SOURCE_DIR}/ui/main.cpp "${M13UI_SOURCES}")
-
--- a/tests/certlistparsertest.cpp	Mon Mar 10 14:15:15 2014 +0000
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,79 +0,0 @@
-#include "certlistparsertest.h"
-#include "certificatelist.h"
-
-#include <QDebug>
-
-
-void CertListTest::testInvalidSig()
-{
-    const char *fname = "list-invalid-signed.txt";
-    CertificateList *certList = testWithFile(fname);
-    QCOMPARE (certList->getStatus(), InvalidSignature);
-    delete certList;
-}
-
-void verifyInvalidFile(const char *fName) {
-    CertificateList *certList = new CertificateList(fName);
-    QVERIFY (certList->getStatus() != Valid);
-    delete certList;
-}
-
-void CertListTest::testInvalidFileNames()
-{
-    verifyInvalidFile("/dev/random");
-    verifyInvalidFile("/tmp/");
-    verifyInvalidFile(NULL);
-    verifyInvalidFile("ä");
-    verifyInvalidFile("💩 ");
-}
-
-void CertListTest::testGarbage()
-{
-    const char *fname = "random_500KB";
-    CertificateList *certList = testWithFile(fname);
-    QCOMPARE (certList->getStatus(), InvalidFormat);
-    delete certList;
-}
-
-void CertListTest::testTooLarge()
-{
-    const char *fname = "random_2MB";
-    CertificateList *certList = testWithFile(fname);
-    QCOMPARE (certList->getStatus(), TooLarge);
-    QVERIFY (!certList->isValid());
-    delete certList;
-}
-
-void CertListTest::testValidList()
-{
-    const char *fname = "list-valid-signed.txt";
-    CertificateList *certList = testWithFile(fname);
-    QCOMPARE (certList->getStatus(), Valid);
-    QVERIFY (certList->isValid());
-    delete certList;
-}
-
-void CertListTest::benchmarkValid()
-{
-    const char *fname = "list-valid-signed.txt";
-
-    QBENCHMARK_ONCE {
-        CertificateList *certList = testWithFile(fname);
-        delete certList;
-    }
-}
-
-CertificateList* CertListTest::testWithFile(const char *filename)
-{
-    QDir dataDir = QDir(SOURCE_DIR"/data/");
-    QString fileName = dataDir.absoluteFilePath(filename);
-    return new CertificateList(fileName.toLocal8Bit().data());
-}
-
-int main( int argc, char **argv )
-{
-  CertListTest tc;
-  return QTest::qExec( &tc, argc, argv );
-}
-
-
--- a/tests/certlistparsertest.h	Mon Mar 10 14:15:15 2014 +0000
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,23 +0,0 @@
-#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 benchmarkValid();
-};
-#endif
--- a/tests/data/NOTES	Mon Mar 10 14:15:15 2014 +0000
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,20 +0,0 @@
-Testkeys were created with:
-    openssl genrsa -out testkey-priv.pem 3072
-    openssl rsa -in testkey-priv.pem -out testkey-pub.pem -outform PEM -pubout
-
-
-Certificate List was created manually and contains:
-    PCA-1-Verwaltung-08
-    Intevation-Email-CA-2013
-    Intevation-Server-CA-2010
-
-Signature created with:
-
-    echo S:$(openssl dgst -sha256 -sign testkey-priv.pem < list-valid.txt | base64 -w0) > list-valid-signed.txt
-    cat list-valid.txt >> list-valid-signed.txt
-    cp list-valid-signed.txt list-invalid-signed.txt
-    tail -1 list-valid.txt >> list-invalid-signed.txt
-
-Random Data generated with:
-    openssl rand -out random_2MB 2000000
-    openssl rand -out random_500k 500000
--- a/tests/data/list-invalid-signed.txt	Mon Mar 10 14:15:15 2014 +0000
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,7 +0,0 @@
-S:O3+KSo9C472WX5M7yUHI7TA4P/ApjN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0VKcYLKKCLu3gwegoRl3Yi39OnUIUUGaoNmn8ebn60MbthhsOAFALgMgr2wIROdjpVuad0go/hLyW0Iz8HxKl3AQOOQt0e7wkNE8Ms/cEJlLdNa9ylnCBD4RKIT8PHD3xrgbwLsLV1RAqGVr64gNvDQ/PRS51wsbSGfFdtjerzz4+3Kr1SBLi+wchWCEbH/vYF7yVblfwqprHshlMyvrQXez2rxWXQhAica4TGkP+DbamTh/bCOJo66j1MuR3jLDOnyXl3XtuMahnM+iNlIF4Jhx2tN8pew5jzejD911guw==
--- a/tests/data/list-valid-signed.txt	Mon Mar 10 14:15:15 2014 +0000
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,6 +0,0 @@
-S:O3+KSo9C472WX5M7yUHI7TA4P/ApjN2K8NB8THnWLTrwSWtwOMYtfgF6NjfhFB4CmimfHCcujhP/CuvzPRSiHoBS8o/UyACWY0al1ta+u7s5e0Y/yYwjWffpTadDoNCsnvpdpBgzSp3t2wOShh0kqeS+XT5bFSHi8I5aL5EZ7OgM5GT7vsi3jw5L7Ec5GNaZFw546foAkiqbxDwbQQ/MxelbCUvEZ4HC/k26sYTyZAVZ1Oh69umMSlGnl18rXvYrJ0dyiUBrZQKBv0rQ2eRalaIlwPEZs25fe1aBls8xGz+2kml752queucyFMVRXJ0H7Nk3uI3P9xlHpDRDpKPiXWCNUbB6ZLqzoH9c8Inci6uhfasGnaacSB7pBctgyht3uFT1drjARtYGxUhHhTHBBEYZeMyHanE4BeMH2l22HnOH7JrWLVYKbVvOvY+m1imT5CKnJU7FmgDLx+E2eE7K+0a8gul/MzQllWYeshfxhhz7bEuXvJPC/o3kwdv5Sqog
-F:1
-D:1390230582
-I:MIIGvzCCBKegAwIBAgIBBDANBgkqhkiG9w0BAQUFADA+MQswCQYDVQQGEwJERTEYMBYGA1UECgwPSW50ZXZhdGlvbiBHbWJIMRUwEwYDVQQDDAxSb290IENBIDIwMTAwHhcNMTMwMjA4MTcyNDI2WhcNMTgwMjA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cYLKKCLu3gwegoRl3Yi39OnUIUUGaoNmn8ebn60MbthhsOAFALgMgr2wIROdjpVuad0go/hLyW0Iz8HxKl3AQOOQt0e7wkNE8Ms/cEJlLdNa9ylnCBD4RKIT8PHD3xrgbwLsLV1RAqGVr64gNvDQ/PRS51wsbSGfFdtjerzz4+3Kr1SBLi+wchWCEbH/vYF7yVblfwqprHshlMyvrQXez2rxWXQhAica4TGkP+DbamTh/bCOJo66j1MuR3jLDOnyXl3XtuMahnM+iNlIF4Jhx2tN8pew5jzejD911guw==
Binary file tests/data/random_2MB has changed
Binary file tests/data/random_500KB has changed
--- a/tests/data/testkey-priv.pem	Mon Mar 10 14:15:15 2014 +0000
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,39 +0,0 @@
------BEGIN RSA PRIVATE KEY-----
-MIIG5QIBAAKCAYEAljObDbSjuYULdW9TtAzlLqopCVdbCTa+j5Vc+SM9damMrpWr
-KXW7X+PnZstboKJRyENLqUUwgkQYmtD9CzDUHKUqZFQHnnmNjN5FaYEcMG4rcL+Y
-9BUUIcxMogboeS6UuUnRHH0eZlNd5m7CYhL6y2sD4umJ+lx//K7Rh/qsamjEQHyT
-X4GeNJnoU6sRu17emGoPi37ACUXguv5D6KMY4FVSlObuYGe1r2RDl2E/EKTgJfXy
-+NsQswvChtyFVOS/1wv5cLwNFher1ttVP1Oj2ma0sLe4qZlSpNpG6bD9oZzCmwqK
-AuAZIY9dZNXgoAsnClqR1mdvii6zwI/k+bdy4aPqlNGjyeCXLGAzsZeyxzL7Ka09
-omr6OE4/okhaaj47xRPsODW7cDwF7kphHmoGIPbDs5Wc6PlYcS9triMyCDYSvwjj
-sZsYfSaNt8zu2fHrXQC+/ssvRUVvNHPncqUHsEEsfE/qhfQCZTgd/nw3/No4IRQX
-7spowGhnwtP/qsQTAgMBAAECggGBAIdzgGequF9MUNoVjDl5y4/6mck3wvwbJ1xa
-yR5PnlQmk5y5kkJwToqZ/wsfZsEEwJXFwkyi/azr9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hj+5QDrw9U1DPh
-n3jpt7u41uaeBzNVQYgkUikKVobLRwwam4/NVR9/0YwPnbktyzAO9YWym/hK76Zi
-aUD+bRAf8kw98lvCrL5UcpM8C1xFZbeFwgx0vihuBtDZLIJWzeISWEK4YDZ0rW5P
-6z+1Bg98OAFRsuQ3g1N4CsNNenYiInAORHR1oLsprWtMeQKBwQCRtJfkkzXXmIUa
-Zq8+pUn/sWTubaJSUwE/hiwZOKZhP1Y78cculwAHhAUaFH1k72szeR+jr7rUUX29
-77ZzfKfjYbqIkzzhUKmbnifNN7MhnrVaefsCPFBM/wmu4y3I8hev0BXPL4DvBrE3
-EzhHvPe/YgkW8BOnri6RRJ/+hLiDu28qSXKYahBisPiyzCT7iEfGnH3EkzFFcTij
-sUjzmfpZfGccgbcegsutQxqpzCtNIcb/+8e95WXLdqxjV/7MKDUCgcAgrcCfvhHZ
-oV6S3ZNgeWwd1xnj6eoVWlSelUazkO1Bd6VvPIMpfxgNMO95GhXoh2RXzUVEJ4Pa
-GVUZQ73023DaOem7JpsdcKYejE/qb6ehL2UM3hUm8mEG5xg95Uz2Hz34a+KCO79B
-oY5eTR/R1ftfDUXDU4ivzYFzKDDj00cu+PEs64Lk0+x8bWNxpTKMJnr5lqe6A9Us
-/J5W39Ql5P7VfkPEKfndDmKADQjjvLnqHzOEqN0NuWHKe8M6XzcUMWo=
------END RSA PRIVATE KEY-----
--- a/tests/data/testkey-pub.pem	Mon Mar 10 14:15:15 2014 +0000
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,11 +0,0 @@
------BEGIN PUBLIC KEY-----
-MIIBojANBgkqhkiG9w0BAQEFAAOCAY8AMIIBigKCAYEAljObDbSjuYULdW9TtAzl
-LqopCVdbCTa+j5Vc+SM9damMrpWrKXW7X+PnZstboKJRyENLqUUwgkQYmtD9CzDU
-HKUqZFQHnnmNjN5FaYEcMG4rcL+Y9BUUIcxMogboeS6UuUnRHH0eZlNd5m7CYhL6
-y2sD4umJ+lx//K7Rh/qsamjEQHyTX4GeNJnoU6sRu17emGoPi37ACUXguv5D6KMY
-4FVSlObuYGe1r2RDl2E/EKTgJfXy+NsQswvChtyFVOS/1wv5cLwNFher1ttVP1Oj
-2ma0sLe4qZlSpNpG6bD9oZzCmwqKAuAZIY9dZNXgoAsnClqR1mdvii6zwI/k+bdy
-4aPqlNGjyeCXLGAzsZeyxzL7Ka09omr6OE4/okhaaj47xRPsODW7cDwF7kphHmoG
-IPbDs5Wc6PlYcS9triMyCDYSvwjjsZsYfSaNt8zu2fHrXQC+/ssvRUVvNHPncqUH
-sEEsfE/qhfQCZTgd/nw3/No4IRQX7spowGhnwtP/qsQTAgMBAAE=
------END PUBLIC KEY-----
--- a/ui/certificatelist.h	Mon Mar 10 14:15:15 2014 +0000
+++ b/ui/certificatelist.h	Tue Mar 11 19:00:35 2014 +0100
@@ -35,7 +35,7 @@
      *  A list is valid only if the signature matched and the
      *  list could be parsed.
      */
-    bool isValid() {return mStatus == Valid;} const
+    bool isValid() const {return mStatus == Valid;}
 
     const QList<Certificate>& getCertificates() const;
 
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/ui/tests/CMakeLists.txt	Tue Mar 11 19:00:35 2014 +0100
@@ -0,0 +1,20 @@
+set(EXECUTABLE_OUTPUT_PATH ${CMAKE_CURRENT_BINARY_DIR})
+
+include_directories(${CMAKE_CURRENT_BINARY_DIR} ${CMAKE_CURRENT_SOURCE_DIR}/..)
+
+find_package(Qt5Test)
+
+macro(add_m13_test _source _additional_sources)
+  set(_test ${_source})
+  get_filename_component(_name ${_source} NAME_WE)
+  add_executable(${_name} ${_test} ${_additional_sources})
+  add_test(m13-${_name} ${_name})
+  target_link_libraries(${_name} Qt5::Test Qt5::Widgets ${EXTRA_STATIC_LIBS})
+endmacro()
+
+# Add the current source dir to the definition
+# so that it can be used in file names in the tests.
+add_definitions(-DSOURCE_DIR="${CMAKE_CURRENT_SOURCE_DIR}")
+add_m13_test(certlistparsertest.cpp "${CERTIFICATELIST_SOURCES}")
+#add_m13_test(${CMAKE_SOURCE_DIR}/ui/main.cpp "${M13UI_SOURCES}")
+
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/ui/tests/certlistparsertest.cpp	Tue Mar 11 19:00:35 2014 +0100
@@ -0,0 +1,79 @@
+#include "certlistparsertest.h"
+#include "certificatelist.h"
+
+#include <QDebug>
+
+
+void CertListTest::testInvalidSig()
+{
+    const char *fname = "list-invalid-signed.txt";
+    CertificateList *certList = testWithFile(fname);
+    QCOMPARE (certList->getStatus(), InvalidSignature);
+    delete certList;
+}
+
+void verifyInvalidFile(const char *fName) {
+    CertificateList *certList = new CertificateList(fName);
+    QVERIFY (certList->getStatus() != Valid);
+    delete certList;
+}
+
+void CertListTest::testInvalidFileNames()
+{
+    verifyInvalidFile("/dev/random");
+    verifyInvalidFile("/tmp/");
+    verifyInvalidFile(NULL);
+    verifyInvalidFile("ä");
+    verifyInvalidFile("💩 ");
+}
+
+void CertListTest::testGarbage()
+{
+    const char *fname = "random_500KB";
+    CertificateList *certList = testWithFile(fname);
+    QCOMPARE (certList->getStatus(), InvalidFormat);
+    delete certList;
+}
+
+void CertListTest::testTooLarge()
+{
+    const char *fname = "random_2MB";
+    CertificateList *certList = testWithFile(fname);
+    QCOMPARE (certList->getStatus(), TooLarge);
+    QVERIFY (!certList->isValid());
+    delete certList;
+}
+
+void CertListTest::testValidList()
+{
+    const char *fname = "list-valid-signed.txt";
+    CertificateList *certList = testWithFile(fname);
+    QCOMPARE (certList->getStatus(), Valid);
+    QVERIFY (certList->isValid());
+    delete certList;
+}
+
+void CertListTest::benchmarkValid()
+{
+    const char *fname = "list-valid-signed.txt";
+
+    QBENCHMARK_ONCE {
+        CertificateList *certList = testWithFile(fname);
+        delete certList;
+    }
+}
+
+CertificateList* CertListTest::testWithFile(const char *filename)
+{
+    QDir dataDir = QDir(SOURCE_DIR"/data/");
+    QString fileName = dataDir.absoluteFilePath(filename);
+    return new CertificateList(fileName.toLocal8Bit().data());
+}
+
+int main( int argc, char **argv )
+{
+  CertListTest tc;
+  return QTest::qExec( &tc, argc, argv );
+}
+
+
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/ui/tests/certlistparsertest.h	Tue Mar 11 19:00:35 2014 +0100
@@ -0,0 +1,23 @@
+#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 benchmarkValid();
+};
+#endif
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/ui/tests/data/NOTES	Tue Mar 11 19:00:35 2014 +0100
@@ -0,0 +1,20 @@
+Testkeys were created with:
+    openssl genrsa -out testkey-priv.pem 3072
+    openssl rsa -in testkey-priv.pem -out testkey-pub.pem -outform PEM -pubout
+
+
+Certificate List was created manually and contains:
+    PCA-1-Verwaltung-08
+    Intevation-Email-CA-2013
+    Intevation-Server-CA-2010
+
+Signature created with:
+
+    echo S:$(openssl dgst -sha256 -sign testkey-priv.pem < list-valid.txt | base64 -w0) > list-valid-signed.txt
+    cat list-valid.txt >> list-valid-signed.txt
+    cp list-valid-signed.txt list-invalid-signed.txt
+    tail -1 list-valid.txt >> list-invalid-signed.txt
+
+Random Data generated with:
+    openssl rand -out random_2MB 2000000
+    openssl rand -out random_500k 500000
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/ui/tests/data/list-invalid-signed.txt	Tue Mar 11 19:00:35 2014 +0100
@@ -0,0 +1,7 @@
+S:O3+KSo9C472WX5M7yUHI7TA4P/ApjN2K8NB8THnWLTrwSWtwOMYtfgF6NjfhFB4CmimfHCcujhP/CuvzPRSiHoBS8o/UyACWY0al1ta+u7s5e0Y/yYwjWffpTadDoNCs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E8Ms/cEJlLdNa9ylnCBD4RKIT8PHD3xrgbwLsLV1RAqGVr64gNvDQ/PRS51wsbSGfFdtjerzz4+3Kr1SBLi+wchWCEbH/vYF7yVblfwqprHshlMyvrQXez2rxWXQhAica4TGkP+DbamTh/bCOJo66j1MuR3jLDOnyXl3XtuMahnM+iNlIF4Jhx2tN8pew5jzejD911guw==
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/ui/tests/data/list-valid-signed.txt	Tue Mar 11 19:00:35 2014 +0100
@@ -0,0 +1,6 @@
+S:O3+KSo9C472WX5M7yUHI7TA4P/ApjN2K8NB8THnWLTrwSWtwOMYtfgF6NjfhFB4CmimfHCcujhP/CuvzPRSiHoBS8o/UyACWY0al1ta+u7s5e0Y/yYwjWffpTadDoNCsnvpdpBgzSp3t2wOShh0kqeS+XT5bFSHi8I5aL5EZ7OgM5GT7vsi3jw5L7Ec5GNaZFw546foAkiqbxDwbQQ/MxelbCUvEZ4HC/k26sYTyZAVZ1Oh69umMSlGnl18rXvYrJ0dyiUBrZQKBv0rQ2eRalaIlwPEZs25fe1aBls8xGz+2kml752queucyFMVRXJ0H7Nk3uI3P9xlHpDRDpKPiXWCNUbB6ZLqzoH9c8Inci6uhfasGnaacSB7pBctgyht3uFT1drjARtYGxUhHhTHBBEYZeMyHanE4BeMH2l22HnOH7JrWLVYKbVvOvY+m1imT5CKnJU7FmgDLx+E2eE7K+0a8gul/MzQllWYeshfxhhz7bEuXvJPC/o3kwdv5Sqog
+F:1
+D:1390230582
+I:MIIGvzCCBKegAwIBAgIBBDANBgkqhkiG9w0BAQUFADA+MQswCQYDVQQGEwJERTEYMBYGA1UECgwPSW50ZXZhdGlvbiBHbWJIMRUwEwYDVQQDDAxSb290IENBIDIwMTAwHhcNMTMwMjA4MTcyNDI2WhcNMTgwMjA4MTcyNDI2WjA/MQswCQYDVQQGEwJERTEYMBYGA1UECgwPSW50ZXZhdGlvbiBHbWJIMRYwFAYDVQQDDA1FbWFpbCBDQSA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wkNE8Ms/cEJlLdNa9ylnCBD4RKIT8PHD3xrgbwLsLV1RAqGVr64gNvDQ/PRS51wsbSGfFdtjerzz4+3Kr1SBLi+wchWCEbH/vYF7yVblfwqprHshlMyvrQXez2rxWXQhAica4TGkP+DbamTh/bCOJo66j1MuR3jLDOnyXl3XtuMahnM+iNlIF4Jhx2tN8pew5jzejD911guw==
Binary file ui/tests/data/random_2MB has changed
Binary file ui/tests/data/random_500KB has changed
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/ui/tests/data/testkey-priv.pem	Tue Mar 11 19:00:35 2014 +0100
@@ -0,0 +1,39 @@
+-----BEGIN RSA PRIVATE KEY-----
+MIIG5QIBAAKCAYEAljObDbSjuYULdW9TtAzlLqopCVdbCTa+j5Vc+SM9damMrpWr
+KXW7X+PnZstboKJRyENLqUUwgkQYmtD9CzDUHKUqZFQHnnmNjN5FaYEcMG4rcL+Y
+9BUUIcxMogboeS6UuUnRHH0eZlNd5m7CYhL6y2sD4umJ+lx//K7Rh/qsamjEQHyT
+X4GeNJnoU6sRu17emGoPi37ACUXguv5D6KMY4FVSlObuYGe1r2RDl2E/EKTgJfXy
++NsQswvChtyFVOS/1wv5cLwNFher1ttVP1Oj2ma0sLe4qZlSpNpG6bD9oZzCmwqK
+AuAZIY9dZNXgoAsnClqR1mdvii6zwI/k+bdy4aPqlNGjyeCXLGAzsZeyxzL7Ka09
+omr6OE4/okhaaj47xRPsODW7cDwF7kphHmoGIPbDs5Wc6PlYcS9triMyCDYSvwjj
+sZsYfSaNt8zu2fHrXQC+/ssvRUVvNHPncqUHsEEsfE/qhfQCZTgd/nw3/No4IRQX
+7spowGhnwtP/qsQTAgMBAAECggGBAIdzgGequF9MUNoVjDl5y4/6mck3wvwbJ1xa
+yR5PnlQmk5y5kkJwToqZ/wsfZsEEwJXFwkyi/azr9fhfcWMPJKm0dPdHJBvQ6Era
+A2SyrxYps/kYf7nV7HLSR2Vyr2DhFfPGUtLLLof+tFZjGd7R2ONq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aUD+bRAf8kw98lvCrL5UcpM8C1xFZbeFwgx0vihuBtDZLIJWzeISWEK4YDZ0rW5P
+6z+1Bg98OAFRsuQ3g1N4CsNNenYiInAORHR1oLsprWtMeQKBwQCRtJfkkzXXmIUa
+Zq8+pUn/sWTubaJSUwE/hiwZOKZhP1Y78cculwAHhAUaFH1k72szeR+jr7rUUX29
+77ZzfKfjYbqIkzzhUKmbnifNN7MhnrVaefsCPFBM/wmu4y3I8hev0BXPL4DvBrE3
+EzhHvPe/YgkW8BOnri6RRJ/+hLiDu28qSXKYahBisPiyzCT7iEfGnH3EkzFFcTij
+sUjzmfpZfGccgbcegsutQxqpzCtNIcb/+8e95WXLdqxjV/7MKDUCgcAgrcCfvhHZ
+oV6S3ZNgeWwd1xnj6eoVWlSelUazkO1Bd6VvPIMpfxgNMO95GhXoh2RXzUVEJ4Pa
+GVUZQ73023DaOem7JpsdcKYejE/qb6ehL2UM3hUm8mEG5xg95Uz2Hz34a+KCO79B
+oY5eTR/R1ftfDUXDU4ivzYFzKDDj00cu+PEs64Lk0+x8bWNxpTKMJnr5lqe6A9Us
+/J5W39Ql5P7VfkPEKfndDmKADQjjvLnqHzOEqN0NuWHKe8M6XzcUMWo=
+-----END RSA PRIVATE KEY-----
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/ui/tests/data/testkey-pub.pem	Tue Mar 11 19:00:35 2014 +0100
@@ -0,0 +1,11 @@
+-----BEGIN PUBLIC KEY-----
+MIIBojANBgkqhkiG9w0BAQEFAAOCAY8AMIIBigKCAYEAljObDbSjuYULdW9TtAzl
+LqopCVdbCTa+j5Vc+SM9damMrpWrKXW7X+PnZstboKJRyENLqUUwgkQYmtD9CzDU
+HKUqZFQHnnmNjN5FaYEcMG4rcL+Y9BUUIcxMogboeS6UuUnRHH0eZlNd5m7CYhL6
+y2sD4umJ+lx//K7Rh/qsamjEQHyTX4GeNJnoU6sRu17emGoPi37ACUXguv5D6KMY
+4FVSlObuYGe1r2RDl2E/EKTgJfXy+NsQswvChtyFVOS/1wv5cLwNFher1ttVP1Oj
+2ma0sLe4qZlSpNpG6bD9oZzCmwqKAuAZIY9dZNXgoAsnClqR1mdvii6zwI/k+bdy
+4aPqlNGjyeCXLGAzsZeyxzL7Ka09omr6OE4/okhaaj47xRPsODW7cDwF7kphHmoG
+IPbDs5Wc6PlYcS9triMyCDYSvwjjsZsYfSaNt8zu2fHrXQC+/ssvRUVvNHPncqUH
+sEEsfE/qhfQCZTgd/nw3/No4IRQX7spowGhnwtP/qsQTAgMBAAE=
+-----END PUBLIC KEY-----

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