summaryrefslogtreecommitdiffstats
path: root/tests/auto/corelib/io/qurlinternal
diff options
context:
space:
mode:
authorThiago Macieira <thiago.macieira@intel.com>2012-03-29 12:10:47 -0300
committerQt by Nokia <qt-info@nokia.com>2012-03-30 01:19:59 +0200
commit7f20dce264c6f982e84c3b5d60f3ffbf6341c908 (patch)
tree62725d52c31d51dbdb4c2d0efb4cae8e253dcacc /tests/auto/corelib/io/qurlinternal
parentc9b78026f575361f09b2fac1b1d4abba6a3c2f7d (diff)
Move the #include "tst_qurlinternal.moc" up to workaround a bug
I don't know if the bug is in moc or in qmake. But it bails out trying to parse the .cpp file after the tst_QUrlInternal::nameprep_testsuite_data function. If the #include is placed above, it works. If it's placed below, it doesn't. Change-Id: Ide554aa5aa3f1999e29604ba6d25ccdb09f6ef28 Reviewed-by: Marius Storm-Olsen <marius.storm-olsen@nokia.com> Reviewed-by: Oswald Buddenhagen <oswald.buddenhagen@nokia.com>
Diffstat (limited to 'tests/auto/corelib/io/qurlinternal')
-rw-r--r--tests/auto/corelib/io/qurlinternal/tst_qurlinternal.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/tests/auto/corelib/io/qurlinternal/tst_qurlinternal.cpp b/tests/auto/corelib/io/qurlinternal/tst_qurlinternal.cpp
index 34b9c94865..f853bab9e5 100644
--- a/tests/auto/corelib/io/qurlinternal/tst_qurlinternal.cpp
+++ b/tests/auto/corelib/io/qurlinternal/tst_qurlinternal.cpp
@@ -104,6 +104,7 @@ private Q_SLOTS:
void encodingRecodeInvalidUtf8_data();
void encodingRecodeInvalidUtf8();
};
+#include "tst_qurlinternal.moc"
void tst_QUrlInternal::idna_testsuite_data()
{
@@ -979,5 +980,3 @@ void tst_QUrlInternal::encodingRecodeInvalidUtf8()
}
QTEST_APPLESS_MAIN(tst_QUrlInternal)
-
-#include "tst_qurlinternal.moc"