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