mirror of
https://github.com/nextcloud/desktop.git
synced 2024-11-29 20:28:57 +03:00
7ba6969e65
Signed-off-by: Claudio Cambra <claudio.cambra@nextcloud.com>
23 lines
483 B
C++
23 lines
483 B
C++
#ifndef TESTHELPER_H
|
|
#define TESTHELPER_H
|
|
|
|
#include "gui/folder.h"
|
|
#include "creds/httpcredentials.h"
|
|
|
|
class HttpCredentialsTest : public OCC::HttpCredentials
|
|
{
|
|
public:
|
|
HttpCredentialsTest(const QString& user, const QString& password)
|
|
: HttpCredentials(user, password)
|
|
{}
|
|
|
|
void askFromUser() override {
|
|
|
|
}
|
|
};
|
|
|
|
OCC::FolderDefinition folderDefinition(const QString &path);
|
|
|
|
const QByteArray jsonValueToOccReply(const QJsonValue &jsonValue);
|
|
|
|
#endif // TESTHELPER_H
|