| 1 | // |
|---|---|
| 2 | // LoggingTestSuite.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 "LoggingTestSuite.h" |
| 12 | #include "LoggerTest.h" |
| 13 | #include "ChannelTest.h" |
| 14 | #include "PatternFormatterTest.h" |
| 15 | #include "FileChannelTest.h" |
| 16 | #include "SimpleFileChannelTest.h" |
| 17 | #include "LoggingFactoryTest.h" |
| 18 | #include "LoggingRegistryTest.h" |
| 19 | #include "LogStreamTest.h" |
| 20 | |
| 21 | |
| 22 | CppUnit::Test* LoggingTestSuite::suite() |
| 23 | { |
| 24 | CppUnit::TestSuite* pSuite = new CppUnit::TestSuite("LoggingTestSuite"); |
| 25 | |
| 26 | pSuite->addTest(LoggerTest::suite()); |
| 27 | pSuite->addTest(ChannelTest::suite()); |
| 28 | pSuite->addTest(PatternFormatterTest::suite()); |
| 29 | pSuite->addTest(FileChannelTest::suite()); |
| 30 | pSuite->addTest(SimpleFileChannelTest::suite()); |
| 31 | pSuite->addTest(LoggingFactoryTest::suite()); |
| 32 | pSuite->addTest(LoggingRegistryTest::suite()); |
| 33 | pSuite->addTest(LogStreamTest::suite()); |
| 34 | |
| 35 | return pSuite; |
| 36 | } |
| 37 |