From 78b6969f1b5d5f5617db26b0cc93b4883c32a826 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fr=C3=A9d=C3=A9ric=20Lefebvre?= Date: Tue, 7 Jan 2025 09:19:44 +0100 Subject: [PATCH] Remove tst_manual_toplevel manual test as irrelevant Top level widget that can receive paint events. This manual test seems irrelevant. Shows an empty widget topLevel. Remove tst_manual_topLevel manual test. Change-Id: Id9b037067cf79ea516e5e7d18c281f9e1d2f14c2 Reviewed-by: Richard Moe Gustavsen --- tests/manual/repaint/CMakeLists.txt | 1 - tests/manual/repaint/repaint.pro | 1 - tests/manual/repaint/toplevel/CMakeLists.txt | 15 --------------- tests/manual/repaint/toplevel/main.cpp | 15 --------------- tests/manual/repaint/toplevel/toplevel.pro | 6 ------ 5 files changed, 38 deletions(-) delete mode 100644 tests/manual/repaint/toplevel/CMakeLists.txt delete mode 100644 tests/manual/repaint/toplevel/main.cpp delete mode 100644 tests/manual/repaint/toplevel/toplevel.pro diff --git a/tests/manual/repaint/CMakeLists.txt b/tests/manual/repaint/CMakeLists.txt index ff64805dc75..acab64235f7 100644 --- a/tests/manual/repaint/CMakeLists.txt +++ b/tests/manual/repaint/CMakeLists.txt @@ -4,5 +4,4 @@ add_subdirectory(mainwindow) add_subdirectory(splitter) add_subdirectory(tableview) -add_subdirectory(toplevel) add_subdirectory(widget) diff --git a/tests/manual/repaint/repaint.pro b/tests/manual/repaint/repaint.pro index 7ad9d682608..65f698a2b9c 100644 --- a/tests/manual/repaint/repaint.pro +++ b/tests/manual/repaint/repaint.pro @@ -5,5 +5,4 @@ SUBDIRS = mainwindow \ splitter \ tableview \ task141091 \ - toplevel \ widget diff --git a/tests/manual/repaint/toplevel/CMakeLists.txt b/tests/manual/repaint/toplevel/CMakeLists.txt deleted file mode 100644 index 30dfcab689e..00000000000 --- a/tests/manual/repaint/toplevel/CMakeLists.txt +++ /dev/null @@ -1,15 +0,0 @@ -# Copyright (C) 2022 The Qt Company Ltd. -# SPDX-License-Identifier: BSD-3-Clause - -##################################################################### -## tst_manual_toplevel Binary: -##################################################################### - -qt_internal_add_manual_test(tst_manual_toplevel - SOURCES - ../shared/shared.h - main.cpp - LIBRARIES - Qt::Gui - Qt::Widgets -) diff --git a/tests/manual/repaint/toplevel/main.cpp b/tests/manual/repaint/toplevel/main.cpp deleted file mode 100644 index b93bf2fec8c..00000000000 --- a/tests/manual/repaint/toplevel/main.cpp +++ /dev/null @@ -1,15 +0,0 @@ -// Copyright (C) 2016 The Qt Company Ltd. -// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR GPL-3.0-only - -#include "../shared/shared.h" - -#include - -int main(int argc, char **argv) -{ - QApplication app(argc, argv); - StaticWidget widget; - widget.show(); - return app.exec(); -} - diff --git a/tests/manual/repaint/toplevel/toplevel.pro b/tests/manual/repaint/toplevel/toplevel.pro deleted file mode 100644 index d142fd19bb3..00000000000 --- a/tests/manual/repaint/toplevel/toplevel.pro +++ /dev/null @@ -1,6 +0,0 @@ -CONFIG += console -QT += widgets - -TARGET = tst_manual_toplevel -HEADERS += ../shared/shared.h -SOURCES += main.cpp