Mercurial > trustbridge
annotate ui/tests/commontest.h @ 452:f8b480b08532
Factor out polarssl error handling and start new sslhelp file
author | Andre Heinecke <aheinecke@intevation.de> |
---|---|
date | Wed, 23 Apr 2014 10:33:40 +0000 |
parents | 17e1c8f37d72 |
children |
rev | line source |
---|---|
404 | 1 /* Copyright (C) 2014 by Bundesamt für Sicherheit in der Informationstechnik |
2 * Software engineering by Intevation GmbH | |
3 * | |
4 * This file is Free Software under the GNU GPL (v>=2) | |
5 * and comes with ABSOLUTELY NO WARRANTY! | |
6 * See LICENSE.txt for details. | |
7 */ | |
182
6c3a089d3265
Add test for str_base64_decode as i suspect it to have a bug
Andre Heinecke <aheinecke@intevation.de>
parents:
diff
changeset
|
8 #ifndef COMMONTEST_H |
6c3a089d3265
Add test for str_base64_decode as i suspect it to have a bug
Andre Heinecke <aheinecke@intevation.de>
parents:
diff
changeset
|
9 #define COMMONTEST_H |
6c3a089d3265
Add test for str_base64_decode as i suspect it to have a bug
Andre Heinecke <aheinecke@intevation.de>
parents:
diff
changeset
|
10 |
6c3a089d3265
Add test for str_base64_decode as i suspect it to have a bug
Andre Heinecke <aheinecke@intevation.de>
parents:
diff
changeset
|
11 #include <QObject> |
6c3a089d3265
Add test for str_base64_decode as i suspect it to have a bug
Andre Heinecke <aheinecke@intevation.de>
parents:
diff
changeset
|
12 |
6c3a089d3265
Add test for str_base64_decode as i suspect it to have a bug
Andre Heinecke <aheinecke@intevation.de>
parents:
diff
changeset
|
13 class CommonTest: public QObject |
6c3a089d3265
Add test for str_base64_decode as i suspect it to have a bug
Andre Heinecke <aheinecke@intevation.de>
parents:
diff
changeset
|
14 { |
6c3a089d3265
Add test for str_base64_decode as i suspect it to have a bug
Andre Heinecke <aheinecke@intevation.de>
parents:
diff
changeset
|
15 Q_OBJECT |
6c3a089d3265
Add test for str_base64_decode as i suspect it to have a bug
Andre Heinecke <aheinecke@intevation.de>
parents:
diff
changeset
|
16 |
6c3a089d3265
Add test for str_base64_decode as i suspect it to have a bug
Andre Heinecke <aheinecke@intevation.de>
parents:
diff
changeset
|
17 private Q_SLOTS: |
6c3a089d3265
Add test for str_base64_decode as i suspect it to have a bug
Andre Heinecke <aheinecke@intevation.de>
parents:
diff
changeset
|
18 void testStrBase64Decode(); |
237
6435e28ae753
Properly test for invalid input
Andre Heinecke <aheinecke@intevation.de>
parents:
182
diff
changeset
|
19 void testInvalidInput(); |
182
6c3a089d3265
Add test for str_base64_decode as i suspect it to have a bug
Andre Heinecke <aheinecke@intevation.de>
parents:
diff
changeset
|
20 }; |
6c3a089d3265
Add test for str_base64_decode as i suspect it to have a bug
Andre Heinecke <aheinecke@intevation.de>
parents:
diff
changeset
|
21 #endif |