| 1 | // |
|---|---|
| 2 | // ODBCTestSuite.cpp |
| 3 | // |
| 4 | // Copyright (c) 2008, Applied Informatics Software Engineering GmbH. |
| 5 | // and Contributors. |
| 6 | // |
| 7 | // SPDX-License-Identifier: BSL-1.0 |
| 8 | // |
| 9 | |
| 10 | |
| 11 | #include "MySQLTestSuite.h" |
| 12 | #include "MySQLTest.h" |
| 13 | |
| 14 | CppUnit::Test* MySQLTestSuite::suite() |
| 15 | { |
| 16 | CppUnit::TestSuite* pSuite = new CppUnit::TestSuite("MySQLTestSuite"); |
| 17 | |
| 18 | addTest(pSuite, MySQLTest::suite()); |
| 19 | return pSuite; |
| 20 | } |
| 21 | |
| 22 | |
| 23 | void MySQLTestSuite::addTest(CppUnit::TestSuite* pSuite, CppUnit::Test* pT) |
| 24 | { |
| 25 | if (pSuite && pT) pSuite->addTest(pT); |
| 26 | } |
| 27 |