9e048495ba
(waitForReadyConnected, waitForAuthenticated, waitForMailSent) synchronous waiting. Added writeToDevice() function to MimeMessage and MimePart (and subclasses), now these are used in SmtpClient instead of toString(). Added some unit tests.
22 lines
316 B
C++
22 lines
316 B
C++
#ifndef CONNECTIONTEST_H
|
|
#define CONNECTIONTEST_H
|
|
|
|
#include <QObject>
|
|
|
|
class ConnectionTest : public QObject
|
|
{
|
|
Q_OBJECT
|
|
public:
|
|
ConnectionTest(QObject *parent = 0);
|
|
|
|
private slots:
|
|
|
|
void init();
|
|
void cleanup();
|
|
|
|
void testConnect();
|
|
void testConnect_data();
|
|
};
|
|
|
|
#endif // CONNECTIONTEST_H
|