| 1 | // |
|---|---|
| 2 | // CryptoTestSuite.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 "Poco/Platform.h" |
| 12 | // see https://github.com/openssl/openssl/blob/master/doc/man3/OPENSSL_Applink.pod |
| 13 | #if defined(_MSC_VER) |
| 14 | #include "openssl/applink.c" |
| 15 | #endif |
| 16 | #include "CryptoTestSuite.h" |
| 17 | #include "CryptoTest.h" |
| 18 | #include "RSATest.h" |
| 19 | #include "ECTest.h" |
| 20 | #include "EVPTest.h" |
| 21 | #include "DigestEngineTest.h" |
| 22 | #include "PKCS12ContainerTest.h" |
| 23 | |
| 24 | |
| 25 | CppUnit::Test* CryptoTestSuite::suite() |
| 26 | { |
| 27 | CppUnit::TestSuite* pSuite = new CppUnit::TestSuite("CryptoTestSuite"); |
| 28 | |
| 29 | pSuite->addTest(CryptoTest::suite()); |
| 30 | pSuite->addTest(RSATest::suite()); |
| 31 | pSuite->addTest(ECTest::suite()); |
| 32 | pSuite->addTest(EVPTest::suite()); |
| 33 | pSuite->addTest(DigestEngineTest::suite()); |
| 34 | pSuite->addTest(PKCS12ContainerTest::suite()); |
| 35 | return pSuite; |
| 36 | } |
| 37 |