summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorJason McDonald <jason.mcdonald@nokia.com>2011-12-06 10:29:08 +1000
committerQt by Nokia <qt-info@nokia.com>2011-12-06 05:04:13 +0100
commitf8e3ad9d83fbef89a529a68d807d09a2437c6a95 (patch)
tree652a238a8dbca4d07fcd5ad7a5b147f38768440d /tests
parent124280b9a691b2118ef38e601fe356c8e21d2ac3 (diff)
downloadqtscript-f8e3ad9d83fbef89a529a68d807d09a2437c6a95.tar.gz
Remove TESTED_CLASS/TESTED_FILES comments from tests.
These comments were mostly empty. Appropriate naming of tests and appropriate placement of tests within the directory tree provide more reliable indicators of what is being tested. Change-Id: I9d15ceb0aab96ceecb0d5d75ef3f7978eb85ba11 Reviewed-by: Rohan McGovern <rohan.mcgovern@nokia.com>
Diffstat (limited to 'tests')
-rw-r--r--tests/auto/qscriptable/tst_qscriptable.cpp3
-rw-r--r--tests/auto/qscriptclass/tst_qscriptclass.cpp3
-rw-r--r--tests/auto/qscriptcontext/tst_qscriptcontext.cpp3
-rw-r--r--tests/auto/qscriptcontextinfo/tst_qscriptcontextinfo.cpp3
-rw-r--r--tests/auto/qscriptengine/tst_qscriptengine.cpp3
-rw-r--r--tests/auto/qscriptengineagent/tst_qscriptengineagent.cpp3
-rw-r--r--tests/auto/qscriptenginedebugger/tst_qscriptenginedebugger.cpp3
-rw-r--r--tests/auto/qscriptextensionplugin/tst_qscriptextensionplugin.cpp3
-rw-r--r--tests/auto/qscriptextqobject/tst_qscriptextqobject.cpp3
-rw-r--r--tests/auto/qscriptjstestsuite/tst_qscriptjstestsuite.cpp3
-rw-r--r--tests/auto/qscriptstring/tst_qscriptstring.cpp3
-rw-r--r--tests/auto/qscriptv8testsuite/tst_qscriptv8testsuite.cpp3
-rw-r--r--tests/auto/qscriptvalue/tst_qscriptvalue.cpp3
-rw-r--r--tests/auto/qscriptvaluegenerated/tst_qscriptvalue.cpp3
-rw-r--r--tests/auto/qscriptvalueiterator/tst_qscriptvalueiterator.cpp3
-rw-r--r--tests/auto/qtipc/qsharedmemory/qsystemlock/tst_qsystemlock.cpp3
-rw-r--r--tests/auto/qtipc/qsharedmemory/tst_qsharedmemory.cpp3
-rw-r--r--tests/auto/qtipc/qsystemsemaphore/tst_qsystemsemaphore.cpp2
-rw-r--r--tests/benchmarks/script/qscriptengine/tst_qscriptengine.cpp2
-rw-r--r--tests/benchmarks/script/qscriptvalue/tst_qscriptvalue.cpp2
-rw-r--r--tests/benchmarks/script/qscriptvalueiterator/tst_qscriptvalueiterator.cpp2
-rw-r--r--tests/benchmarks/script/sunspider/tst_sunspider.cpp2
-rw-r--r--tests/benchmarks/script/v8/tst_v8.cpp2
23 files changed, 0 insertions, 63 deletions
diff --git a/tests/auto/qscriptable/tst_qscriptable.cpp b/tests/auto/qscriptable/tst_qscriptable.cpp
index 54ffbe9..d8ecbb5 100644
--- a/tests/auto/qscriptable/tst_qscriptable.cpp
+++ b/tests/auto/qscriptable/tst_qscriptable.cpp
@@ -46,9 +46,6 @@
#include <QtScript/qscriptengine.h>
#include <QtScript/qscriptable.h>
-//TESTED_CLASS=
-//TESTED_FILES=
-
class MyScriptable : public QObject, public QScriptable
{
Q_OBJECT
diff --git a/tests/auto/qscriptclass/tst_qscriptclass.cpp b/tests/auto/qscriptclass/tst_qscriptclass.cpp
index 446c9fd..bad63b8 100644
--- a/tests/auto/qscriptclass/tst_qscriptclass.cpp
+++ b/tests/auto/qscriptclass/tst_qscriptclass.cpp
@@ -52,9 +52,6 @@ Q_DECLARE_METATYPE(QScriptContext*)
Q_DECLARE_METATYPE(QScriptValueList)
Q_DECLARE_METATYPE(QScriptValue)
-//TESTED_CLASS=
-//TESTED_FILES=script/qscriptclass.h script/qscriptclass.cpp script/qscriptclasspropertyiterator.h script/qscriptclasspropertyiterator.cpp
-
class tst_QScriptClass : public QObject
{
Q_OBJECT
diff --git a/tests/auto/qscriptcontext/tst_qscriptcontext.cpp b/tests/auto/qscriptcontext/tst_qscriptcontext.cpp
index 6f14965..4b030ed 100644
--- a/tests/auto/qscriptcontext/tst_qscriptcontext.cpp
+++ b/tests/auto/qscriptcontext/tst_qscriptcontext.cpp
@@ -46,9 +46,6 @@
#include <QtScript/qscriptengine.h>
#include <QtScript/qscriptvalueiterator.h>
-//TESTED_CLASS=
-//TESTED_FILES=
-
Q_DECLARE_METATYPE(QScriptValueList)
Q_DECLARE_METATYPE(QScriptContext::Error)
diff --git a/tests/auto/qscriptcontextinfo/tst_qscriptcontextinfo.cpp b/tests/auto/qscriptcontextinfo/tst_qscriptcontextinfo.cpp
index e0ce20b..0e673b3 100644
--- a/tests/auto/qscriptcontextinfo/tst_qscriptcontextinfo.cpp
+++ b/tests/auto/qscriptcontextinfo/tst_qscriptcontextinfo.cpp
@@ -52,9 +52,6 @@ Q_DECLARE_METATYPE(QScriptValue)
Q_DECLARE_METATYPE(QScriptContextInfo)
Q_DECLARE_METATYPE(QList<QScriptContextInfo>)
-//TESTED_CLASS=
-//TESTED_FILES=
-
class tst_QScriptContextInfo : public QObject, public QScriptable
{
Q_OBJECT
diff --git a/tests/auto/qscriptengine/tst_qscriptengine.cpp b/tests/auto/qscriptengine/tst_qscriptengine.cpp
index 1594343..b0d35ad 100644
--- a/tests/auto/qscriptengine/tst_qscriptengine.cpp
+++ b/tests/auto/qscriptengine/tst_qscriptengine.cpp
@@ -57,9 +57,6 @@ Q_DECLARE_METATYPE(QList<int>)
Q_DECLARE_METATYPE(QObjectList)
Q_DECLARE_METATYPE(QScriptProgram)
-//TESTED_CLASS=
-//TESTED_FILES=
-
#if defined(Q_OS_SYMBIAN)
# define STRINGIFY(x) #x
# define TOSTRING(x) STRINGIFY(x)
diff --git a/tests/auto/qscriptengineagent/tst_qscriptengineagent.cpp b/tests/auto/qscriptengineagent/tst_qscriptengineagent.cpp
index f049e53..46f5947 100644
--- a/tests/auto/qscriptengineagent/tst_qscriptengineagent.cpp
+++ b/tests/auto/qscriptengineagent/tst_qscriptengineagent.cpp
@@ -47,9 +47,6 @@
#include <QtScript/qscriptprogram.h>
#include <qscriptvalueiterator.h>
-//TESTED_CLASS=
-//TESTED_FILES=
-
QT_BEGIN_NAMESPACE
extern bool qt_script_isJITEnabled();
QT_END_NAMESPACE
diff --git a/tests/auto/qscriptenginedebugger/tst_qscriptenginedebugger.cpp b/tests/auto/qscriptenginedebugger/tst_qscriptenginedebugger.cpp
index 32be18d..9209a5b 100644
--- a/tests/auto/qscriptenginedebugger/tst_qscriptenginedebugger.cpp
+++ b/tests/auto/qscriptenginedebugger/tst_qscriptenginedebugger.cpp
@@ -51,9 +51,6 @@
#include <qplaintextedit.h>
#include <qtoolbar.h>
-//TESTED_CLASS=
-//TESTED_FILES=
-
// Can't use QTest::qWait() because it causes event loop to hang on some platforms
static void qsWait(int ms)
{
diff --git a/tests/auto/qscriptextensionplugin/tst_qscriptextensionplugin.cpp b/tests/auto/qscriptextensionplugin/tst_qscriptextensionplugin.cpp
index ee840a8..f2fe531 100644
--- a/tests/auto/qscriptextensionplugin/tst_qscriptextensionplugin.cpp
+++ b/tests/auto/qscriptextensionplugin/tst_qscriptextensionplugin.cpp
@@ -44,9 +44,6 @@
#include <QtScript/qscriptengine.h>
-//TESTED_CLASS=
-//TESTED_FILES=
-
class tst_QScriptExtensionPlugin : public QObject
{
Q_OBJECT
diff --git a/tests/auto/qscriptextqobject/tst_qscriptextqobject.cpp b/tests/auto/qscriptextqobject/tst_qscriptextqobject.cpp
index cc3f528..740d5a6 100644
--- a/tests/auto/qscriptextqobject/tst_qscriptextqobject.cpp
+++ b/tests/auto/qscriptextqobject/tst_qscriptextqobject.cpp
@@ -49,9 +49,6 @@
#include <qpushbutton.h>
#include <qlineedit.h>
-//TESTED_CLASS=
-//TESTED_FILES=script/qscriptextqobject_p.h script/qscriptextqobject.cpp
-
struct CustomType
{
QString string;
diff --git a/tests/auto/qscriptjstestsuite/tst_qscriptjstestsuite.cpp b/tests/auto/qscriptjstestsuite/tst_qscriptjstestsuite.cpp
index a9247d9..f13bb6c 100644
--- a/tests/auto/qscriptjstestsuite/tst_qscriptjstestsuite.cpp
+++ b/tests/auto/qscriptjstestsuite/tst_qscriptjstestsuite.cpp
@@ -49,9 +49,6 @@
# define SRCDIR "."
#endif
-//TESTED_CLASS=
-//TESTED_FILES=
-
struct TestRecord
{
TestRecord() : lineNumber(-1) { }
diff --git a/tests/auto/qscriptstring/tst_qscriptstring.cpp b/tests/auto/qscriptstring/tst_qscriptstring.cpp
index 03c72ca..19dab05 100644
--- a/tests/auto/qscriptstring/tst_qscriptstring.cpp
+++ b/tests/auto/qscriptstring/tst_qscriptstring.cpp
@@ -45,9 +45,6 @@
#include <QtScript/qscriptengine.h>
#include <QtScript/qscriptstring.h>
-//TESTED_CLASS=
-//TESTED_FILES=
-
class tst_QScriptString : public QObject
{
Q_OBJECT
diff --git a/tests/auto/qscriptv8testsuite/tst_qscriptv8testsuite.cpp b/tests/auto/qscriptv8testsuite/tst_qscriptv8testsuite.cpp
index caaaa74..0d256fe 100644
--- a/tests/auto/qscriptv8testsuite/tst_qscriptv8testsuite.cpp
+++ b/tests/auto/qscriptv8testsuite/tst_qscriptv8testsuite.cpp
@@ -44,9 +44,6 @@
#include <QtTest/QtTest>
#include <QtScript>
-//TESTED_CLASS=
-//TESTED_FILES=
-
class tst_QScriptV8TestSuite : public AbstractTestSuite
{
public:
diff --git a/tests/auto/qscriptvalue/tst_qscriptvalue.cpp b/tests/auto/qscriptvalue/tst_qscriptvalue.cpp
index 9792e02..96e5178 100644
--- a/tests/auto/qscriptvalue/tst_qscriptvalue.cpp
+++ b/tests/auto/qscriptvalue/tst_qscriptvalue.cpp
@@ -42,9 +42,6 @@
#include "tst_qscriptvalue.h"
#include <QtWidgets/QPushButton>
-//TESTED_CLASS=
-//TESTED_FILES=
-
QT_BEGIN_NAMESPACE
extern bool qt_script_isJITEnabled();
QT_END_NAMESPACE
diff --git a/tests/auto/qscriptvaluegenerated/tst_qscriptvalue.cpp b/tests/auto/qscriptvaluegenerated/tst_qscriptvalue.cpp
index 029fe14..ce96ee2 100644
--- a/tests/auto/qscriptvaluegenerated/tst_qscriptvalue.cpp
+++ b/tests/auto/qscriptvaluegenerated/tst_qscriptvalue.cpp
@@ -41,9 +41,6 @@
#include "tst_qscriptvalue.h"
-//TESTED_CLASS=
-//TESTED_FILES=
-
QT_BEGIN_NAMESPACE
extern bool qt_script_isJITEnabled();
QT_END_NAMESPACE
diff --git a/tests/auto/qscriptvalueiterator/tst_qscriptvalueiterator.cpp b/tests/auto/qscriptvalueiterator/tst_qscriptvalueiterator.cpp
index fa43c0f..ec69dbc 100644
--- a/tests/auto/qscriptvalueiterator/tst_qscriptvalueiterator.cpp
+++ b/tests/auto/qscriptvalueiterator/tst_qscriptvalueiterator.cpp
@@ -45,9 +45,6 @@
#include <QtScript/qscriptengine.h>
#include <QtScript/qscriptvalueiterator.h>
-//TESTED_CLASS=
-//TESTED_FILES=
-
Q_DECLARE_METATYPE(QScriptValue);
class tst_QScriptValueIterator : public QObject
diff --git a/tests/auto/qtipc/qsharedmemory/qsystemlock/tst_qsystemlock.cpp b/tests/auto/qtipc/qsharedmemory/qsystemlock/tst_qsystemlock.cpp
index 0613fbc..7de23fb 100644
--- a/tests/auto/qtipc/qsharedmemory/qsystemlock/tst_qsystemlock.cpp
+++ b/tests/auto/qtipc/qsharedmemory/qsystemlock/tst_qsystemlock.cpp
@@ -43,9 +43,6 @@
#include <QtTest/QtTest>
#include <qsystemlock.h>
-//TESTED_CLASS=
-//TESTED_FILES=
-
#define EXISTING_SHARE "existing"
class tst_QSystemLock : public QObject
diff --git a/tests/auto/qtipc/qsharedmemory/tst_qsharedmemory.cpp b/tests/auto/qtipc/qsharedmemory/tst_qsharedmemory.cpp
index 100aca9..2609b99 100644
--- a/tests/auto/qtipc/qsharedmemory/tst_qsharedmemory.cpp
+++ b/tests/auto/qtipc/qsharedmemory/tst_qsharedmemory.cpp
@@ -44,9 +44,6 @@
#include <qsharedmemory.h>
#include <QtCore/QFile>
-//TESTED_CLASS=
-//TESTED_FILES=
-
#define EXISTING_SHARE "existing"
#define EXISTING_SIZE 1024
diff --git a/tests/auto/qtipc/qsystemsemaphore/tst_qsystemsemaphore.cpp b/tests/auto/qtipc/qsystemsemaphore/tst_qsystemsemaphore.cpp
index a8af860..509a188 100644
--- a/tests/auto/qtipc/qsystemsemaphore/tst_qsystemsemaphore.cpp
+++ b/tests/auto/qtipc/qsystemsemaphore/tst_qsystemsemaphore.cpp
@@ -42,8 +42,6 @@
#include <QtTest/QtTest>
#include <qsystemsemaphore.h>
-//TESTED_CLASS=
-//TESTED_FILES=
#define EXISTING_SHARE "existing"
#ifdef Q_OS_WINCE
diff --git a/tests/benchmarks/script/qscriptengine/tst_qscriptengine.cpp b/tests/benchmarks/script/qscriptengine/tst_qscriptengine.cpp
index ea92f1a..4c4b66e 100644
--- a/tests/benchmarks/script/qscriptengine/tst_qscriptengine.cpp
+++ b/tests/benchmarks/script/qscriptengine/tst_qscriptengine.cpp
@@ -46,8 +46,6 @@
Q_DECLARE_METATYPE(QScriptValue)
-//TESTED_FILES=
-
class tst_QScriptEngine : public QObject
{
Q_OBJECT
diff --git a/tests/benchmarks/script/qscriptvalue/tst_qscriptvalue.cpp b/tests/benchmarks/script/qscriptvalue/tst_qscriptvalue.cpp
index 32b590d..2242cfc 100644
--- a/tests/benchmarks/script/qscriptvalue/tst_qscriptvalue.cpp
+++ b/tests/benchmarks/script/qscriptvalue/tst_qscriptvalue.cpp
@@ -44,8 +44,6 @@
Q_DECLARE_METATYPE(QScriptValue)
-//TESTED_FILES=
-
class tst_QScriptValue : public QObject
{
Q_OBJECT
diff --git a/tests/benchmarks/script/qscriptvalueiterator/tst_qscriptvalueiterator.cpp b/tests/benchmarks/script/qscriptvalueiterator/tst_qscriptvalueiterator.cpp
index be52e70..4bae094 100644
--- a/tests/benchmarks/script/qscriptvalueiterator/tst_qscriptvalueiterator.cpp
+++ b/tests/benchmarks/script/qscriptvalueiterator/tst_qscriptvalueiterator.cpp
@@ -42,8 +42,6 @@
#include <qtest.h>
#include <QtScript>
-//TESTED_FILES=
-
class tst_QScriptValueIterator : public QObject
{
Q_OBJECT
diff --git a/tests/benchmarks/script/sunspider/tst_sunspider.cpp b/tests/benchmarks/script/sunspider/tst_sunspider.cpp
index 68e5cba..5ec415f 100644
--- a/tests/benchmarks/script/sunspider/tst_sunspider.cpp
+++ b/tests/benchmarks/script/sunspider/tst_sunspider.cpp
@@ -46,8 +46,6 @@
#include <QtScript/qscriptengine.h>
#include <QtScript/qscriptvalue.h>
-//TESTED_FILES=
-
static QString readFile(const QString &filename)
{
QFile file(filename);
diff --git a/tests/benchmarks/script/v8/tst_v8.cpp b/tests/benchmarks/script/v8/tst_v8.cpp
index 64fa4df..6965f66 100644
--- a/tests/benchmarks/script/v8/tst_v8.cpp
+++ b/tests/benchmarks/script/v8/tst_v8.cpp
@@ -46,8 +46,6 @@
#include <QtScript/qscriptengine.h>
#include <QtScript/qscriptvalue.h>
-//TESTED_FILES=
-
static QString readFile(const QString &filename)
{
QFile file(filename);