diff options
author | Jason McDonald <jason.mcdonald@nokia.com> | 2011-05-03 17:30:43 +1000 |
---|---|---|
committer | Rohan McGovern <rohan.mcgovern@nokia.com> | 2011-05-18 10:46:44 +1000 |
commit | 48ab5a8d25ff5d5c706763f65024d5b05ba7fcd0 (patch) | |
tree | 945991a94380466526e8ebc261cfb61cbe5be80b /tests/auto/qxmlstream/qc14n.h | |
parent | 8c191084a8a65262c3a2de52082b986c8db17f02 (diff) |
Remove unused code from QXmlStream autotest
Change-Id: I719e502ef14848a22d41de71245fe6b6758c8d6b
Reviewed-by: Rohan McGovern
(cherry picked from commit 614474fb3d440eabd3ba7e381d246064ce39f4fa)
Diffstat (limited to 'tests/auto/qxmlstream/qc14n.h')
-rw-r--r-- | tests/auto/qxmlstream/qc14n.h | 17 |
1 files changed, 2 insertions, 15 deletions
diff --git a/tests/auto/qxmlstream/qc14n.h b/tests/auto/qxmlstream/qc14n.h index bf8090888d..99432f3b35 100644 --- a/tests/auto/qxmlstream/qc14n.h +++ b/tests/auto/qxmlstream/qc14n.h @@ -47,17 +47,9 @@ QT_FORWARD_DECLARE_CLASS(QString) class QC14N { public: - enum Option - { - IgnoreProcessingInstruction, - IgnoreComments - }; - typedef QFlags<Option> Options; - static bool isEqual(QIODevice *const firstDocument, QIODevice *const secondDocument, - QString *const message = 0, - const Options options = Options()); + QString *const message = 0); private: static bool isDifferent(const QXmlStreamReader &r1, @@ -76,8 +68,7 @@ private: */ bool QC14N::isEqual(QIODevice *const firstDocument, QIODevice *const secondDocument, - QString *const message, - const Options options) + QString *const message) { qDebug() << Q_FUNC_INFO; Q_ASSERT_X(firstDocument, Q_FUNC_INFO, @@ -86,10 +77,6 @@ bool QC14N::isEqual(QIODevice *const firstDocument, "A valid QIODevice pointer must be supplied"); Q_ASSERT_X(firstDocument->isReadable(), Q_FUNC_INFO, "The device must be readable."); Q_ASSERT_X(secondDocument->isReadable(), Q_FUNC_INFO, "The device must be readable."); - - Q_ASSERT_X(options == Options(), Q_FUNC_INFO, - "Not yet implemented."); - Q_UNUSED(options); QXmlStreamReader r1(firstDocument); QXmlStreamReader r2(secondDocument); |