nextcloud-desktop/test/testhelper.h
Matthieu Gallien d17d831205 switch from Q_DECL_OVERRIDE to plain override
our requirements guarantee availability of override keyword so we just
use it

Signed-off-by: Matthieu Gallien <matthieu.gallien@nextcloud.com>
2021-08-31 08:35:57 +00:00

21 lines
415 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);
#endif // TESTHELPER_H