From e9a0aa7dd30566b1da6fd9e56e638aa4846a132b Mon Sep 17 00:00:00 2001 From: Jason McDonald Date: Tue, 6 Dec 2011 10:13:07 +1000 Subject: [PATCH] Remove TESTED_CLASS/TESTED_FILES comments from tests. These comments were mostly empty or inaccurate. Appropriate naming of tests and appropriate placement of tests within the directory tree provide more reliable indicators of what is being tested. Change-Id: If69bdb39fd162d167cb948ddcbb73503b414e791 Reviewed-by: Rohan McGovern --- tests/auto/declarative/qjsengine/tst_qjsengine.cpp | 3 --- tests/auto/declarative/qjsvalue/tst_qjsvalue.cpp | 3 --- .../qjsvalueiterator/tst_qjsvalueiterator.cpp | 3 --- .../benchmarks/declarative/binding/tst_binding.cpp | 2 -- .../declarative/js/qjsengine/tst_qjsengine.cpp | 2 -- .../declarative/js/qjsvalue/tst_qjsvalue.cpp | 2 -- .../js/qjsvalueiterator/tst_qjsvalueiterator.cpp | 2 -- .../tst_qdeclarativecomponent.cpp | 2 -- .../tst_qdeclarativemetaproperty.cpp | 2 -- 9 files changed, 0 insertions(+), 21 deletions(-) diff --git a/tests/auto/declarative/qjsengine/tst_qjsengine.cpp b/tests/auto/declarative/qjsengine/tst_qjsengine.cpp index 1c29391..e806a65 100644 --- a/tests/auto/declarative/qjsengine/tst_qjsengine.cpp +++ b/tests/auto/declarative/qjsengine/tst_qjsengine.cpp @@ -52,9 +52,6 @@ Q_DECLARE_METATYPE(QList) Q_DECLARE_METATYPE(QObjectList) -//TESTED_CLASS= -//TESTED_FILES= - // The JavaScriptCore GC marks the C stack. To try to ensure that there is // no JSObject* left in stack memory by the compiler, we call this function // to zap some bytes of memory before calling collectGarbage(). diff --git a/tests/auto/declarative/qjsvalue/tst_qjsvalue.cpp b/tests/auto/declarative/qjsvalue/tst_qjsvalue.cpp index 8557324..a8f05de 100644 --- a/tests/auto/declarative/qjsvalue/tst_qjsvalue.cpp +++ b/tests/auto/declarative/qjsvalue/tst_qjsvalue.cpp @@ -42,9 +42,6 @@ #include "tst_qjsvalue.h" #include -//TESTED_CLASS= -//TESTED_FILES= - QT_BEGIN_NAMESPACE extern bool qt_script_isJITEnabled(); QT_END_NAMESPACE diff --git a/tests/auto/declarative/qjsvalueiterator/tst_qjsvalueiterator.cpp b/tests/auto/declarative/qjsvalueiterator/tst_qjsvalueiterator.cpp index 5a636d4..0c437a3 100644 --- a/tests/auto/declarative/qjsvalueiterator/tst_qjsvalueiterator.cpp +++ b/tests/auto/declarative/qjsvalueiterator/tst_qjsvalueiterator.cpp @@ -46,9 +46,6 @@ #include #include -//TESTED_CLASS= -//TESTED_FILES= - Q_DECLARE_METATYPE(QJSValue); class tst_QJSValueIterator : public QObject diff --git a/tests/benchmarks/declarative/binding/tst_binding.cpp b/tests/benchmarks/declarative/binding/tst_binding.cpp index c1b5035..a37fce5 100644 --- a/tests/benchmarks/declarative/binding/tst_binding.cpp +++ b/tests/benchmarks/declarative/binding/tst_binding.cpp @@ -47,8 +47,6 @@ #include #include "testtypes.h" -//TESTED_FILES= - class tst_binding : public QObject { Q_OBJECT diff --git a/tests/benchmarks/declarative/js/qjsengine/tst_qjsengine.cpp b/tests/benchmarks/declarative/js/qjsengine/tst_qjsengine.cpp index da5788e..e9a595a 100644 --- a/tests/benchmarks/declarative/js/qjsengine/tst_qjsengine.cpp +++ b/tests/benchmarks/declarative/js/qjsengine/tst_qjsengine.cpp @@ -46,8 +46,6 @@ Q_DECLARE_METATYPE(QJSValue) -//TESTED_FILES= - class tst_QJSEngine : public QObject { Q_OBJECT diff --git a/tests/benchmarks/declarative/js/qjsvalue/tst_qjsvalue.cpp b/tests/benchmarks/declarative/js/qjsvalue/tst_qjsvalue.cpp index 5ebcbd8..337c552 100644 --- a/tests/benchmarks/declarative/js/qjsvalue/tst_qjsvalue.cpp +++ b/tests/benchmarks/declarative/js/qjsvalue/tst_qjsvalue.cpp @@ -45,8 +45,6 @@ Q_DECLARE_METATYPE(QJSValue) -//TESTED_FILES= - class tst_QJSValue : public QObject { Q_OBJECT diff --git a/tests/benchmarks/declarative/js/qjsvalueiterator/tst_qjsvalueiterator.cpp b/tests/benchmarks/declarative/js/qjsvalueiterator/tst_qjsvalueiterator.cpp index 14dc75d..e2615e9 100644 --- a/tests/benchmarks/declarative/js/qjsvalueiterator/tst_qjsvalueiterator.cpp +++ b/tests/benchmarks/declarative/js/qjsvalueiterator/tst_qjsvalueiterator.cpp @@ -44,8 +44,6 @@ #include #include -//TESTED_FILES= - class tst_QJSValueIterator : public QObject { Q_OBJECT diff --git a/tests/benchmarks/declarative/qdeclarativecomponent/tst_qdeclarativecomponent.cpp b/tests/benchmarks/declarative/qdeclarativecomponent/tst_qdeclarativecomponent.cpp index 1ff3e2d..ae8fac8 100644 --- a/tests/benchmarks/declarative/qdeclarativecomponent/tst_qdeclarativecomponent.cpp +++ b/tests/benchmarks/declarative/qdeclarativecomponent/tst_qdeclarativecomponent.cpp @@ -46,8 +46,6 @@ #include #include "testtypes.h" -//TESTED_FILES= - class tst_qmlcomponent : public QObject { Q_OBJECT diff --git a/tests/benchmarks/declarative/qdeclarativemetaproperty/tst_qdeclarativemetaproperty.cpp b/tests/benchmarks/declarative/qdeclarativemetaproperty/tst_qdeclarativemetaproperty.cpp index 05dd46a..22760a6 100644 --- a/tests/benchmarks/declarative/qdeclarativemetaproperty/tst_qdeclarativemetaproperty.cpp +++ b/tests/benchmarks/declarative/qdeclarativemetaproperty/tst_qdeclarativemetaproperty.cpp @@ -46,8 +46,6 @@ #include #include -//TESTED_FILES= - class tst_qmlmetaproperty : public QObject { Q_OBJECT -- 1.7.2.5