1//
2// AnyTest.h
3//
4// Tests for Any types
5//
6// Copyright (c) 2006, Applied Informatics Software Engineering GmbH.
7// and Contributors.
8//
9// SPDX-License-Identifier: BSL-1.0
10//
11
12#ifndef AnyTest_INCLUDED
13#define AnyTest_INCLUDED
14
15
16#include "Poco/Foundation.h"
17#include "Poco/CppUnit/TestCase.h"
18
19
20class AnyTest: public CppUnit::TestCase
21{
22public:
23 AnyTest(const std::string& name);
24 ~AnyTest();
25
26 void testConvertingCtor();
27 void testDefaultCtor();
28 void testCopyCtor();
29 void testCopyAssign();
30 void testConvertingAssign();
31 void testBadCast();
32 void testSwap();
33 void testEmptyCopy();
34 void testCastToReference();
35
36 void testInt();
37 void testComplexType();
38 void testVector();
39
40 void setUp();
41 void tearDown();
42 static CppUnit::Test* suite();
43};
44
45
46#endif // AnyTest_INCLUDED
47