1//
2// CoreTestSuite.cpp
3//
4// Copyright (c) 2004-2006, Applied Informatics Software Engineering GmbH.
5// and Contributors.
6//
7// SPDX-License-Identifier: BSL-1.0
8//
9
10
11#include "CoreTestSuite.h"
12#include "CoreTest.h"
13#include "ArrayTest.h"
14#include "RefPtrTest.h"
15#include "SharedPtrTest.h"
16#include "AutoReleasePoolTest.h"
17#include "ByteOrderTest.h"
18#include "StringTest.h"
19#include "StringTokenizerTest.h"
20#ifndef POCO_VXWORKS
21#include "FPETest.h"
22#endif
23#include "RegularExpressionTest.h"
24#include "NDCTest.h"
25#include "NumberFormatterTest.h"
26#include "NumberParserTest.h"
27#include "DynamicFactoryTest.h"
28#include "MemoryPoolTest.h"
29#include "AnyTest.h"
30#include "VarTest.h"
31#include "FormatTest.h"
32#include "TuplesTest.h"
33#ifndef POCO_VXWORKS
34#include "NamedTuplesTest.h"
35#endif
36#include "TypeListTest.h"
37#include "ObjectPoolTest.h"
38#include "ListMapTest.h"
39#include "OrderedContainersTest.h"
40
41
42CppUnit::Test* CoreTestSuite::suite()
43{
44 CppUnit::TestSuite* pSuite = new CppUnit::TestSuite("CoreTestSuite");
45
46 pSuite->addTest(CoreTest::suite());
47 pSuite->addTest(ArrayTest::suite());
48 pSuite->addTest(RefPtrTest::suite());
49 pSuite->addTest(SharedPtrTest::suite());
50 pSuite->addTest(AutoReleasePoolTest::suite());
51 pSuite->addTest(ByteOrderTest::suite());
52 pSuite->addTest(StringTest::suite());
53 pSuite->addTest(StringTokenizerTest::suite());
54#ifndef POCO_VXWORKS
55 pSuite->addTest(FPETest::suite());
56#endif
57 pSuite->addTest(RegularExpressionTest::suite());
58 pSuite->addTest(NDCTest::suite());
59 pSuite->addTest(NumberFormatterTest::suite());
60 pSuite->addTest(NumberParserTest::suite());
61 pSuite->addTest(DynamicFactoryTest::suite());
62 pSuite->addTest(MemoryPoolTest::suite());
63 pSuite->addTest(AnyTest::suite());
64 pSuite->addTest(VarTest::suite());
65 pSuite->addTest(FormatTest::suite());
66 pSuite->addTest(TuplesTest::suite());
67#ifndef POCO_VXWORKS
68 pSuite->addTest(NamedTuplesTest::suite());
69#endif
70 pSuite->addTest(TypeListTest::suite());
71 pSuite->addTest(ObjectPoolTest::suite());
72 pSuite->addTest(ListMapTest::suite());
73 pSuite->addTest(OrderedContainersTest::suite());
74
75 return pSuite;
76}
77
78#if POCO_ARCH == POCO_ARCH_AMD64
79
80// see RefPtrTest for use of this
81namespace unopt {
82
83void unoptimizer() { }
84
85}
86
87#endif
88