1 | // |
2 | // SHA2EngineTest.h |
3 | // |
4 | // Definition of the SHA2EngineTest class. |
5 | // |
6 | // Copyright (c) 2017, Applied Informatics Software Engineering GmbH |
7 | // and Contributors. |
8 | // |
9 | // SPDX-License-Identifier: BSL-1.0 |
10 | // |
11 | |
12 | #ifndef SHA2EngineTest_INCLUDED |
13 | #define SHA2EngineTest_INCLUDED |
14 | |
15 | #include "Poco/Foundation.h" |
16 | #include "Poco/CppUnit/TestCase.h" |
17 | |
18 | class SHA2EngineTest: public CppUnit::TestCase |
19 | { |
20 | public: |
21 | SHA2EngineTest(const std::string& name); |
22 | ~SHA2EngineTest(); |
23 | |
24 | void testSHA224(); |
25 | void testSHA256(); |
26 | void testSHA384(); |
27 | void testSHA512(); |
28 | |
29 | void setUp(); |
30 | void tearDown(); |
31 | |
32 | static CppUnit::Test* suite(); |
33 | |
34 | private: |
35 | }; |
36 | |
37 | #endif // SHA2EngineTest_INCLUDED |
38 | |