1 | // |
2 | // SharedPtrTest.h |
3 | // |
4 | // Definition of the SharedPtrTest 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 SharedPtrTest_INCLUDED |
14 | #define SharedPtrTest_INCLUDED |
15 | |
16 | |
17 | #include "Poco/Foundation.h" |
18 | #include "Poco/CppUnit/TestCase.h" |
19 | |
20 | |
21 | class SharedPtrTest: public CppUnit::TestCase |
22 | { |
23 | public: |
24 | SharedPtrTest(const std::string& name); |
25 | ~SharedPtrTest(); |
26 | |
27 | void testSharedPtr(); |
28 | |
29 | void testImplicitCast(); |
30 | void testExplicitCast(); |
31 | |
32 | void setUp(); |
33 | void tearDown(); |
34 | |
35 | static CppUnit::Test* suite(); |
36 | |
37 | private: |
38 | }; |
39 | |
40 | |
41 | #endif // SharedPtrTest_INCLUDED |
42 | |