2019-11-20 16:02:23 +01:00

31 lines
620 B
C++

#pragma once
#include <QtTest/QtTest>
#include <QSignalSpy>
#include "subject.h"
#include "databaseapi.h"
#include <QSslSocket>
class UnitTest : public QObject
{
Q_OBJECT
private slots:
void initTestCase();
private:
std::shared_ptr<Token> getTestToken();
//QString host = "http://localhost:8080"; //colnod server (ssh -L 8080:192.168.254.11:8443 penta-master)
QString host = "https://192.168.1.3:8443"; //local testing server
QString password = "spaceti1";
QString email = "spaceti";
static constexpr int timeout = 10000;
static constexpr qint64 epochMS = 1568646217767;
};