diff options
Diffstat (limited to 'tests/auto/declarative/shared/testhttpserver.h')
-rw-r--r-- | tests/auto/declarative/shared/testhttpserver.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/tests/auto/declarative/shared/testhttpserver.h b/tests/auto/declarative/shared/testhttpserver.h index 62fe7b4..2a8709f 100644 --- a/tests/auto/declarative/shared/testhttpserver.h +++ b/tests/auto/declarative/shared/testhttpserver.h @@ -61,6 +61,8 @@ public: bool wait(const QUrl &expect, const QUrl &reply, const QUrl &body); bool hasFailed() const; + void addAlias(const QString &filename, const QString &aliasName); + private slots: void newConnection(); void disconnected(); @@ -80,6 +82,8 @@ private: QByteArray bodyData; bool m_hasFailed; + QHash<QString,QString> aliases; + QTcpServer server; }; |