nextcloud-desktop/test/testhelper.h

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

24 lines
483 B
C
Raw Normal View History

#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