summaryrefslogtreecommitdiffstats
path: root/tests/auto
diff options
context:
space:
mode:
authorMårten Nordheim <marten.nordheim@qt.io>2024-05-10 13:37:41 +0200
committerMårten Nordheim <marten.nordheim@qt.io>2024-05-13 15:25:36 +0200
commit0a8cbcc507551b80bd8c243618135642af928dd0 (patch)
treeee2b38d509bccf1159737d3440861bb815b41966 /tests/auto
parent95bb6bc916358d85c72c935dfe57e12ec771c9f9 (diff)
tst_qcomobject: Reduce size of Qt-namespace
It is including the full test, which we normally don't do, and additionally included the main and the moc-include. Change-Id: I651d71848f070a9d0fd62e56ebd204f4c1ae232c Reviewed-by: Jøger Hansegård <joger.hansegard@qt.io>
Diffstat (limited to 'tests/auto')
-rw-r--r--tests/auto/corelib/platform/windows/qcomobject/tst_qcomobject.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/tests/auto/corelib/platform/windows/qcomobject/tst_qcomobject.cpp b/tests/auto/corelib/platform/windows/qcomobject/tst_qcomobject.cpp
index 5ad961ee66..3c609238fc 100644
--- a/tests/auto/corelib/platform/windows/qcomobject/tst_qcomobject.cpp
+++ b/tests/auto/corelib/platform/windows/qcomobject/tst_qcomobject.cpp
@@ -69,6 +69,7 @@ struct QComObjectTraits<IDirect>
};
} // namespace QtPrivate
+QT_END_NAMESPACE
class tst_QComObject : public QObject
{
@@ -263,6 +264,4 @@ void tst_QComObject::Release_decrementsReferenceCountByOne()
QTEST_MAIN(tst_QComObject)
# include "tst_qcomobject.moc"
-QT_END_NAMESPACE
-
#endif // Q_OS_WIN