2019-07-24 14:56:21 +03:00
|
|
|
#ifndef TESTHELPER_H
|
|
|
|
#define TESTHELPER_H
|
|
|
|
|
2021-07-23 18:41:02 +03:00
|
|
|
#include "gui/folder.h"
|
2019-07-24 14:56:21 +03:00
|
|
|
#include "creds/httpcredentials.h"
|
|
|
|
|
2021-07-23 18:41:02 +03:00
|
|
|
class HttpCredentialsTest : public OCC::HttpCredentials
|
|
|
|
{
|
2019-07-24 14:56:21 +03:00
|
|
|
public:
|
|
|
|
HttpCredentialsTest(const QString& user, const QString& password)
|
|
|
|
: HttpCredentials(user, password)
|
|
|
|
{}
|
|
|
|
|
2021-08-25 17:08:36 +03:00
|
|
|
void askFromUser() override {
|
2019-07-24 14:56:21 +03:00
|
|
|
|
|
|
|
}
|
|
|
|
};
|
|
|
|
|
2021-07-23 18:41:02 +03:00
|
|
|
OCC::FolderDefinition folderDefinition(const QString &path);
|
2019-07-24 14:56:21 +03:00
|
|
|
|
|
|
|
#endif // TESTHELPER_H
|