Files
android_openssl/tst_openssl/tst_openssl.cpp
Assam Boudjelthia 970e2742b0 Add test to check the libs are working properly
It's a simple check at runtime to see if ssl is supported using the included libs.
2025-02-17 15:07:49 +02:00

18 lines
263 B
C++

#include <QtTest>
#include <QSslSocket>
class tst_OpenSsl : public QObject
{
Q_OBJECT
private slots:
void supportsSsl();
};
void tst_OpenSsl::supportsSsl() {
QVERIFY(QSslSocket::supportsSsl());
}
QTEST_MAIN(tst_OpenSsl)
#include "tst_openssl.moc"