1
0
mirror of https://github.com/chylex/Nextcloud-Desktop.git synced 2024-11-25 01:42:47 +01:00
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

22 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