Move test files around.
authorRobin Burchell <robin.burchell@collabora.com>
Thu, 19 Jan 2012 23:27:46 +0000 (01:27 +0200)
committerQt by Nokia <qt-info@nokia.com>
Tue, 24 Jan 2012 00:08:55 +0000 (01:08 +0100)
main.cpp is easier for my muscle memory to remember than qhash_string as it is
used by a number of other tests.

Change-Id: I044f995d55a4ff1328dde0ae27b6e36a80114c38
Reviewed-by: Richard J. Moore <rich@kde.org>
Reviewed-by: João Abecasis <joao.abecasis@nokia.com>
tests/benchmarks/corelib/tools/qhash/main.cpp [moved from tests/benchmarks/corelib/tools/qhash/qhash_string.cpp with 98% similarity]
tests/benchmarks/corelib/tools/qhash/main.h [moved from tests/benchmarks/corelib/tools/qhash/qhash_string.h with 100% similarity]
tests/benchmarks/corelib/tools/qhash/outofline.cpp
tests/benchmarks/corelib/tools/qhash/qhash.pro

@@ -66,7 +66,7 @@ Totals: 4 passed, 0 failed, 0 skipped
 
 */
 
-#include "qhash_string.h"
+#include "main.h"
 
 #include <QFile>
 #include <QHash>
@@ -144,4 +144,4 @@ void tst_QHash::javaString()
 
 QTEST_MAIN(tst_QHash)
 
-#include "qhash_string.moc"
+#include "main.moc"
index 5f067da..88fd9c1 100644 (file)
@@ -39,7 +39,7 @@
 **
 ****************************************************************************/
 
-#include "qhash_string.h"
+#include "main.h"
 
 static void doHash(const unsigned short *p, uint &h)
 {
index 51d3e7f..40f661c 100644 (file)
@@ -1,5 +1,5 @@
 TARGET = tst_hash
 QT = core testlib
 INCLUDEPATH += .
-SOURCES += qhash_string.cpp outofline.cpp 
+SOURCES += main.cpp outofline.cpp
 CONFIG += release