summaryrefslogtreecommitdiffstats
path: root/tests/auto/qxmlstream
diff options
context:
space:
mode:
authorJason McDonald <jason.mcdonald@nokia.com>2011-05-03 07:30:43 (GMT)
committerJason McDonald <jason.mcdonald@nokia.com>2011-05-04 04:42:38 (GMT)
commit614474fb3d440eabd3ba7e381d246064ce39f4fa (patch)
treee3a0be04c767591e91eef2c04ca4e7eabddde8d9 /tests/auto/qxmlstream
parentd7453aef14b80a5972909ed99f1b4c765b7436a5 (diff)
downloadQt-614474fb3d440eabd3ba7e381d246064ce39f4fa.zip
Qt-614474fb3d440eabd3ba7e381d246064ce39f4fa.tar.gz
Qt-614474fb3d440eabd3ba7e381d246064ce39f4fa.tar.bz2
Remove unused code from QXmlStream autotest
Change-Id: I719e502ef14848a22d41de71245fe6b6758c8d6b Reviewed-by: Rohan McGovern
Diffstat (limited to 'tests/auto/qxmlstream')
-rw-r--r--tests/auto/qxmlstream/qc14n.h17
1 files changed, 2 insertions, 15 deletions
diff --git a/tests/auto/qxmlstream/qc14n.h b/tests/auto/qxmlstream/qc14n.h
index bf80908..99432f3 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);