Regenerate tests/auto/widgets/graphicsview
Change-Id: I2e6a8f2f92e9cb8d6bb0be53068dfd43ba87db4c Reviewed-by: Simon Hausmann <simon.hausmann@qt.io>
This commit is contained in:
parent
3f5adb4653
commit
af72e13636
@ -1,6 +1,17 @@
|
||||
add_qt_test("tst_qgraphicsanchorlayout" SOURCES tst_qgraphicsanchorlayout.cpp
|
||||
# Generated from qgraphicsanchorlayout.pro.
|
||||
|
||||
#####################################################################
|
||||
## tst_qgraphicsanchorlayout Test:
|
||||
#####################################################################
|
||||
|
||||
add_qt_test(tst_qgraphicsanchorlayout
|
||||
SOURCES
|
||||
tst_qgraphicsanchorlayout.cpp
|
||||
LIBRARIES
|
||||
Qt::WidgetsPrivate
|
||||
Qt::CorePrivate
|
||||
Qt::GuiPrivate
|
||||
Qt::WidgetsPrivate
|
||||
PUBLIC_LIBRARIES
|
||||
Qt::Gui
|
||||
Qt::Widgets
|
||||
)
|
||||
|
@ -1,6 +1,17 @@
|
||||
add_qt_test("tst_qgraphicsanchorlayout1" SOURCES tst_qgraphicsanchorlayout1.cpp
|
||||
# Generated from qgraphicsanchorlayout1.pro.
|
||||
|
||||
#####################################################################
|
||||
## tst_qgraphicsanchorlayout1 Test:
|
||||
#####################################################################
|
||||
|
||||
add_qt_test(tst_qgraphicsanchorlayout1
|
||||
SOURCES
|
||||
tst_qgraphicsanchorlayout1.cpp
|
||||
LIBRARIES
|
||||
Qt::WidgetsPrivate
|
||||
Qt::CorePrivate
|
||||
Qt::GuiPrivate
|
||||
Qt::WidgetsPrivate
|
||||
PUBLIC_LIBRARIES
|
||||
Qt::Gui
|
||||
Qt::Widgets
|
||||
)
|
||||
|
@ -1,6 +1,17 @@
|
||||
add_qt_test("tst_qgraphicseffectsource" SOURCES tst_qgraphicseffectsource.cpp
|
||||
# Generated from qgraphicseffectsource.pro.
|
||||
|
||||
#####################################################################
|
||||
## tst_qgraphicseffectsource Test:
|
||||
#####################################################################
|
||||
|
||||
add_qt_test(tst_qgraphicseffectsource
|
||||
SOURCES
|
||||
tst_qgraphicseffectsource.cpp
|
||||
LIBRARIES
|
||||
Qt::WidgetsPrivate
|
||||
Qt::CorePrivate
|
||||
Qt::GuiPrivate
|
||||
Qt::WidgetsPrivate
|
||||
PUBLIC_LIBRARIES
|
||||
Qt::Gui
|
||||
Qt::Widgets
|
||||
)
|
||||
|
@ -1 +1,13 @@
|
||||
add_qt_test("tst_qgraphicsgridlayout" SOURCES tst_qgraphicsgridlayout.cpp LIBRARIES Qt::Widgets)
|
||||
# Generated from qgraphicsgridlayout.pro.
|
||||
|
||||
#####################################################################
|
||||
## tst_qgraphicsgridlayout Test:
|
||||
#####################################################################
|
||||
|
||||
add_qt_test(tst_qgraphicsgridlayout
|
||||
SOURCES
|
||||
tst_qgraphicsgridlayout.cpp
|
||||
PUBLIC_LIBRARIES
|
||||
Qt::Gui
|
||||
Qt::Widgets
|
||||
)
|
||||
|
@ -1,11 +1,28 @@
|
||||
add_qt_test("tst_qgraphicsitem" SOURCES tst_qgraphicsitem.cpp
|
||||
# Generated from qgraphicsitem.pro.
|
||||
|
||||
#####################################################################
|
||||
## tst_qgraphicsitem Test:
|
||||
#####################################################################
|
||||
|
||||
add_qt_test(tst_qgraphicsitem
|
||||
SOURCES
|
||||
tst_qgraphicsitem.cpp
|
||||
DEFINES
|
||||
QT_NO_CAST_TO_ASCII
|
||||
LIBRARIES
|
||||
Qt::WidgetsPrivate
|
||||
Qt::TestPrivate
|
||||
Qt::CorePrivate
|
||||
Qt::GuiPrivate
|
||||
Qt::TestPrivate
|
||||
Qt::WidgetsPrivate
|
||||
PUBLIC_LIBRARIES
|
||||
Qt::Gui
|
||||
Qt::Widgets
|
||||
)
|
||||
|
||||
extend_target("tst_qgraphicsitem" CONDITION WIN32 AND NOT WINRT LIBRARIES -luser32)
|
||||
## Scopes:
|
||||
#####################################################################
|
||||
|
||||
extend_target(tst_qgraphicsitem CONDITION WIN32 AND NOT WINRT
|
||||
PUBLIC_LIBRARIES
|
||||
user32
|
||||
)
|
||||
|
@ -1,6 +1,15 @@
|
||||
add_qt_test("tst_qgraphicsitemanimation" SOURCES tst_qgraphicsitemanimation.cpp
|
||||
# Generated from qgraphicsitemanimation.pro.
|
||||
|
||||
#####################################################################
|
||||
## tst_qgraphicsitemanimation Test:
|
||||
#####################################################################
|
||||
|
||||
add_qt_test(tst_qgraphicsitemanimation
|
||||
SOURCES
|
||||
tst_qgraphicsitemanimation.cpp
|
||||
DEFINES
|
||||
QT_NO_CAST_TO_ASCII
|
||||
LIBRARIES
|
||||
PUBLIC_LIBRARIES
|
||||
Qt::Gui
|
||||
Qt::Widgets
|
||||
)
|
||||
|
@ -1,6 +1,15 @@
|
||||
add_qt_test("tst_qgraphicslayout" SOURCES tst_qgraphicslayout.cpp
|
||||
# Generated from qgraphicslayout.pro.
|
||||
|
||||
#####################################################################
|
||||
## tst_qgraphicslayout Test:
|
||||
#####################################################################
|
||||
|
||||
add_qt_test(tst_qgraphicslayout
|
||||
SOURCES
|
||||
tst_qgraphicslayout.cpp
|
||||
DEFINES
|
||||
QT_USE_USING_NAMESPACE
|
||||
LIBRARIES
|
||||
PUBLIC_LIBRARIES
|
||||
Qt::Gui
|
||||
Qt::Widgets
|
||||
)
|
||||
|
@ -1 +1,13 @@
|
||||
add_qt_test("tst_qgraphicslayoutitem" SOURCES tst_qgraphicslayoutitem.cpp LIBRARIES Qt::Widgets)
|
||||
# Generated from qgraphicslayoutitem.pro.
|
||||
|
||||
#####################################################################
|
||||
## tst_qgraphicslayoutitem Test:
|
||||
#####################################################################
|
||||
|
||||
add_qt_test(tst_qgraphicslayoutitem
|
||||
SOURCES
|
||||
tst_qgraphicslayoutitem.cpp
|
||||
PUBLIC_LIBRARIES
|
||||
Qt::Gui
|
||||
Qt::Widgets
|
||||
)
|
||||
|
@ -1 +1,13 @@
|
||||
add_qt_test("tst_qgraphicslinearlayout" SOURCES tst_qgraphicslinearlayout.cpp LIBRARIES Qt::Widgets)
|
||||
# Generated from qgraphicslinearlayout.pro.
|
||||
|
||||
#####################################################################
|
||||
## tst_qgraphicslinearlayout Test:
|
||||
#####################################################################
|
||||
|
||||
add_qt_test(tst_qgraphicslinearlayout
|
||||
SOURCES
|
||||
tst_qgraphicslinearlayout.cpp
|
||||
PUBLIC_LIBRARIES
|
||||
Qt::Gui
|
||||
Qt::Widgets
|
||||
)
|
||||
|
@ -1 +1,15 @@
|
||||
add_qt_test("tst_qgraphicsobject" SOURCES tst_qgraphicsobject.cpp LIBRARIES Qt::Widgets Qt::CorePrivate)
|
||||
# Generated from qgraphicsobject.pro.
|
||||
|
||||
#####################################################################
|
||||
## tst_qgraphicsobject Test:
|
||||
#####################################################################
|
||||
|
||||
add_qt_test(tst_qgraphicsobject
|
||||
SOURCES
|
||||
tst_qgraphicsobject.cpp
|
||||
LIBRARIES
|
||||
Qt::CorePrivate
|
||||
PUBLIC_LIBRARIES
|
||||
Qt::Gui
|
||||
Qt::Widgets
|
||||
)
|
||||
|
@ -1 +1,13 @@
|
||||
add_qt_test("tst_qgraphicspixmapitem" SOURCES tst_qgraphicspixmapitem.cpp LIBRARIES Qt::Widgets)
|
||||
# Generated from qgraphicspixmapitem.pro.
|
||||
|
||||
#####################################################################
|
||||
## tst_qgraphicspixmapitem Test:
|
||||
#####################################################################
|
||||
|
||||
add_qt_test(tst_qgraphicspixmapitem
|
||||
SOURCES
|
||||
tst_qgraphicspixmapitem.cpp
|
||||
PUBLIC_LIBRARIES
|
||||
Qt::Gui
|
||||
Qt::Widgets
|
||||
)
|
||||
|
@ -1 +1,13 @@
|
||||
add_qt_test("tst_qgraphicspolygonitem" SOURCES tst_qgraphicspolygonitem.cpp LIBRARIES Qt::Widgets)
|
||||
# Generated from qgraphicspolygonitem.pro.
|
||||
|
||||
#####################################################################
|
||||
## tst_qgraphicspolygonitem Test:
|
||||
#####################################################################
|
||||
|
||||
add_qt_test(tst_qgraphicspolygonitem
|
||||
SOURCES
|
||||
tst_qgraphicspolygonitem.cpp
|
||||
PUBLIC_LIBRARIES
|
||||
Qt::Gui
|
||||
Qt::Widgets
|
||||
)
|
||||
|
@ -1,10 +1,19 @@
|
||||
add_qt_test("tst_qgraphicsproxywidget"
|
||||
# Generated from qgraphicsproxywidget.pro.
|
||||
|
||||
#####################################################################
|
||||
## tst_qgraphicsproxywidget Test:
|
||||
#####################################################################
|
||||
|
||||
add_qt_test(tst_qgraphicsproxywidget
|
||||
SOURCES
|
||||
tst_qgraphicsproxywidget.cpp
|
||||
DEFINES
|
||||
QTEST_QPA_MOUSE_HANDLING
|
||||
LIBRARIES
|
||||
Qt::WidgetsPrivate
|
||||
Qt::CorePrivate
|
||||
Qt::GuiPrivate
|
||||
Qt::WidgetsPrivate
|
||||
PUBLIC_LIBRARIES
|
||||
Qt::Gui
|
||||
Qt::Widgets
|
||||
)
|
||||
|
@ -1,15 +1,78 @@
|
||||
add_qt_test("tst_qgraphicsscene"
|
||||
# Generated from qgraphicsscene.pro.
|
||||
|
||||
#####################################################################
|
||||
## tst_qgraphicsscene Test:
|
||||
#####################################################################
|
||||
|
||||
add_qt_test(tst_qgraphicsscene
|
||||
SOURCES
|
||||
images.qrc
|
||||
testdata.qrc
|
||||
tst_qgraphicsscene.cpp
|
||||
DEFINES
|
||||
SRCDIR="${CMAKE_CURRENT_SOURCE_DIR}"
|
||||
QT_NO_CAST_TO_ASCII
|
||||
SRCDIR=\\\"${CMAKE_CURRENT_SOURCE_DIR}\\\"
|
||||
LIBRARIES
|
||||
Qt::WidgetsPrivate
|
||||
Qt::CorePrivate
|
||||
Qt::GuiPrivate
|
||||
Qt::WidgetsPrivate
|
||||
PUBLIC_LIBRARIES
|
||||
Qt::Gui
|
||||
Qt::Widgets
|
||||
)
|
||||
|
||||
extend_target("tst_qgraphicsscene" CONDITION WIN32 AND NOT WINRT LIBRARIES -luser32)
|
||||
# Resources:
|
||||
set(images_resource_files
|
||||
"Ash_European.jpg"
|
||||
)
|
||||
|
||||
add_qt_resource(tst_qgraphicsscene "images"
|
||||
PREFIX
|
||||
"/"
|
||||
FILES
|
||||
${images_resource_files}
|
||||
)
|
||||
set(testdata_resource_files
|
||||
"testData/render/all-all-45-deg-left.png"
|
||||
"testData/render/all-all-45-deg-right.png"
|
||||
"testData/render/all-all-scale-2x.png"
|
||||
"testData/render/all-all-translate-0-50.png"
|
||||
"testData/render/all-all-translate-50-0.png"
|
||||
"testData/render/all-all-untransformed-clip-ellipse.png"
|
||||
"testData/render/all-all-untransformed-clip-rect.png"
|
||||
"testData/render/all-all-untransformed.png"
|
||||
"testData/render/all-bottomleft-untransformed.png"
|
||||
"testData/render/all-bottomright-untransformed.png"
|
||||
"testData/render/all-topleft-untransformed.png"
|
||||
"testData/render/all-topright-untransformed.png"
|
||||
"testData/render/bottom-bottomright-untransformed.png"
|
||||
"testData/render/bottom-topleft-untransformed.png"
|
||||
"testData/render/bottomleft-all-untransformed.png"
|
||||
"testData/render/bottomleft-topleft-untransformed.png"
|
||||
"testData/render/bottomright-all-untransformed.png"
|
||||
"testData/render/bottomright-topleft-untransformed.png"
|
||||
"testData/render/left-bottomright-untransformed.png"
|
||||
"testData/render/left-topleft-untransformed.png"
|
||||
"testData/render/right-bottomright-untransformed.png"
|
||||
"testData/render/right-topleft-untransformed.png"
|
||||
"testData/render/top-bottomright-untransformed.png"
|
||||
"testData/render/top-topleft-untransformed.png"
|
||||
"testData/render/topleft-all-untransformed.png"
|
||||
"testData/render/topleft-topleft-untransformed.png"
|
||||
"testData/render/topright-all-untransformed.png"
|
||||
"testData/render/topright-topleft-untransformed.png"
|
||||
)
|
||||
|
||||
add_qt_resource(tst_qgraphicsscene "testdata"
|
||||
PREFIX
|
||||
"/"
|
||||
FILES
|
||||
${testdata_resource_files}
|
||||
)
|
||||
|
||||
|
||||
## Scopes:
|
||||
#####################################################################
|
||||
|
||||
extend_target(tst_qgraphicsscene CONDITION WIN32 AND NOT WINRT
|
||||
PUBLIC_LIBRARIES
|
||||
user32
|
||||
)
|
||||
|
@ -1,6 +1,24 @@
|
||||
add_qt_test("tst_qgraphicssceneindex" SOURCES tst_qgraphicssceneindex.cpp
|
||||
# Generated from qgraphicssceneindex.pro.
|
||||
|
||||
if(NOT QT_FEATURE_private_tests)
|
||||
return()
|
||||
endif()
|
||||
|
||||
#####################################################################
|
||||
## tst_qgraphicssceneindex Test:
|
||||
#####################################################################
|
||||
|
||||
add_qt_test(tst_qgraphicssceneindex
|
||||
SOURCES
|
||||
tst_qgraphicssceneindex.cpp
|
||||
LIBRARIES
|
||||
Qt::WidgetsPrivate
|
||||
Qt::CorePrivate
|
||||
Qt::GuiPrivate
|
||||
Qt::WidgetsPrivate
|
||||
PUBLIC_LIBRARIES
|
||||
Qt::Gui
|
||||
Qt::Widgets
|
||||
)
|
||||
|
||||
#### Keys ignored in scope 1:.:.:qgraphicssceneindex.pro:<TRUE>:
|
||||
# _REQUIREMENTS = "qtConfig(private_tests)"
|
||||
|
@ -1 +1,13 @@
|
||||
add_qt_test("tst_qgraphicstransform" SOURCES tst_qgraphicstransform.cpp LIBRARIES Qt::Widgets)
|
||||
# Generated from qgraphicstransform.pro.
|
||||
|
||||
#####################################################################
|
||||
## tst_qgraphicstransform Test:
|
||||
#####################################################################
|
||||
|
||||
add_qt_test(tst_qgraphicstransform
|
||||
SOURCES
|
||||
tst_qgraphicstransform.cpp
|
||||
PUBLIC_LIBRARIES
|
||||
Qt::Gui
|
||||
Qt::Widgets
|
||||
)
|
||||
|
@ -1,12 +1,24 @@
|
||||
add_qt_test("tst_qgraphicsview"
|
||||
# Generated from qgraphicsview.pro.
|
||||
|
||||
#####################################################################
|
||||
## tst_qgraphicsview Test:
|
||||
#####################################################################
|
||||
|
||||
add_qt_test(tst_qgraphicsview
|
||||
SOURCES
|
||||
tst_qgraphicsview.cpp tst_qgraphicsview.h
|
||||
tst_qgraphicsview_2.cpp
|
||||
DEFINES
|
||||
QT_NO_CAST_TO_ASCII
|
||||
LIBRARIES
|
||||
Qt::WidgetsPrivate
|
||||
Qt::CorePrivate
|
||||
Qt::GuiPrivate
|
||||
Qt::TestPrivate
|
||||
Qt::WidgetsPrivate
|
||||
PUBLIC_LIBRARIES
|
||||
Qt::Gui
|
||||
Qt::Widgets
|
||||
)
|
||||
|
||||
#### Keys ignored in scope 1:.:.:qgraphicsview.pro:<TRUE>:
|
||||
# testcase.timeout = "500"
|
||||
|
@ -1,6 +1,17 @@
|
||||
add_qt_test("tst_qgraphicswidget" SOURCES tst_qgraphicswidget.cpp
|
||||
# Generated from qgraphicswidget.pro.
|
||||
|
||||
#####################################################################
|
||||
## tst_qgraphicswidget Test:
|
||||
#####################################################################
|
||||
|
||||
add_qt_test(tst_qgraphicswidget
|
||||
SOURCES
|
||||
tst_qgraphicswidget.cpp
|
||||
LIBRARIES
|
||||
Qt::WidgetsPrivate
|
||||
Qt::CorePrivate
|
||||
Qt::GuiPrivate
|
||||
Qt::WidgetsPrivate
|
||||
PUBLIC_LIBRARIES
|
||||
Qt::Gui
|
||||
Qt::Widgets
|
||||
)
|
||||
|
Loading…
Reference in New Issue
Block a user