mirror of
https://github.com/chylex/Nextcloud-Desktop.git
synced 2024-11-22 10:42:46 +01:00
d17d831205
our requirements guarantee availability of override keyword so we just use it Signed-off-by: Matthieu Gallien <matthieu.gallien@nextcloud.com>
22 lines
415 B
C++
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
|