From e3640d1bddb7c2e820d770b2f2f5557cc354b7e9 Mon Sep 17 00:00:00 2001 From: Jason McDonald Date: Mon, 5 Dec 2011 18:51:14 +1000 Subject: 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: Ib6bf373d9e79917e4ab1417ee5c1264a2c2d7027 Reviewed-by: Rohan McGovern --- tests/auto/other/collections/tst_collections.cpp | 2 -- tests/auto/other/gestures/tst_gestures.cpp | 3 --- tests/auto/other/languagechange/tst_languagechange.cpp | 4 ---- tests/auto/other/qaccessibility/tst_qaccessibility.cpp | 2 -- tests/auto/other/qcomplextext/tst_qcomplextext.cpp | 4 ---- tests/auto/other/qdirectpainter/tst_qdirectpainter.cpp | 3 --- tests/auto/other/qfocusevent/tst_qfocusevent.cpp | 3 --- tests/auto/other/qmultiscreen/tst_qmultiscreen.cpp | 3 --- tests/auto/other/qobjectperformance/tst_qobjectperformance.cpp | 3 --- 9 files changed, 27 deletions(-) (limited to 'tests/auto/other') diff --git a/tests/auto/other/collections/tst_collections.cpp b/tests/auto/other/collections/tst_collections.cpp index e815ab7896..3f96aa94d5 100644 --- a/tests/auto/other/collections/tst_collections.cpp +++ b/tests/auto/other/collections/tst_collections.cpp @@ -102,8 +102,6 @@ void foo() template class QList; -//TESTED_FILES= - class tst_Collections : public QObject { Q_OBJECT diff --git a/tests/auto/other/gestures/tst_gestures.cpp b/tests/auto/other/gestures/tst_gestures.cpp index 63345fbe88..098f84b399 100644 --- a/tests/auto/other/gestures/tst_gestures.cpp +++ b/tests/auto/other/gestures/tst_gestures.cpp @@ -55,9 +55,6 @@ #include -//TESTED_CLASS= -//TESTED_FILES= - static QPointF mapToGlobal(const QPointF &pt, QGraphicsItem *item, QGraphicsView *view) { return view->viewport()->mapToGlobal(view->mapFromScene(item->mapToScene(pt))); diff --git a/tests/auto/other/languagechange/tst_languagechange.cpp b/tests/auto/other/languagechange/tst_languagechange.cpp index 5373431d27..97a2683a75 100644 --- a/tests/auto/other/languagechange/tst_languagechange.cpp +++ b/tests/auto/other/languagechange/tst_languagechange.cpp @@ -51,10 +51,6 @@ #include #include - -//TESTED_CLASS= -//TESTED_FILES= - class tst_languageChange : public QObject { Q_OBJECT diff --git a/tests/auto/other/qaccessibility/tst_qaccessibility.cpp b/tests/auto/other/qaccessibility/tst_qaccessibility.cpp index 78a071b155..625ed3b82a 100644 --- a/tests/auto/other/qaccessibility/tst_qaccessibility.cpp +++ b/tests/auto/other/qaccessibility/tst_qaccessibility.cpp @@ -204,8 +204,6 @@ QRect childRect(QAccessibleInterface *iface, int index = 0) return rect; } -//TESTED_FILES= - class tst_QAccessibility : public QObject { Q_OBJECT diff --git a/tests/auto/other/qcomplextext/tst_qcomplextext.cpp b/tests/auto/other/qcomplextext/tst_qcomplextext.cpp index c72393cfe6..ce45500e74 100644 --- a/tests/auto/other/qcomplextext/tst_qcomplextext.cpp +++ b/tests/auto/other/qcomplextext/tst_qcomplextext.cpp @@ -50,10 +50,6 @@ #include "bidireorderstring.h" - -//TESTED_CLASS= -//TESTED_FILES=gui/widgets/qcombobox.h gui/widgets/qcombobox.cpp - class tst_QComplexText : public QObject { Q_OBJECT diff --git a/tests/auto/other/qdirectpainter/tst_qdirectpainter.cpp b/tests/auto/other/qdirectpainter/tst_qdirectpainter.cpp index 550c2e96c0..f60f011a20 100644 --- a/tests/auto/other/qdirectpainter/tst_qdirectpainter.cpp +++ b/tests/auto/other/qdirectpainter/tst_qdirectpainter.cpp @@ -42,9 +42,6 @@ #include -//TESTED_CLASS= -//TESTED_FILES= - #include #include #include diff --git a/tests/auto/other/qfocusevent/tst_qfocusevent.cpp b/tests/auto/other/qfocusevent/tst_qfocusevent.cpp index cc58b6212c..a0803b029c 100644 --- a/tests/auto/other/qfocusevent/tst_qfocusevent.cpp +++ b/tests/auto/other/qfocusevent/tst_qfocusevent.cpp @@ -52,9 +52,6 @@ QT_FORWARD_DECLARE_CLASS(QWidget) -//TESTED_CLASS= -//TESTED_FILES=gui/kernel/qevent.h gui/kernel/qevent.cpp - class FocusLineEdit : public QLineEdit { public: diff --git a/tests/auto/other/qmultiscreen/tst_qmultiscreen.cpp b/tests/auto/other/qmultiscreen/tst_qmultiscreen.cpp index 9d74d59f85..9f7411f3ab 100644 --- a/tests/auto/other/qmultiscreen/tst_qmultiscreen.cpp +++ b/tests/auto/other/qmultiscreen/tst_qmultiscreen.cpp @@ -42,9 +42,6 @@ #include -//TESTED_CLASS= -//TESTED_FILES= - #include #include #include diff --git a/tests/auto/other/qobjectperformance/tst_qobjectperformance.cpp b/tests/auto/other/qobjectperformance/tst_qobjectperformance.cpp index 26145a0df4..4403a3f57b 100644 --- a/tests/auto/other/qobjectperformance/tst_qobjectperformance.cpp +++ b/tests/auto/other/qobjectperformance/tst_qobjectperformance.cpp @@ -46,9 +46,6 @@ #include -//TESTED_CLASS= -//TESTED_FILES=corelib/kernel/qobject.h corelib/kernel/qobject.cpp - class tst_QObjectPerformance : public QObject { Q_OBJECT -- cgit v1.2.3