mirror of
https://github.com/nextcloud/desktop.git
synced 2024-11-23 05:25:50 +03:00
d17d831205
our requirements guarantee availability of override keyword so we just use it Signed-off-by: Matthieu Gallien <matthieu.gallien@nextcloud.com>
21 lines
415 B
C++
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
|