testhelper.h 483 B

1234567891011121314151617181920212223
  1. #ifndef TESTHELPER_H
  2. #define TESTHELPER_H
  3. #include "gui/folder.h"
  4. #include "creds/httpcredentials.h"
  5. class HttpCredentialsTest : public OCC::HttpCredentials
  6. {
  7. public:
  8. HttpCredentialsTest(const QString& user, const QString& password)
  9. : HttpCredentials(user, password)
  10. {}
  11. void askFromUser() override {
  12. }
  13. };
  14. OCC::FolderDefinition folderDefinition(const QString &path);
  15. const QByteArray jsonValueToOccReply(const QJsonValue &jsonValue);
  16. #endif // TESTHELPER_H