~unity-api-team/storage-provider-webdav/trunk

« back to all changes in this revision

Viewing changes to tests/utils/DavEnvironment.h

  • Committer: Tarmac
  • Author(s): James Henstridge
  • Date: 2016-09-23 05:03:11 UTC
  • mfrom: (7.1.13 provider-test-fixture)
  • Revision ID: tarmac-20160923050311-bb3m6zal58cpccqu
Add test infrastructure for testing DavProvider.

Approved by Michi Henning, unity-api-1-bot.

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
#pragma once
 
2
 
 
3
#include <QProcess>
 
4
#include <QString>
 
5
#include <QUrl>
 
6
 
 
7
class DavEnvironment {
 
8
public:
 
9
    DavEnvironment(QString const& base_dir);
 
10
    ~DavEnvironment();
 
11
 
 
12
    QUrl const& base_url() const;
 
13
 
 
14
private:
 
15
    QProcess server_;
 
16
    QUrl base_url_;
 
17
};