diff options
Diffstat (limited to 'tests/auto')
264 files changed, 7970 insertions, 15 deletions
diff --git a/tests/auto/CMakeLists.txt b/tests/auto/CMakeLists.txt new file mode 100644 index 000000000..0e2b3eff9 --- /dev/null +++ b/tests/auto/CMakeLists.txt @@ -0,0 +1,21 @@ +# Generated from auto.pro. + +add_subdirectory(core) +#add_subdirectory(cmake) +add_subdirectory(global) +if(QT_FEATURE_qt3d_render) + add_subdirectory(render) + add_subdirectory(geometryloaders) +endif() +if(QT_FEATURE_qt3d_input) + add_subdirectory(input) +endif() +if(QT_FEATURE_qt3d_animation) + add_subdirectory(animation) +endif() +if(QT_FEATURE_qt3d_extras) + add_subdirectory(extras) +endif() +if(QT_FEATURE_qt3d_input AND QT_FEATURE_qt3d_render AND TARGET Qt::Quick) + add_subdirectory(quick3d) +endif() diff --git a/tests/auto/animation/CMakeLists.txt b/tests/auto/animation/CMakeLists.txt new file mode 100644 index 000000000..c258acf3d --- /dev/null +++ b/tests/auto/animation/CMakeLists.txt @@ -0,0 +1,41 @@ +# Generated from animation.pro. + +add_subdirectory(qanimationaspect) +add_subdirectory(qanimationcliploader) +add_subdirectory(qclipanimator) +add_subdirectory(qblendedclipanimator) +add_subdirectory(qchannelmapper) +add_subdirectory(qclipblendvalue) +add_subdirectory(qanimationcontroller) +add_subdirectory(qanimationgroup) +add_subdirectory(qkeyframeanimation) +add_subdirectory(qmorphinganimation) +add_subdirectory(qmorphtarget) +add_subdirectory(qvertexblendanimation) +add_subdirectory(qclock) +add_subdirectory(qskeletonmapping) +add_subdirectory(qcallbackmapping) +if(QT_FEATURE_private_tests) + add_subdirectory(animationclip) + add_subdirectory(fcurve) + add_subdirectory(functionrangefinder) + add_subdirectory(bezierevaluator) + add_subdirectory(clipanimator) + add_subdirectory(blendedclipanimator) + add_subdirectory(channelmapper) + add_subdirectory(channelmapping) + add_subdirectory(qlerpclipblend) + add_subdirectory(clipblendnodemanager) + add_subdirectory(clipblendnode) + add_subdirectory(lerpclipblend) + add_subdirectory(clipblendnodevisitor) + add_subdirectory(qadditiveclipblend) + add_subdirectory(additiveclipblend) + add_subdirectory(clipblendvalue) + add_subdirectory(animationutils) + add_subdirectory(qabstractanimation) + add_subdirectory(clock) + add_subdirectory(skeleton) + add_subdirectory(findrunningclipanimatorsjob) + add_subdirectory(qchannelmapping) +endif() diff --git a/tests/auto/animation/additiveclipblend/CMakeLists.txt b/tests/auto/animation/additiveclipblend/CMakeLists.txt new file mode 100644 index 000000000..216cffdb3 --- /dev/null +++ b/tests/auto/animation/additiveclipblend/CMakeLists.txt @@ -0,0 +1,26 @@ +# Generated from additiveclipblend.pro. + +##################################################################### +## tst_additiveclipblend Test: +##################################################################### + +qt_add_test(tst_additiveclipblend + SOURCES + tst_additiveclipblend.cpp + PUBLIC_LIBRARIES + Qt::3DAnimation + Qt::3DAnimationPrivate + Qt::3DCore + Qt::3DCorePrivate + Qt::CorePrivate + Qt::Gui +) + +#### Keys ignored in scope 1:.:.:additiveclipblend.pro:<TRUE>: +# TEMPLATE = "app" + +## Scopes: +##################################################################### + +include(../../core/common/common.cmake) +qt3d_setup_common_test(tst_additiveclipblend) diff --git a/tests/auto/animation/animationclip/CMakeLists.txt b/tests/auto/animation/animationclip/CMakeLists.txt new file mode 100644 index 000000000..9bdcf0cd5 --- /dev/null +++ b/tests/auto/animation/animationclip/CMakeLists.txt @@ -0,0 +1,26 @@ +# Generated from animationclip.pro. + +##################################################################### +## tst_animationclip Test: +##################################################################### + +qt_add_test(tst_animationclip + SOURCES + tst_animationclip.cpp + PUBLIC_LIBRARIES + Qt::3DAnimation + Qt::3DAnimationPrivate + Qt::3DCore + Qt::3DCorePrivate + Qt::CorePrivate + Qt::Gui +) + +#### Keys ignored in scope 1:.:.:animationclip.pro:<TRUE>: +# TEMPLATE = "app" + +## Scopes: +##################################################################### + +include(../../core/common/common.cmake) +qt3d_setup_common_test(tst_animationclip) diff --git a/tests/auto/animation/animationutils/CMakeLists.txt b/tests/auto/animation/animationutils/CMakeLists.txt new file mode 100644 index 000000000..278b90dcf --- /dev/null +++ b/tests/auto/animation/animationutils/CMakeLists.txt @@ -0,0 +1,44 @@ +# Generated from animationutils.pro. + +##################################################################### +## tst_animationutils Test: +##################################################################### + +qt_add_test(tst_animationutils + SOURCES + tst_animationutils.cpp + PUBLIC_LIBRARIES + Qt::3DAnimation + Qt::3DAnimationPrivate + Qt::3DCore + Qt::3DCorePrivate + Qt::CorePrivate + Qt::Gui +) + +# Resources: +set(animationutils_resource_files + "clip1.json" + "clip2.json" + "clip3.json" + "clip4.json" + "clip5.json" + "clip6.json" +) + +qt_add_resource(tst_animationutils "animationutils" + PREFIX + "/" + FILES + ${animationutils_resource_files} +) + + +#### Keys ignored in scope 1:.:.:animationutils.pro:<TRUE>: +# TEMPLATE = "app" + +## Scopes: +##################################################################### + +include(../../core/common/common.cmake) +qt3d_setup_common_test(tst_animationutils) diff --git a/tests/auto/animation/bezierevaluator/CMakeLists.txt b/tests/auto/animation/bezierevaluator/CMakeLists.txt new file mode 100644 index 000000000..a979cb95d --- /dev/null +++ b/tests/auto/animation/bezierevaluator/CMakeLists.txt @@ -0,0 +1,20 @@ +# Generated from bezierevaluator.pro. + +##################################################################### +## tst_bezierevaluator Test: +##################################################################### + +qt_add_test(tst_bezierevaluator + SOURCES + tst_bezierevaluator.cpp + PUBLIC_LIBRARIES + Qt::3DAnimation + Qt::3DAnimationPrivate + Qt::3DCore + Qt::3DCorePrivate + Qt::CorePrivate + Qt::Gui +) + +#### Keys ignored in scope 1:.:.:bezierevaluator.pro:<TRUE>: +# TEMPLATE = "app" diff --git a/tests/auto/animation/blendedclipanimator/CMakeLists.txt b/tests/auto/animation/blendedclipanimator/CMakeLists.txt new file mode 100644 index 000000000..510cf7ea6 --- /dev/null +++ b/tests/auto/animation/blendedclipanimator/CMakeLists.txt @@ -0,0 +1,26 @@ +# Generated from blendedclipanimator.pro. + +##################################################################### +## tst_blendedclipanimator Test: +##################################################################### + +qt_add_test(tst_blendedclipanimator + SOURCES + tst_blendedclipanimator.cpp + PUBLIC_LIBRARIES + Qt::3DAnimation + Qt::3DAnimationPrivate + Qt::3DCore + Qt::3DCorePrivate + Qt::CorePrivate + Qt::Gui +) + +#### Keys ignored in scope 1:.:.:blendedclipanimator.pro:<TRUE>: +# TEMPLATE = "app" + +## Scopes: +##################################################################### + +include(../../core/common/common.cmake) +qt3d_setup_common_test(tst_blendedclipanimator) diff --git a/tests/auto/animation/blendedclipanimator/tst_blendedclipanimator.cpp b/tests/auto/animation/blendedclipanimator/tst_blendedclipanimator.cpp index 6c99579c2..ad42da24d 100644 --- a/tests/auto/animation/blendedclipanimator/tst_blendedclipanimator.cpp +++ b/tests/auto/animation/blendedclipanimator/tst_blendedclipanimator.cpp @@ -43,7 +43,6 @@ #include <Qt3DAnimation/qchannelmapper.h> #include <Qt3DAnimation/private/qblendedclipanimator_p.h> #include <Qt3DAnimation/private/blendedclipanimator_p.h> -#include "qbackendnodetester.h" class tst_BlendedClipAnimator : public Qt3DCore::QBackendNodeTester { diff --git a/tests/auto/animation/channelmapper/CMakeLists.txt b/tests/auto/animation/channelmapper/CMakeLists.txt new file mode 100644 index 000000000..fb37a7bab --- /dev/null +++ b/tests/auto/animation/channelmapper/CMakeLists.txt @@ -0,0 +1,26 @@ +# Generated from channelmapper.pro. + +##################################################################### +## tst_channelmapper Test: +##################################################################### + +qt_add_test(tst_channelmapper + SOURCES + tst_channelmapper.cpp + PUBLIC_LIBRARIES + Qt::3DAnimation + Qt::3DAnimationPrivate + Qt::3DCore + Qt::3DCorePrivate + Qt::CorePrivate + Qt::Gui +) + +#### Keys ignored in scope 1:.:.:channelmapper.pro:<TRUE>: +# TEMPLATE = "app" + +## Scopes: +##################################################################### + +include(../../core/common/common.cmake) +qt3d_setup_common_test(tst_channelmapper) diff --git a/tests/auto/animation/channelmapping/CMakeLists.txt b/tests/auto/animation/channelmapping/CMakeLists.txt new file mode 100644 index 000000000..06675af06 --- /dev/null +++ b/tests/auto/animation/channelmapping/CMakeLists.txt @@ -0,0 +1,28 @@ +# Generated from channelmapping.pro. + +##################################################################### +## tst_channelmapping Test: +##################################################################### + +qt_add_test(tst_channelmapping + SOURCES + tst_channelmapping.cpp + INCLUDE_DIRECTORIES + ../../core/common + PUBLIC_LIBRARIES + Qt::3DAnimation + Qt::3DAnimationPrivate + Qt::3DCore + Qt::3DCorePrivate + Qt::CorePrivate + Qt::Gui +) + +#### Keys ignored in scope 1:.:.:channelmapping.pro:<TRUE>: +# TEMPLATE = "app" + +## Scopes: +##################################################################### + +include(../../core/common/common.cmake) +qt3d_setup_common_test(tst_channelmapping) diff --git a/tests/auto/animation/clipanimator/CMakeLists.txt b/tests/auto/animation/clipanimator/CMakeLists.txt new file mode 100644 index 000000000..4c7d9c2c8 --- /dev/null +++ b/tests/auto/animation/clipanimator/CMakeLists.txt @@ -0,0 +1,31 @@ +# Generated from clipanimator.pro. + +##################################################################### +## tst_clipanimator Test: +##################################################################### + +qt_add_test(tst_clipanimator + SOURCES + tst_clipanimator.cpp + INCLUDE_DIRECTORIES + ../../core/common + PUBLIC_LIBRARIES + Qt::3DAnimation + Qt::3DAnimationPrivate + Qt::3DCore + Qt::3DCorePrivate + Qt::CorePrivate + Qt::Gui +) + +#### Keys ignored in scope 1:.:.:clipanimator.pro:<TRUE>: +# TEMPLATE = "app" + +## Scopes: +##################################################################### + +qt_extend_target(tst_clipanimator CONDITION QT_FEATURE_private_tests + SOURCES + ../../core/common/qbackendnodetester.cpp ../../core/common/qbackendnodetester.h + ../../core/common/testarbiter.h +) diff --git a/tests/auto/animation/clipblendnode/CMakeLists.txt b/tests/auto/animation/clipblendnode/CMakeLists.txt new file mode 100644 index 000000000..394a6e484 --- /dev/null +++ b/tests/auto/animation/clipblendnode/CMakeLists.txt @@ -0,0 +1,31 @@ +# Generated from clipblendnode.pro. + +##################################################################### +## tst_clipblendnode Test: +##################################################################### + +qt_add_test(tst_clipblendnode + SOURCES + tst_clipblendnode.cpp + INCLUDE_DIRECTORIES + ../../core/common + PUBLIC_LIBRARIES + Qt::3DAnimation + Qt::3DAnimationPrivate + Qt::3DCore + Qt::3DCorePrivate + Qt::CorePrivate + Qt::Gui +) + +#### Keys ignored in scope 1:.:.:clipblendnode.pro:<TRUE>: +# TEMPLATE = "app" + +## Scopes: +##################################################################### + +qt_extend_target(tst_clipblendnode CONDITION QT_FEATURE_private_tests + SOURCES + ../../core/common/qbackendnodetester.cpp ../../core/common/qbackendnodetester.h + ../../core/common/testarbiter.h +) diff --git a/tests/auto/animation/clipblendnodemanager/CMakeLists.txt b/tests/auto/animation/clipblendnodemanager/CMakeLists.txt new file mode 100644 index 000000000..0647e66ff --- /dev/null +++ b/tests/auto/animation/clipblendnodemanager/CMakeLists.txt @@ -0,0 +1,31 @@ +# Generated from clipblendnodemanager.pro. + +##################################################################### +## tst_clipblendnodemanager Test: +##################################################################### + +qt_add_test(tst_clipblendnodemanager + SOURCES + tst_clipblendnodemanager.cpp + INCLUDE_DIRECTORIES + ../../core/common + PUBLIC_LIBRARIES + Qt::3DAnimation + Qt::3DAnimationPrivate + Qt::3DCore + Qt::3DCorePrivate + Qt::CorePrivate + Qt::Gui +) + +#### Keys ignored in scope 1:.:.:clipblendnodemanager.pro:<TRUE>: +# TEMPLATE = "app" + +## Scopes: +##################################################################### + +qt_extend_target(tst_clipblendnodemanager CONDITION QT_FEATURE_private_tests + SOURCES + ../../core/common/qbackendnodetester.cpp ../../core/common/qbackendnodetester.h + ../../core/common/testarbiter.h +) diff --git a/tests/auto/animation/clipblendnodevisitor/CMakeLists.txt b/tests/auto/animation/clipblendnodevisitor/CMakeLists.txt new file mode 100644 index 000000000..8c8d73c48 --- /dev/null +++ b/tests/auto/animation/clipblendnodevisitor/CMakeLists.txt @@ -0,0 +1,31 @@ +# Generated from clipblendnodevisitor.pro. + +##################################################################### +## tst_clipblendnodevisitor Test: +##################################################################### + +qt_add_test(tst_clipblendnodevisitor + SOURCES + tst_clipblendnodevisitor.cpp + INCLUDE_DIRECTORIES + ../../core/common + PUBLIC_LIBRARIES + Qt::3DAnimation + Qt::3DAnimationPrivate + Qt::3DCore + Qt::3DCorePrivate + Qt::CorePrivate + Qt::Gui +) + +#### Keys ignored in scope 1:.:.:clipblendnodevisitor.pro:<TRUE>: +# TEMPLATE = "app" + +## Scopes: +##################################################################### + +qt_extend_target(tst_clipblendnodevisitor CONDITION QT_FEATURE_private_tests + SOURCES + ../../core/common/qbackendnodetester.cpp ../../core/common/qbackendnodetester.h + ../../core/common/testarbiter.h +) diff --git a/tests/auto/animation/clipblendvalue/CMakeLists.txt b/tests/auto/animation/clipblendvalue/CMakeLists.txt new file mode 100644 index 000000000..99f6afd34 --- /dev/null +++ b/tests/auto/animation/clipblendvalue/CMakeLists.txt @@ -0,0 +1,31 @@ +# Generated from clipblendvalue.pro. + +##################################################################### +## tst_clipblendvalue Test: +##################################################################### + +qt_add_test(tst_clipblendvalue + SOURCES + tst_clipblendvalue.cpp + INCLUDE_DIRECTORIES + ../../core/common + PUBLIC_LIBRARIES + Qt::3DAnimation + Qt::3DAnimationPrivate + Qt::3DCore + Qt::3DCorePrivate + Qt::CorePrivate + Qt::Gui +) + +#### Keys ignored in scope 1:.:.:clipblendvalue.pro:<TRUE>: +# TEMPLATE = "app" + +## Scopes: +##################################################################### + +qt_extend_target(tst_clipblendvalue CONDITION QT_FEATURE_private_tests + SOURCES + ../../core/common/qbackendnodetester.cpp ../../core/common/qbackendnodetester.h + ../../core/common/testarbiter.h +) diff --git a/tests/auto/animation/clock/CMakeLists.txt b/tests/auto/animation/clock/CMakeLists.txt new file mode 100644 index 000000000..ca457c32e --- /dev/null +++ b/tests/auto/animation/clock/CMakeLists.txt @@ -0,0 +1,31 @@ +# Generated from clock.pro. + +##################################################################### +## tst_clock Test: +##################################################################### + +qt_add_test(tst_clock + SOURCES + tst_clock.cpp + INCLUDE_DIRECTORIES + ../../core/common + PUBLIC_LIBRARIES + Qt::3DAnimation + Qt::3DAnimationPrivate + Qt::3DCore + Qt::3DCorePrivate + Qt::CorePrivate + Qt::Gui +) + +#### Keys ignored in scope 1:.:.:clock.pro:<TRUE>: +# TEMPLATE = "app" + +## Scopes: +##################################################################### + +qt_extend_target(tst_clock CONDITION QT_FEATURE_private_tests + SOURCES + ../../core/common/qbackendnodetester.cpp ../../core/common/qbackendnodetester.h + ../../core/common/testarbiter.h +) diff --git a/tests/auto/animation/fcurve/CMakeLists.txt b/tests/auto/animation/fcurve/CMakeLists.txt new file mode 100644 index 000000000..2c33937d1 --- /dev/null +++ b/tests/auto/animation/fcurve/CMakeLists.txt @@ -0,0 +1,20 @@ +# Generated from fcurve.pro. + +##################################################################### +## tst_fcurve Test: +##################################################################### + +qt_add_test(tst_fcurve + SOURCES + tst_fcurve.cpp + PUBLIC_LIBRARIES + Qt::3DAnimation + Qt::3DAnimationPrivate + Qt::3DCore + Qt::3DCorePrivate + Qt::CorePrivate + Qt::Gui +) + +#### Keys ignored in scope 1:.:.:fcurve.pro:<TRUE>: +# TEMPLATE = "app" diff --git a/tests/auto/animation/findrunningclipanimatorsjob/CMakeLists.txt b/tests/auto/animation/findrunningclipanimatorsjob/CMakeLists.txt new file mode 100644 index 000000000..eeaafae0e --- /dev/null +++ b/tests/auto/animation/findrunningclipanimatorsjob/CMakeLists.txt @@ -0,0 +1,44 @@ +# Generated from findrunningclipanimatorsjob.pro. + +##################################################################### +## tst_findrunningclipanimatorsjob Test: +##################################################################### + +qt_add_test(tst_findrunningclipanimatorsjob + SOURCES + tst_findrunningclipanimatorsjob.cpp + INCLUDE_DIRECTORIES + ../../core/common + PUBLIC_LIBRARIES + Qt::3DAnimation + Qt::3DAnimationPrivate + Qt::3DCore + Qt::3DCorePrivate + Qt::CorePrivate + Qt::Gui +) + +# Resources: +set(findrunningclipanimatorsjob_resource_files + "clip1.json" +) + +qt_add_resource(tst_findrunningclipanimatorsjob "findrunningclipanimatorsjob" + PREFIX + "/" + FILES + ${findrunningclipanimatorsjob_resource_files} +) + + +#### Keys ignored in scope 1:.:.:findrunningclipanimatorsjob.pro:<TRUE>: +# TEMPLATE = "app" + +## Scopes: +##################################################################### + +qt_extend_target(tst_findrunningclipanimatorsjob CONDITION QT_FEATURE_private_tests + SOURCES + ../../core/common/qbackendnodetester.cpp ../../core/common/qbackendnodetester.h + ../../core/common/testarbiter.h +) diff --git a/tests/auto/animation/functionrangefinder/CMakeLists.txt b/tests/auto/animation/functionrangefinder/CMakeLists.txt new file mode 100644 index 000000000..9e035f0df --- /dev/null +++ b/tests/auto/animation/functionrangefinder/CMakeLists.txt @@ -0,0 +1,20 @@ +# Generated from functionrangefinder.pro. + +##################################################################### +## tst_sandwichfinder Test: +##################################################################### + +qt_add_test(tst_sandwichfinder + SOURCES + tst_functionrangefinder.cpp + PUBLIC_LIBRARIES + Qt::3DAnimation + Qt::3DAnimationPrivate + Qt::3DCore + Qt::3DCorePrivate + Qt::CorePrivate + Qt::Gui +) + +#### Keys ignored in scope 1:.:.:functionrangefinder.pro:<TRUE>: +# TEMPLATE = "app" diff --git a/tests/auto/animation/lerpclipblend/CMakeLists.txt b/tests/auto/animation/lerpclipblend/CMakeLists.txt new file mode 100644 index 000000000..430bcd202 --- /dev/null +++ b/tests/auto/animation/lerpclipblend/CMakeLists.txt @@ -0,0 +1,31 @@ +# Generated from lerpclipblend.pro. + +##################################################################### +## tst_lerpclipblend Test: +##################################################################### + +qt_add_test(tst_lerpclipblend + SOURCES + tst_lerpclipblend.cpp + INCLUDE_DIRECTORIES + ../../core/common + PUBLIC_LIBRARIES + Qt::3DAnimation + Qt::3DAnimationPrivate + Qt::3DCore + Qt::3DCorePrivate + Qt::CorePrivate + Qt::Gui +) + +#### Keys ignored in scope 1:.:.:lerpclipblend.pro:<TRUE>: +# TEMPLATE = "app" + +## Scopes: +##################################################################### + +qt_extend_target(tst_lerpclipblend CONDITION QT_FEATURE_private_tests + SOURCES + ../../core/common/qbackendnodetester.cpp ../../core/common/qbackendnodetester.h + ../../core/common/testarbiter.h +) diff --git a/tests/auto/animation/qabstractanimation/CMakeLists.txt b/tests/auto/animation/qabstractanimation/CMakeLists.txt new file mode 100644 index 000000000..7e6a4b847 --- /dev/null +++ b/tests/auto/animation/qabstractanimation/CMakeLists.txt @@ -0,0 +1,21 @@ +# Generated from qabstractanimation.pro. + +##################################################################### +## tst_qabstractanimation Test: +##################################################################### + +qt_add_test(tst_qabstractanimation + SOURCES + tst_qabstractanimation.cpp + PUBLIC_LIBRARIES + Qt::3DAnimation + Qt::3DAnimationPrivate + Qt::3DCore + Qt::3DCorePrivate + Qt::3DRender + Qt::3DRenderPrivate + Qt::Gui +) + +#### Keys ignored in scope 1:.:.:qabstractanimation.pro:<TRUE>: +# TEMPLATE = "app" diff --git a/tests/auto/animation/qadditiveclipblend/CMakeLists.txt b/tests/auto/animation/qadditiveclipblend/CMakeLists.txt new file mode 100644 index 000000000..1d220c566 --- /dev/null +++ b/tests/auto/animation/qadditiveclipblend/CMakeLists.txt @@ -0,0 +1,31 @@ +# Generated from qadditiveclipblend.pro. + +##################################################################### +## tst_qadditiveclipblend Test: +##################################################################### + +qt_add_test(tst_qadditiveclipblend + SOURCES + tst_qadditiveclipblend.cpp + INCLUDE_DIRECTORIES + ../../core/common + PUBLIC_LIBRARIES + Qt::3DAnimation + Qt::3DAnimationPrivate + Qt::3DCore + Qt::3DCorePrivate + Qt::CorePrivate + Qt::Gui +) + +#### Keys ignored in scope 1:.:.:qadditiveclipblend.pro:<TRUE>: +# TEMPLATE = "app" + +## Scopes: +##################################################################### + +qt_extend_target(tst_qadditiveclipblend CONDITION QT_FEATURE_private_tests + SOURCES + ../../core/common/qbackendnodetester.cpp ../../core/common/qbackendnodetester.h + ../../core/common/testarbiter.h +) diff --git a/tests/auto/animation/qanimationaspect/CMakeLists.txt b/tests/auto/animation/qanimationaspect/CMakeLists.txt new file mode 100644 index 000000000..0376d9c74 --- /dev/null +++ b/tests/auto/animation/qanimationaspect/CMakeLists.txt @@ -0,0 +1,17 @@ +# Generated from qanimationaspect.pro. + +##################################################################### +## tst_qanimationaspect Test: +##################################################################### + +qt_add_test(tst_qanimationaspect + SOURCES + tst_qanimationaspect.cpp + PUBLIC_LIBRARIES + 3DAnimation + Qt::CorePrivate + Qt::Gui +) + +#### Keys ignored in scope 1:.:.:qanimationaspect.pro:<TRUE>: +# TEMPLATE = "app" diff --git a/tests/auto/animation/qanimationcliploader/CMakeLists.txt b/tests/auto/animation/qanimationcliploader/CMakeLists.txt new file mode 100644 index 000000000..72e179601 --- /dev/null +++ b/tests/auto/animation/qanimationcliploader/CMakeLists.txt @@ -0,0 +1,31 @@ +# Generated from qanimationcliploader.pro. + +##################################################################### +## tst_qanimationclip Test: +##################################################################### + +qt_add_test(tst_qanimationclip + SOURCES + tst_qanimationcliploader.cpp + INCLUDE_DIRECTORIES + ../../core/common + PUBLIC_LIBRARIES + 3DAnimation + 3DAnimationPrivate + Qt::3DCore + Qt::3DCorePrivate + Qt::CorePrivate + Qt::Gui +) + +#### Keys ignored in scope 1:.:.:qanimationcliploader.pro:<TRUE>: +# TEMPLATE = "app" + +## Scopes: +##################################################################### + +qt_extend_target(tst_qanimationclip CONDITION QT_FEATURE_private_tests + SOURCES + ../../core/common/qbackendnodetester.cpp ../../core/common/qbackendnodetester.h + ../../core/common/testarbiter.h +) diff --git a/tests/auto/animation/qanimationcontroller/CMakeLists.txt b/tests/auto/animation/qanimationcontroller/CMakeLists.txt new file mode 100644 index 000000000..9d22b4b07 --- /dev/null +++ b/tests/auto/animation/qanimationcontroller/CMakeLists.txt @@ -0,0 +1,20 @@ +# Generated from qanimationcontroller.pro. + +##################################################################### +## tst_qanimationcontroller Test: +##################################################################### + +qt_add_test(tst_qanimationcontroller + SOURCES + tst_qanimationcontroller.cpp + PUBLIC_LIBRARIES + 3DAnimation + Qt::3DCore + Qt::3DCorePrivate + Qt::3DRender + Qt::3DRenderPrivate + Qt::Gui +) + +#### Keys ignored in scope 1:.:.:qanimationcontroller.pro:<TRUE>: +# TEMPLATE = "app" diff --git a/tests/auto/animation/qanimationgroup/CMakeLists.txt b/tests/auto/animation/qanimationgroup/CMakeLists.txt new file mode 100644 index 000000000..04a289b3d --- /dev/null +++ b/tests/auto/animation/qanimationgroup/CMakeLists.txt @@ -0,0 +1,20 @@ +# Generated from qanimationgroup.pro. + +##################################################################### +## tst_qanimationgroup Test: +##################################################################### + +qt_add_test(tst_qanimationgroup + SOURCES + tst_qanimationgroup.cpp + PUBLIC_LIBRARIES + 3DAnimation + Qt::3DCore + Qt::3DCorePrivate + Qt::3DRender + Qt::3DRenderPrivate + Qt::Gui +) + +#### Keys ignored in scope 1:.:.:qanimationgroup.pro:<TRUE>: +# TEMPLATE = "app" diff --git a/tests/auto/animation/qblendedclipanimator/CMakeLists.txt b/tests/auto/animation/qblendedclipanimator/CMakeLists.txt new file mode 100644 index 000000000..c64f09d7e --- /dev/null +++ b/tests/auto/animation/qblendedclipanimator/CMakeLists.txt @@ -0,0 +1,31 @@ +# Generated from qblendedclipanimator.pro. + +##################################################################### +## tst_qblendedclipanimator Test: +##################################################################### + +qt_add_test(tst_qblendedclipanimator + SOURCES + tst_qblendedclipanimator.cpp + INCLUDE_DIRECTORIES + ../../core/common + PUBLIC_LIBRARIES + 3DAnimation + 3DAnimationPrivate + Qt::3DCore + Qt::3DCorePrivate + Qt::CorePrivate + Qt::Gui +) + +#### Keys ignored in scope 1:.:.:qblendedclipanimator.pro:<TRUE>: +# TEMPLATE = "app" + +## Scopes: +##################################################################### + +qt_extend_target(tst_qblendedclipanimator CONDITION QT_FEATURE_private_tests + SOURCES + ../../core/common/qbackendnodetester.cpp ../../core/common/qbackendnodetester.h + ../../core/common/testarbiter.h +) diff --git a/tests/auto/animation/qcallbackmapping/CMakeLists.txt b/tests/auto/animation/qcallbackmapping/CMakeLists.txt new file mode 100644 index 000000000..2b43dcdda --- /dev/null +++ b/tests/auto/animation/qcallbackmapping/CMakeLists.txt @@ -0,0 +1,31 @@ +# Generated from qcallbackmapping.pro. + +##################################################################### +## tst_qcallbackmapping Test: +##################################################################### + +qt_add_test(tst_qcallbackmapping + SOURCES + tst_qcallbackmapping.cpp + INCLUDE_DIRECTORIES + ../../core/common + PUBLIC_LIBRARIES + 3DAnimation + 3DAnimationPrivate + Qt::3DCore + Qt::3DCorePrivate + Qt::CorePrivate + Qt::Gui +) + +#### Keys ignored in scope 1:.:.:qcallbackmapping.pro:<TRUE>: +# TEMPLATE = "app" + +## Scopes: +##################################################################### + +qt_extend_target(tst_qcallbackmapping CONDITION QT_FEATURE_private_tests + SOURCES + ../../core/common/qbackendnodetester.cpp ../../core/common/qbackendnodetester.h + ../../core/common/testarbiter.h +) diff --git a/tests/auto/animation/qchannelmapper/CMakeLists.txt b/tests/auto/animation/qchannelmapper/CMakeLists.txt new file mode 100644 index 000000000..c4b430d48 --- /dev/null +++ b/tests/auto/animation/qchannelmapper/CMakeLists.txt @@ -0,0 +1,31 @@ +# Generated from qchannelmapper.pro. + +##################################################################### +## tst_qchannelmapper Test: +##################################################################### + +qt_add_test(tst_qchannelmapper + SOURCES + tst_qchannelmapper.cpp + INCLUDE_DIRECTORIES + ../../core/common + PUBLIC_LIBRARIES + 3DAnimation + 3DAnimationPrivate + Qt::3DCore + Qt::3DCorePrivate + Qt::CorePrivate + Qt::Gui +) + +#### Keys ignored in scope 1:.:.:qchannelmapper.pro:<TRUE>: +# TEMPLATE = "app" + +## Scopes: +##################################################################### + +qt_extend_target(tst_qchannelmapper CONDITION QT_FEATURE_private_tests + SOURCES + ../../core/common/qbackendnodetester.cpp ../../core/common/qbackendnodetester.h + ../../core/common/testarbiter.h +) diff --git a/tests/auto/animation/qchannelmapping/CMakeLists.txt b/tests/auto/animation/qchannelmapping/CMakeLists.txt new file mode 100644 index 000000000..cb0293056 --- /dev/null +++ b/tests/auto/animation/qchannelmapping/CMakeLists.txt @@ -0,0 +1,31 @@ +# Generated from qchannelmapping.pro. + +##################################################################### +## tst_qchannelmapping Test: +##################################################################### + +qt_add_test(tst_qchannelmapping + SOURCES + tst_qchannelmapping.cpp + INCLUDE_DIRECTORIES + ../../core/common + PUBLIC_LIBRARIES + Qt::3DAnimation + Qt::3DAnimationPrivate + Qt::3DCore + Qt::3DCorePrivate + Qt::CorePrivate + Qt::Gui +) + +#### Keys ignored in scope 1:.:.:qchannelmapping.pro:<TRUE>: +# TEMPLATE = "app" + +## Scopes: +##################################################################### + +qt_extend_target(tst_qchannelmapping CONDITION QT_FEATURE_private_tests + SOURCES + ../../core/common/qbackendnodetester.cpp ../../core/common/qbackendnodetester.h + ../../core/common/testarbiter.h +) diff --git a/tests/auto/animation/qclipanimator/CMakeLists.txt b/tests/auto/animation/qclipanimator/CMakeLists.txt new file mode 100644 index 000000000..1bc3bed21 --- /dev/null +++ b/tests/auto/animation/qclipanimator/CMakeLists.txt @@ -0,0 +1,31 @@ +# Generated from qclipanimator.pro. + +##################################################################### +## tst_qclipanimator Test: +##################################################################### + +qt_add_test(tst_qclipanimator + SOURCES + tst_qclipanimator.cpp + INCLUDE_DIRECTORIES + ../../core/common + PUBLIC_LIBRARIES + 3DAnimation + 3DAnimationPrivate + Qt::3DCore + Qt::3DCorePrivate + Qt::CorePrivate + Qt::Gui +) + +#### Keys ignored in scope 1:.:.:qclipanimator.pro:<TRUE>: +# TEMPLATE = "app" + +## Scopes: +##################################################################### + +qt_extend_target(tst_qclipanimator CONDITION QT_FEATURE_private_tests + SOURCES + ../../core/common/qbackendnodetester.cpp ../../core/common/qbackendnodetester.h + ../../core/common/testarbiter.h +) diff --git a/tests/auto/animation/qclipblendvalue/CMakeLists.txt b/tests/auto/animation/qclipblendvalue/CMakeLists.txt new file mode 100644 index 000000000..060f49d3c --- /dev/null +++ b/tests/auto/animation/qclipblendvalue/CMakeLists.txt @@ -0,0 +1,31 @@ +# Generated from qclipblendvalue.pro. + +##################################################################### +## tst_qclipblendvalue Test: +##################################################################### + +qt_add_test(tst_qclipblendvalue + SOURCES + tst_qclipblendvalue.cpp + INCLUDE_DIRECTORIES + ../../core/common + PUBLIC_LIBRARIES + 3DAnimation + 3DAnimationPrivate + Qt::3DCore + Qt::3DCorePrivate + Qt::CorePrivate + Qt::Gui +) + +#### Keys ignored in scope 1:.:.:qclipblendvalue.pro:<TRUE>: +# TEMPLATE = "app" + +## Scopes: +##################################################################### + +qt_extend_target(tst_qclipblendvalue CONDITION QT_FEATURE_private_tests + SOURCES + ../../core/common/qbackendnodetester.cpp ../../core/common/qbackendnodetester.h + ../../core/common/testarbiter.h +) diff --git a/tests/auto/animation/qclock/CMakeLists.txt b/tests/auto/animation/qclock/CMakeLists.txt new file mode 100644 index 000000000..d0792e577 --- /dev/null +++ b/tests/auto/animation/qclock/CMakeLists.txt @@ -0,0 +1,31 @@ +# Generated from qclock.pro. + +##################################################################### +## tst_qclock Test: +##################################################################### + +qt_add_test(tst_qclock + SOURCES + tst_qclock.cpp + INCLUDE_DIRECTORIES + ../../core/common + PUBLIC_LIBRARIES + 3DAnimation + 3DAnimationPrivate + Qt::3DCore + Qt::3DCorePrivate + Qt::CorePrivate + Qt::Gui +) + +#### Keys ignored in scope 1:.:.:qclock.pro:<TRUE>: +# TEMPLATE = "app" + +## Scopes: +##################################################################### + +qt_extend_target(tst_qclock CONDITION QT_FEATURE_private_tests + SOURCES + ../../core/common/qbackendnodetester.cpp ../../core/common/qbackendnodetester.h + ../../core/common/testarbiter.h +) diff --git a/tests/auto/animation/qkeyframeanimation/CMakeLists.txt b/tests/auto/animation/qkeyframeanimation/CMakeLists.txt new file mode 100644 index 000000000..2037c8c99 --- /dev/null +++ b/tests/auto/animation/qkeyframeanimation/CMakeLists.txt @@ -0,0 +1,20 @@ +# Generated from qkeyframeanimation.pro. + +##################################################################### +## tst_qkeyframeanimation Test: +##################################################################### + +qt_add_test(tst_qkeyframeanimation + SOURCES + tst_qkeyframeanimation.cpp + PUBLIC_LIBRARIES + 3DAnimation + Qt::3DCore + Qt::3DCorePrivate + Qt::3DRender + Qt::3DRenderPrivate + Qt::Gui +) + +#### Keys ignored in scope 1:.:.:qkeyframeanimation.pro:<TRUE>: +# TEMPLATE = "app" diff --git a/tests/auto/animation/qlerpclipblend/CMakeLists.txt b/tests/auto/animation/qlerpclipblend/CMakeLists.txt new file mode 100644 index 000000000..1fc5a0585 --- /dev/null +++ b/tests/auto/animation/qlerpclipblend/CMakeLists.txt @@ -0,0 +1,31 @@ +# Generated from qlerpclipblend.pro. + +##################################################################### +## tst_qlerpclipblend Test: +##################################################################### + +qt_add_test(tst_qlerpclipblend + SOURCES + tst_qlerpclipblend.cpp + INCLUDE_DIRECTORIES + ../../core/common + PUBLIC_LIBRARIES + Qt::3DAnimation + Qt::3DAnimationPrivate + Qt::3DCore + Qt::3DCorePrivate + Qt::CorePrivate + Qt::Gui +) + +#### Keys ignored in scope 1:.:.:qlerpclipblend.pro:<TRUE>: +# TEMPLATE = "app" + +## Scopes: +##################################################################### + +qt_extend_target(tst_qlerpclipblend CONDITION QT_FEATURE_private_tests + SOURCES + ../../core/common/qbackendnodetester.cpp ../../core/common/qbackendnodetester.h + ../../core/common/testarbiter.h +) diff --git a/tests/auto/animation/qmorphinganimation/CMakeLists.txt b/tests/auto/animation/qmorphinganimation/CMakeLists.txt new file mode 100644 index 000000000..32078c8b9 --- /dev/null +++ b/tests/auto/animation/qmorphinganimation/CMakeLists.txt @@ -0,0 +1,20 @@ +# Generated from qmorphinganimation.pro. + +##################################################################### +## tst_qmorphinganimation Test: +##################################################################### + +qt_add_test(tst_qmorphinganimation + SOURCES + tst_qmorphinganimation.cpp + PUBLIC_LIBRARIES + 3DAnimation + Qt::3DCore + Qt::3DCorePrivate + Qt::3DRender + Qt::3DRenderPrivate + Qt::Gui +) + +#### Keys ignored in scope 1:.:.:qmorphinganimation.pro:<TRUE>: +# TEMPLATE = "app" diff --git a/tests/auto/animation/qmorphtarget/CMakeLists.txt b/tests/auto/animation/qmorphtarget/CMakeLists.txt new file mode 100644 index 000000000..dc8c452f2 --- /dev/null +++ b/tests/auto/animation/qmorphtarget/CMakeLists.txt @@ -0,0 +1,20 @@ +# Generated from qmorphtarget.pro. + +##################################################################### +## tst_qmorphtarget Test: +##################################################################### + +qt_add_test(tst_qmorphtarget + SOURCES + tst_qmorphtarget.cpp + PUBLIC_LIBRARIES + 3DAnimation + Qt::3DCore + Qt::3DCorePrivate + Qt::3DRender + Qt::3DRenderPrivate + Qt::Gui +) + +#### Keys ignored in scope 1:.:.:qmorphtarget.pro:<TRUE>: +# TEMPLATE = "app" diff --git a/tests/auto/animation/qskeletonmapping/CMakeLists.txt b/tests/auto/animation/qskeletonmapping/CMakeLists.txt new file mode 100644 index 000000000..23687dfdd --- /dev/null +++ b/tests/auto/animation/qskeletonmapping/CMakeLists.txt @@ -0,0 +1,31 @@ +# Generated from qskeletonmapping.pro. + +##################################################################### +## tst_qskeletonmapping Test: +##################################################################### + +qt_add_test(tst_qskeletonmapping + SOURCES + tst_qskeletonmapping.cpp + INCLUDE_DIRECTORIES + ../../core/common + PUBLIC_LIBRARIES + 3DAnimation + 3DAnimationPrivate + Qt::3DCore + Qt::3DCorePrivate + Qt::CorePrivate + Qt::Gui +) + +#### Keys ignored in scope 1:.:.:qskeletonmapping.pro:<TRUE>: +# TEMPLATE = "app" + +## Scopes: +##################################################################### + +qt_extend_target(tst_qskeletonmapping CONDITION QT_FEATURE_private_tests + SOURCES + ../../core/common/qbackendnodetester.cpp ../../core/common/qbackendnodetester.h + ../../core/common/testarbiter.h +) diff --git a/tests/auto/animation/qvertexblendanimation/CMakeLists.txt b/tests/auto/animation/qvertexblendanimation/CMakeLists.txt new file mode 100644 index 000000000..03fd65987 --- /dev/null +++ b/tests/auto/animation/qvertexblendanimation/CMakeLists.txt @@ -0,0 +1,20 @@ +# Generated from qvertexblendanimation.pro. + +##################################################################### +## tst_qvertexblendanimation Test: +##################################################################### + +qt_add_test(tst_qvertexblendanimation + SOURCES + tst_qvertexblendanimation.cpp + PUBLIC_LIBRARIES + 3DAnimation + Qt::3DCore + Qt::3DCorePrivate + Qt::3DRender + Qt::3DRenderPrivate + Qt::Gui +) + +#### Keys ignored in scope 1:.:.:qvertexblendanimation.pro:<TRUE>: +# TEMPLATE = "app" diff --git a/tests/auto/animation/skeleton/CMakeLists.txt b/tests/auto/animation/skeleton/CMakeLists.txt new file mode 100644 index 000000000..29c7ab7e3 --- /dev/null +++ b/tests/auto/animation/skeleton/CMakeLists.txt @@ -0,0 +1,31 @@ +# Generated from skeleton.pro. + +##################################################################### +## tst_skeleton Test: +##################################################################### + +qt_add_test(tst_skeleton + SOURCES + tst_skeleton.cpp + INCLUDE_DIRECTORIES + ../../core/common + PUBLIC_LIBRARIES + Qt::3DAnimation + Qt::3DAnimationPrivate + Qt::3DCore + Qt::3DCorePrivate + Qt::CorePrivate + Qt::Gui +) + +#### Keys ignored in scope 1:.:.:skeleton.pro:<TRUE>: +# TEMPLATE = "app" + +## Scopes: +##################################################################### + +qt_extend_target(tst_skeleton CONDITION QT_FEATURE_private_tests + SOURCES + ../../core/common/qbackendnodetester.cpp ../../core/common/qbackendnodetester.h + ../../core/common/testarbiter.h +) diff --git a/tests/auto/core/CMakeLists.txt b/tests/auto/core/CMakeLists.txt new file mode 100644 index 000000000..b5e65e8ff --- /dev/null +++ b/tests/auto/core/CMakeLists.txt @@ -0,0 +1,32 @@ +# Generated from core.pro. + +add_subdirectory(handle) +add_subdirectory(qresourcemanager) +add_subdirectory(nodes) +add_subdirectory(qaspectengine) +add_subdirectory(qaspectfactory) +add_subdirectory(qaspectjob) +add_subdirectory(qchangearbiter) +add_subdirectory(qscene) +add_subdirectory(qservicelocator) +add_subdirectory(qjoint) +add_subdirectory(qskeletonloader) +add_subdirectory(qskeleton) +add_subdirectory(qarmature) +if(QT_FEATURE_private_tests) + add_subdirectory(qentity) + add_subdirectory(qtransform) + add_subdirectory(threadpooler) + add_subdirectory(vector4d_base) + add_subdirectory(vector3d_base) + add_subdirectory(aspectcommanddebugger) + add_subdirectory(qscheduler) +endif() +if(QT_FEATURE_private_tests AND QT_FEATURE_qt3d_simd_sse2) + add_subdirectory(vector4d_sse) + add_subdirectory(vector3d_sse) + add_subdirectory(matrix4x4_sse) +endif() +if(QT_FEATURE_private_tests AND QT_FEATURE_qt3d_simd_avx2) + add_subdirectory(matrix4x4_avx2) +endif() diff --git a/tests/auto/core/aspectcommanddebugger/CMakeLists.txt b/tests/auto/core/aspectcommanddebugger/CMakeLists.txt new file mode 100644 index 000000000..08ad70bf7 --- /dev/null +++ b/tests/auto/core/aspectcommanddebugger/CMakeLists.txt @@ -0,0 +1,18 @@ +# Generated from aspectcommanddebugger.pro. + +##################################################################### +## tst_aspectcommandddebugger Test: +##################################################################### + +qt_add_test(tst_aspectcommandddebugger + SOURCES + tst_aspectcommanddebugger.cpp + PUBLIC_LIBRARIES + Qt::3DCore + Qt::3DCorePrivate + Qt::CorePrivate + Qt::Gui +) + +#### Keys ignored in scope 1:.:.:aspectcommanddebugger.pro:<TRUE>: +# TEMPLATE = "app" diff --git a/tests/auto/core/common/common.cmake b/tests/auto/core/common/common.cmake new file mode 100644 index 000000000..43857a65f --- /dev/null +++ b/tests/auto/core/common/common.cmake @@ -0,0 +1,11 @@ +function(qt3d_setup_common_test target) + set(commonDir ${PROJECT_SOURCE_DIR}/tests/auto/core/common) + target_sources(${target} PRIVATE ${commonDir}/qbackendnodetester.h ${commonDir}/qbackendnodetester.cpp) + target_include_directories(${target} PRIVATE ${commonDir}) + +# qt_extend_target(${target} CONDITION QT_FEATURE_private_tests +# SOURCES +# ${commonDir}/qbackendnodetester.cpp ${commonDir}/qbackendnodetester.h +# ${commonDir}/testarbiter.h +# ) +endfunction() diff --git a/tests/auto/core/handle/CMakeLists.txt b/tests/auto/core/handle/CMakeLists.txt new file mode 100644 index 000000000..69f45aad9 --- /dev/null +++ b/tests/auto/core/handle/CMakeLists.txt @@ -0,0 +1,17 @@ +# Generated from handle.pro. + +##################################################################### +## tst_handle Test: +##################################################################### + +qt_add_test(tst_handle + SOURCES + tst_handle.cpp + PUBLIC_LIBRARIES + Qt::3DCore + Qt::3DCorePrivate + Qt::Gui +) + +#### Keys ignored in scope 1:.:.:handle.pro:<TRUE>: +# TEMPLATE = "app" diff --git a/tests/auto/core/matrix4x4_avx2/CMakeLists.txt b/tests/auto/core/matrix4x4_avx2/CMakeLists.txt new file mode 100644 index 000000000..648967283 --- /dev/null +++ b/tests/auto/core/matrix4x4_avx2/CMakeLists.txt @@ -0,0 +1,15 @@ +# Generated from matrix4x4_avx2.pro. + +##################################################################### +## tst_matrix4x4_avx2 Test: +##################################################################### + +qt_add_test(tst_matrix4x4_avx2 + SOURCES + tst_matrix4x4_avx2.cpp + PUBLIC_LIBRARIES + Qt::3DCore + Qt::3DCorePrivate + Qt::3DRenderPrivate + Qt::Gui +) diff --git a/tests/auto/core/matrix4x4_sse/CMakeLists.txt b/tests/auto/core/matrix4x4_sse/CMakeLists.txt new file mode 100644 index 000000000..8d28bd22c --- /dev/null +++ b/tests/auto/core/matrix4x4_sse/CMakeLists.txt @@ -0,0 +1,14 @@ +# Generated from matrix4x4_sse.pro. + +##################################################################### +## tst_matrix4x4_sse Test: +##################################################################### + +qt_add_test(tst_matrix4x4_sse + SOURCES + tst_matrix4x4_sse.cpp + PUBLIC_LIBRARIES + Qt::3DCore + Qt::3DCorePrivate + Qt::Gui +) diff --git a/tests/auto/core/nodes/CMakeLists.txt b/tests/auto/core/nodes/CMakeLists.txt new file mode 100644 index 000000000..56d375359 --- /dev/null +++ b/tests/auto/core/nodes/CMakeLists.txt @@ -0,0 +1,29 @@ +# Generated from nodes.pro. + +##################################################################### +## tst_nodes Test: +##################################################################### + +qt_add_test(tst_nodes + SOURCES + tst_nodes.cpp + INCLUDE_DIRECTORIES + ../common + PUBLIC_LIBRARIES + Qt::3DCore + Qt::3DCorePrivate + Qt::CorePrivate + Qt::Gui +) + +#### Keys ignored in scope 1:.:.:nodes.pro:<TRUE>: +# TEMPLATE = "app" + +## Scopes: +##################################################################### + +qt_extend_target(tst_nodes CONDITION QT_FEATURE_private_tests + SOURCES + ../common/qbackendnodetester.cpp ../common/qbackendnodetester.h + ../common/testarbiter.h +) diff --git a/tests/auto/core/qarmature/CMakeLists.txt b/tests/auto/core/qarmature/CMakeLists.txt new file mode 100644 index 000000000..aa1989553 --- /dev/null +++ b/tests/auto/core/qarmature/CMakeLists.txt @@ -0,0 +1,29 @@ +# Generated from qarmature.pro. + +##################################################################### +## tst_qarmature Test: +##################################################################### + +qt_add_test(tst_qarmature + SOURCES + tst_qarmature.cpp + INCLUDE_DIRECTORIES + ../common + PUBLIC_LIBRARIES + Qt::3DCore + Qt::3DCorePrivate + Qt::CorePrivate + Qt::Gui +) + +#### Keys ignored in scope 1:.:.:qarmature.pro:<TRUE>: +# TEMPLATE = "app" + +## Scopes: +##################################################################### + +qt_extend_target(tst_qarmature CONDITION QT_FEATURE_private_tests + SOURCES + ../common/qbackendnodetester.cpp ../common/qbackendnodetester.h + ../common/testarbiter.h +) diff --git a/tests/auto/core/qaspectengine/CMakeLists.txt b/tests/auto/core/qaspectengine/CMakeLists.txt new file mode 100644 index 000000000..3ca3a576a --- /dev/null +++ b/tests/auto/core/qaspectengine/CMakeLists.txt @@ -0,0 +1,16 @@ +# Generated from qaspectengine.pro. + +##################################################################### +## tst_qaspectengine Test: +##################################################################### + +qt_add_test(tst_qaspectengine + SOURCES + tst_qaspectengine.cpp + PUBLIC_LIBRARIES + Qt::3DCore + Qt::Gui +) + +#### Keys ignored in scope 1:.:.:qaspectengine.pro:<TRUE>: +# TEMPLATE = "app" diff --git a/tests/auto/core/qaspectfactory/CMakeLists.txt b/tests/auto/core/qaspectfactory/CMakeLists.txt new file mode 100644 index 000000000..b85033cb1 --- /dev/null +++ b/tests/auto/core/qaspectfactory/CMakeLists.txt @@ -0,0 +1,17 @@ +# Generated from qaspectfactory.pro. + +##################################################################### +## tst_qaspectfactory Test: +##################################################################### + +qt_add_test(tst_qaspectfactory + SOURCES + tst_qaspectfactory.cpp + PUBLIC_LIBRARIES + Qt::3DCore + Qt::3DCorePrivate + Qt::Gui +) + +#### Keys ignored in scope 1:.:.:qaspectfactory.pro:<TRUE>: +# TEMPLATE = "app" diff --git a/tests/auto/core/qaspectjob/CMakeLists.txt b/tests/auto/core/qaspectjob/CMakeLists.txt new file mode 100644 index 000000000..5ea02f88e --- /dev/null +++ b/tests/auto/core/qaspectjob/CMakeLists.txt @@ -0,0 +1,16 @@ +# Generated from qaspectjob.pro. + +##################################################################### +## tst_qaspectjob Test: +##################################################################### + +qt_add_test(tst_qaspectjob + SOURCES + tst_qaspectjob.cpp + PUBLIC_LIBRARIES + Qt::3DCore + Qt::Gui +) + +#### Keys ignored in scope 1:.:.:qaspectjob.pro:<TRUE>: +# TEMPLATE = "app" diff --git a/tests/auto/core/qchangearbiter/CMakeLists.txt b/tests/auto/core/qchangearbiter/CMakeLists.txt new file mode 100644 index 000000000..ba4569dd2 --- /dev/null +++ b/tests/auto/core/qchangearbiter/CMakeLists.txt @@ -0,0 +1,29 @@ +# Generated from qchangearbiter.pro. + +##################################################################### +## tst_qchangearbiter Test: +##################################################################### + +qt_add_test(tst_qchangearbiter + SOURCES + tst_qchangearbiter.cpp + INCLUDE_DIRECTORIES + ../common + PUBLIC_LIBRARIES + Qt::3DCore + Qt::3DCorePrivate + Qt::CorePrivate + Qt::Gui +) + +#### Keys ignored in scope 1:.:.:qchangearbiter.pro:<TRUE>: +# TEMPLATE = "app" + +## Scopes: +##################################################################### + +qt_extend_target(tst_qchangearbiter CONDITION QT_FEATURE_private_tests + SOURCES + ../common/qbackendnodetester.cpp ../common/qbackendnodetester.h + ../common/testarbiter.h +) diff --git a/tests/auto/core/qentity/CMakeLists.txt b/tests/auto/core/qentity/CMakeLists.txt new file mode 100644 index 000000000..e3a3c39b3 --- /dev/null +++ b/tests/auto/core/qentity/CMakeLists.txt @@ -0,0 +1,18 @@ +# Generated from qentity.pro. + +##################################################################### +## tst_qentity Test: +##################################################################### + +qt_add_test(tst_qentity + SOURCES + tst_qentity.cpp + PUBLIC_LIBRARIES + Qt::3DCore + Qt::3DCorePrivate + Qt::CorePrivate + Qt::Gui +) + +#### Keys ignored in scope 1:.:.:qentity.pro:<TRUE>: +# TEMPLATE = "app" diff --git a/tests/auto/core/qjoint/CMakeLists.txt b/tests/auto/core/qjoint/CMakeLists.txt new file mode 100644 index 000000000..c3b3b7195 --- /dev/null +++ b/tests/auto/core/qjoint/CMakeLists.txt @@ -0,0 +1,29 @@ +# Generated from qjoint.pro. + +##################################################################### +## tst_qjoint Test: +##################################################################### + +qt_add_test(tst_qjoint + SOURCES + tst_qjoint.cpp + INCLUDE_DIRECTORIES + ../common + PUBLIC_LIBRARIES + Qt::3DCore + Qt::3DCorePrivate + Qt::CorePrivate + Qt::Gui +) + +#### Keys ignored in scope 1:.:.:qjoint.pro:<TRUE>: +# TEMPLATE = "app" + +## Scopes: +##################################################################### + +qt_extend_target(tst_qjoint CONDITION QT_FEATURE_private_tests + SOURCES + ../common/qbackendnodetester.cpp ../common/qbackendnodetester.h + ../common/testarbiter.h +) diff --git a/tests/auto/core/qresourcemanager/CMakeLists.txt b/tests/auto/core/qresourcemanager/CMakeLists.txt new file mode 100644 index 000000000..9fbc1c622 --- /dev/null +++ b/tests/auto/core/qresourcemanager/CMakeLists.txt @@ -0,0 +1,17 @@ +# Generated from qresourcemanager.pro. + +##################################################################### +## tst_qresourcemanager Test: +##################################################################### + +qt_add_test(tst_qresourcemanager + SOURCES + tst_qresourcemanager.cpp + PUBLIC_LIBRARIES + Qt::3DCore + Qt::3DCorePrivate + Qt::Gui +) + +#### Keys ignored in scope 1:.:.:qresourcemanager.pro:<TRUE>: +# TEMPLATE = "app" diff --git a/tests/auto/core/qresourcemanager/tst_qresourcemanager.cpp b/tests/auto/core/qresourcemanager/tst_qresourcemanager.cpp index 197f4fb71..d95586664 100644 --- a/tests/auto/core/qresourcemanager/tst_qresourcemanager.cpp +++ b/tests/auto/core/qresourcemanager/tst_qresourcemanager.cpp @@ -434,13 +434,13 @@ void tst_QResourceManager::checkCleanup() data->m_value.ref(); // THEN - QCOMPARE(data->m_value.load(), 1); + QCOMPARE(data->m_value.loadRelaxed(), 1); // WHEN manager.release(newHandle); // THEN - QCOMPARE(data->m_value.load(), 0); + QCOMPARE(data->m_value.loadRelaxed(), 0); } diff --git a/tests/auto/core/qscene/CMakeLists.txt b/tests/auto/core/qscene/CMakeLists.txt new file mode 100644 index 000000000..581d5705d --- /dev/null +++ b/tests/auto/core/qscene/CMakeLists.txt @@ -0,0 +1,29 @@ +# Generated from qscene.pro. + +##################################################################### +## tst_qscene Test: +##################################################################### + +qt_add_test(tst_qscene + SOURCES + tst_qscene.cpp + INCLUDE_DIRECTORIES + ../common + PUBLIC_LIBRARIES + Qt::3DCore + Qt::3DCorePrivate + Qt::CorePrivate + Qt::Gui +) + +#### Keys ignored in scope 1:.:.:qscene.pro:<TRUE>: +# TEMPLATE = "app" + +## Scopes: +##################################################################### + +qt_extend_target(tst_qscene CONDITION QT_FEATURE_private_tests + SOURCES + ../common/qbackendnodetester.cpp ../common/qbackendnodetester.h + ../common/testarbiter.h +) diff --git a/tests/auto/core/qscheduler/CMakeLists.txt b/tests/auto/core/qscheduler/CMakeLists.txt new file mode 100644 index 000000000..7447a8026 --- /dev/null +++ b/tests/auto/core/qscheduler/CMakeLists.txt @@ -0,0 +1,17 @@ +# Generated from qscheduler.pro. + +##################################################################### +## tst_qscheduler Test: +##################################################################### + +qt_add_test(tst_qscheduler + SOURCES + tst_qscheduler.cpp + PUBLIC_LIBRARIES + Qt::3DCore + Qt::3DCorePrivate + Qt::Gui +) + +#### Keys ignored in scope 1:.:.:qscheduler.pro:<TRUE>: +# TEMPLATE = "app" diff --git a/tests/auto/core/qservicelocator/CMakeLists.txt b/tests/auto/core/qservicelocator/CMakeLists.txt new file mode 100644 index 000000000..71d48d335 --- /dev/null +++ b/tests/auto/core/qservicelocator/CMakeLists.txt @@ -0,0 +1,17 @@ +# Generated from qservicelocator.pro. + +##################################################################### +## tst_qservicelocator Test: +##################################################################### + +qt_add_test(tst_qservicelocator + SOURCES + tst_qservicelocator.cpp + PUBLIC_LIBRARIES + Qt::3DCore + Qt::3DCorePrivate + Qt::Gui +) + +#### Keys ignored in scope 1:.:.:qservicelocator.pro:<TRUE>: +# TEMPLATE = "app" diff --git a/tests/auto/core/qskeleton/CMakeLists.txt b/tests/auto/core/qskeleton/CMakeLists.txt new file mode 100644 index 000000000..941c91c6c --- /dev/null +++ b/tests/auto/core/qskeleton/CMakeLists.txt @@ -0,0 +1,29 @@ +# Generated from qskeleton.pro. + +##################################################################### +## tst_qskeleton Test: +##################################################################### + +qt_add_test(tst_qskeleton + SOURCES + tst_qskeleton.cpp + INCLUDE_DIRECTORIES + ../common + PUBLIC_LIBRARIES + Qt::3DCore + Qt::3DCorePrivate + Qt::CorePrivate + Qt::Gui +) + +#### Keys ignored in scope 1:.:.:qskeleton.pro:<TRUE>: +# TEMPLATE = "app" + +## Scopes: +##################################################################### + +qt_extend_target(tst_qskeleton CONDITION QT_FEATURE_private_tests + SOURCES + ../common/qbackendnodetester.cpp ../common/qbackendnodetester.h + ../common/testarbiter.h +) diff --git a/tests/auto/core/qskeletonloader/CMakeLists.txt b/tests/auto/core/qskeletonloader/CMakeLists.txt new file mode 100644 index 000000000..e044349c5 --- /dev/null +++ b/tests/auto/core/qskeletonloader/CMakeLists.txt @@ -0,0 +1,29 @@ +# Generated from qskeletonloader.pro. + +##################################################################### +## tst_qskeletonloader Test: +##################################################################### + +qt_add_test(tst_qskeletonloader + SOURCES + tst_qskeletonloader.cpp + INCLUDE_DIRECTORIES + ../common + PUBLIC_LIBRARIES + Qt::3DCore + Qt::3DCorePrivate + Qt::CorePrivate + Qt::Gui +) + +#### Keys ignored in scope 1:.:.:qskeletonloader.pro:<TRUE>: +# TEMPLATE = "app" + +## Scopes: +##################################################################### + +qt_extend_target(tst_qskeletonloader CONDITION QT_FEATURE_private_tests + SOURCES + ../common/qbackendnodetester.cpp ../common/qbackendnodetester.h + ../common/testarbiter.h +) diff --git a/tests/auto/core/qtransform/CMakeLists.txt b/tests/auto/core/qtransform/CMakeLists.txt new file mode 100644 index 000000000..7a8d9441e --- /dev/null +++ b/tests/auto/core/qtransform/CMakeLists.txt @@ -0,0 +1,29 @@ +# Generated from qtransform.pro. + +##################################################################### +## tst_qtransform Test: +##################################################################### + +qt_add_test(tst_qtransform + SOURCES + tst_qtransform.cpp + INCLUDE_DIRECTORIES + ../common + PUBLIC_LIBRARIES + Qt::3DCore + Qt::3DCorePrivate + Qt::CorePrivate + Qt::Gui +) + +#### Keys ignored in scope 1:.:.:qtransform.pro:<TRUE>: +# TEMPLATE = "app" + +## Scopes: +##################################################################### + +qt_extend_target(tst_qtransform CONDITION QT_FEATURE_private_tests + SOURCES + ../common/qbackendnodetester.cpp ../common/qbackendnodetester.h + ../common/testarbiter.h +) diff --git a/tests/auto/core/threadpooler/CMakeLists.txt b/tests/auto/core/threadpooler/CMakeLists.txt new file mode 100644 index 000000000..d09ef8795 --- /dev/null +++ b/tests/auto/core/threadpooler/CMakeLists.txt @@ -0,0 +1,17 @@ +# Generated from threadpooler.pro. + +##################################################################### +## tst_threadpooler Test: +##################################################################### + +qt_add_test(tst_threadpooler + SOURCES + tst_threadpooler.cpp + PUBLIC_LIBRARIES + Qt::3DCore + Qt::3DCorePrivate + Qt::Gui +) + +#### Keys ignored in scope 1:.:.:threadpooler.pro:<TRUE>: +# TEMPLATE = "app" diff --git a/tests/auto/core/vector3d_base/CMakeLists.txt b/tests/auto/core/vector3d_base/CMakeLists.txt new file mode 100644 index 000000000..83bddc490 --- /dev/null +++ b/tests/auto/core/vector3d_base/CMakeLists.txt @@ -0,0 +1,14 @@ +# Generated from vector3d_base.pro. + +##################################################################### +## tst_vector3d_base Test: +##################################################################### + +qt_add_test(tst_vector3d_base + SOURCES + tst_vector3d_base.cpp + PUBLIC_LIBRARIES + Qt::3DCore + Qt::3DCorePrivate + Qt::Gui +) diff --git a/tests/auto/core/vector3d_sse/CMakeLists.txt b/tests/auto/core/vector3d_sse/CMakeLists.txt new file mode 100644 index 000000000..30818d073 --- /dev/null +++ b/tests/auto/core/vector3d_sse/CMakeLists.txt @@ -0,0 +1,14 @@ +# Generated from vector3d_sse.pro. + +##################################################################### +## tst_vector3d_sse Test: +##################################################################### + +qt_add_test(tst_vector3d_sse + SOURCES + tst_vector3d_sse.cpp + PUBLIC_LIBRARIES + Qt::3DCore + Qt::3DCorePrivate + Qt::Gui +) diff --git a/tests/auto/core/vector4d_base/CMakeLists.txt b/tests/auto/core/vector4d_base/CMakeLists.txt new file mode 100644 index 000000000..3b514814a --- /dev/null +++ b/tests/auto/core/vector4d_base/CMakeLists.txt @@ -0,0 +1,14 @@ +# Generated from vector4d_base.pro. + +##################################################################### +## tst_vector4d_base Test: +##################################################################### + +qt_add_test(tst_vector4d_base + SOURCES + tst_vector4d_base.cpp + PUBLIC_LIBRARIES + Qt::3DCore + Qt::3DCorePrivate + Qt::Gui +) diff --git a/tests/auto/core/vector4d_sse/CMakeLists.txt b/tests/auto/core/vector4d_sse/CMakeLists.txt new file mode 100644 index 000000000..92efad8c3 --- /dev/null +++ b/tests/auto/core/vector4d_sse/CMakeLists.txt @@ -0,0 +1,14 @@ +# Generated from vector4d_sse.pro. + +##################################################################### +## tst_vector4d_sse Test: +##################################################################### + +qt_add_test(tst_vector4d_sse + SOURCES + tst_vector4d_sse.cpp + PUBLIC_LIBRARIES + Qt::3DCore + Qt::3DCorePrivate + Qt::Gui +) diff --git a/tests/auto/extras/CMakeLists.txt b/tests/auto/extras/CMakeLists.txt new file mode 100644 index 000000000..5f2ec1b51 --- /dev/null +++ b/tests/auto/extras/CMakeLists.txt @@ -0,0 +1,12 @@ +# Generated from extras.pro. + +if(QT_CONFIG___contains___private_tests) + add_subdirectory(qcuboidgeometry) + add_subdirectory(qtorusgeometry) + add_subdirectory(qforwardrenderer) + add_subdirectory(qfirstpersoncameracontroller) + add_subdirectory(qorbitcameracontroller) +endif() +if(TARGET Qt::Quick) + add_subdirectory(qtext2dentity) +endif() diff --git a/tests/auto/extras/qcuboidgeometry/CMakeLists.txt b/tests/auto/extras/qcuboidgeometry/CMakeLists.txt new file mode 100644 index 000000000..97ceb833f --- /dev/null +++ b/tests/auto/extras/qcuboidgeometry/CMakeLists.txt @@ -0,0 +1,21 @@ +# Generated from qcuboidgeometry.pro. + +##################################################################### +## tst_qcuboidgeometry Test: +##################################################################### + +qt_add_test(tst_qcuboidgeometry + SOURCES + ../common/geometrytesthelper.h + tst_qcuboidgeometry.cpp + INCLUDE_DIRECTORIES + ../common + PUBLIC_LIBRARIES + Qt::3DExtras + Qt::3DRender + Qt::CorePrivate + Qt::Gui +) + +#### Keys ignored in scope 1:.:.:qcuboidgeometry.pro:<TRUE>: +# TEMPLATE = "app" diff --git a/tests/auto/extras/qfirstpersoncameracontroller/CMakeLists.txt b/tests/auto/extras/qfirstpersoncameracontroller/CMakeLists.txt new file mode 100644 index 000000000..59c0f5711 --- /dev/null +++ b/tests/auto/extras/qfirstpersoncameracontroller/CMakeLists.txt @@ -0,0 +1,20 @@ +# Generated from qfirstpersoncameracontroller.pro. + +##################################################################### +## tst_qfirstpersoncameracontroller Test: +##################################################################### + +qt_add_test(tst_qfirstpersoncameracontroller + SOURCES + tst_qfirstpersoncameracontroller.cpp + PUBLIC_LIBRARIES + Qt::3DCore + Qt::3DCorePrivate + Qt::3DExtras + Qt::3DRender + Qt::3DRenderPrivate + Qt::Gui +) + +#### Keys ignored in scope 1:.:.:qfirstpersoncameracontroller.pro:<TRUE>: +# TEMPLATE = "app" diff --git a/tests/auto/extras/qforwardrenderer/CMakeLists.txt b/tests/auto/extras/qforwardrenderer/CMakeLists.txt new file mode 100644 index 000000000..4159c6709 --- /dev/null +++ b/tests/auto/extras/qforwardrenderer/CMakeLists.txt @@ -0,0 +1,20 @@ +# Generated from qforwardrenderer.pro. + +##################################################################### +## tst_qforwardrenderer Test: +##################################################################### + +qt_add_test(tst_qforwardrenderer + SOURCES + tst_qforwardrenderer.cpp + PUBLIC_LIBRARIES + Qt::3DCore + Qt::3DCorePrivate + Qt::3DExtras + Qt::3DRender + Qt::3DRenderPrivate + Qt::Gui +) + +#### Keys ignored in scope 1:.:.:qforwardrenderer.pro:<TRUE>: +# TEMPLATE = "app" diff --git a/tests/auto/extras/qorbitcameracontroller/CMakeLists.txt b/tests/auto/extras/qorbitcameracontroller/CMakeLists.txt new file mode 100644 index 000000000..d68541144 --- /dev/null +++ b/tests/auto/extras/qorbitcameracontroller/CMakeLists.txt @@ -0,0 +1,20 @@ +# Generated from qorbitcameracontroller.pro. + +##################################################################### +## tst_qorbitcameracontroller Test: +##################################################################### + +qt_add_test(tst_qorbitcameracontroller + SOURCES + tst_qorbitcameracontroller.cpp + PUBLIC_LIBRARIES + Qt::3DCore + Qt::3DCorePrivate + Qt::3DExtras + Qt::3DRender + Qt::3DRenderPrivate + Qt::Gui +) + +#### Keys ignored in scope 1:.:.:qorbitcameracontroller.pro:<TRUE>: +# TEMPLATE = "app" diff --git a/tests/auto/extras/qtext2dentity/CMakeLists.txt b/tests/auto/extras/qtext2dentity/CMakeLists.txt new file mode 100644 index 000000000..ebc3d628f --- /dev/null +++ b/tests/auto/extras/qtext2dentity/CMakeLists.txt @@ -0,0 +1,33 @@ +# Generated from qtext2dentity.pro. + +##################################################################### +## tst_qtext2dentity Test: +##################################################################### + +qt_add_test(tst_qtext2dentity + SOURCES + tst_qtext2dentity.cpp + PUBLIC_LIBRARIES + Qt::3DCore + Qt::3DCorePrivate + Qt::3DExtras + Qt::3DQuickExtras + Qt::Gui + Qt::Qml +) + +# Resources: +set(qtext2dentity_resource_files + "qtext2dentity.qml" +) + +qt_add_resource(tst_qtext2dentity "qtext2dentity" + PREFIX + "/" + FILES + ${qtext2dentity_resource_files} +) + + +#### Keys ignored in scope 1:.:.:qtext2dentity.pro:<TRUE>: +# TEMPLATE = "app" diff --git a/tests/auto/extras/qtorusgeometry/CMakeLists.txt b/tests/auto/extras/qtorusgeometry/CMakeLists.txt new file mode 100644 index 000000000..632f15fb7 --- /dev/null +++ b/tests/auto/extras/qtorusgeometry/CMakeLists.txt @@ -0,0 +1,21 @@ +# Generated from qtorusgeometry.pro. + +##################################################################### +## tst_qtorusgeometry Test: +##################################################################### + +qt_add_test(tst_qtorusgeometry + SOURCES + ../common/geometrytesthelper.h + tst_qtorusgeometry.cpp + INCLUDE_DIRECTORIES + ../common + PUBLIC_LIBRARIES + Qt::3DExtras + Qt::3DRender + Qt::CorePrivate + Qt::Gui +) + +#### Keys ignored in scope 1:.:.:qtorusgeometry.pro:<TRUE>: +# TEMPLATE = "app" diff --git a/tests/auto/geometryloaders/CMakeLists.txt b/tests/auto/geometryloaders/CMakeLists.txt new file mode 100644 index 000000000..df74bd804 --- /dev/null +++ b/tests/auto/geometryloaders/CMakeLists.txt @@ -0,0 +1,3 @@ +# Generated from geometryloaders.pro. + +add_subdirectory(objgeometryloader) diff --git a/tests/auto/geometryloaders/objgeometryloader/CMakeLists.txt b/tests/auto/geometryloaders/objgeometryloader/CMakeLists.txt new file mode 100644 index 000000000..1b6ecb5e7 --- /dev/null +++ b/tests/auto/geometryloaders/objgeometryloader/CMakeLists.txt @@ -0,0 +1,33 @@ +# Generated from objgeometryloader.pro. + +##################################################################### +## tst_objgeometryloader Test: +##################################################################### + +qt_add_test(tst_objgeometryloader + SOURCES + tst_objgeometryloader.cpp + PUBLIC_LIBRARIES + Qt::3DCore + Qt::3DCorePrivate + Qt::3DRender + Qt::3DRenderPrivate + Qt::Gui +) + +# Resources: +set(resources_resource_files + "invalid_vertex_position.obj" +) + +qt_add_resource(tst_objgeometryloader "resources" + PREFIX + "/" + FILES + ${resources_resource_files} +) + + +#### Keys ignored in scope 1:.:.:objgeometryloader.pro:<TRUE>: +# OTHER_FILES = "invalid_vertex_position.obj" +# TEMPLATE = "app" diff --git a/tests/auto/global/CMakeLists.txt b/tests/auto/global/CMakeLists.txt new file mode 100644 index 000000000..6aa56b331 --- /dev/null +++ b/tests/auto/global/CMakeLists.txt @@ -0,0 +1,5 @@ +# Generated from global.pro. + +if(QT_FEATURE_qt3d_extras AND QT_FEATURE_qt3d_input AND QT_FEATURE_qt3d_logic AND QT_FEATURE_qt3d_render) + add_subdirectory(aspects_startup_shutdown) +endif() diff --git a/tests/auto/global/aspects_startup_shutdown/CMakeLists.txt b/tests/auto/global/aspects_startup_shutdown/CMakeLists.txt new file mode 100644 index 000000000..4f6d20eac --- /dev/null +++ b/tests/auto/global/aspects_startup_shutdown/CMakeLists.txt @@ -0,0 +1,19 @@ +# Generated from aspects_startup_shutdown.pro. + +##################################################################### +## tst_aspects_startup_shutdown Test: +##################################################################### + +qt_add_test(tst_aspects_startup_shutdown + SOURCES + tst_aspects_startup_shutdown.cpp + PUBLIC_LIBRARIES + Qt::3DCore + Qt::3DExtras + Qt::3DInput + Qt::3DRender + Qt::Gui +) + +#### Keys ignored in scope 1:.:.:aspects_startup_shutdown.pro:<TRUE>: +# TEMPLATE = "app" diff --git a/tests/auto/input/CMakeLists.txt b/tests/auto/input/CMakeLists.txt new file mode 100644 index 000000000..6bd7805af --- /dev/null +++ b/tests/auto/input/CMakeLists.txt @@ -0,0 +1,33 @@ +# Generated from input.pro. + +if(QT_FEATURE_private_tests) + add_subdirectory(qaxis) + add_subdirectory(qaction) + add_subdirectory(qactioninput) + add_subdirectory(qabstractaxisinput) + add_subdirectory(qanalogaxisinput) + add_subdirectory(qbuttonaxisinput) + add_subdirectory(qkeyboardhandler) + add_subdirectory(qlogicaldevice) + add_subdirectory(axis) + add_subdirectory(action) + add_subdirectory(abstractaxisinput) + add_subdirectory(actioninput) + add_subdirectory(analogaxisinput) + add_subdirectory(buttonaxisinput) + add_subdirectory(keyboardhandler) + add_subdirectory(qaxisaccumulator) + add_subdirectory(inputsequence) + add_subdirectory(inputchord) + add_subdirectory(qabstractphysicaldevicebackendnode) + add_subdirectory(logicaldevice) + add_subdirectory(qabstractphysicaldeviceproxy) + add_subdirectory(physicaldeviceproxy) + add_subdirectory(loadproxydevicejob) + add_subdirectory(qmousedevice) + add_subdirectory(mousedevice) + add_subdirectory(utils) + add_subdirectory(axisaccumulator) + add_subdirectory(axisaccumulatorjob) + add_subdirectory(qmouseevent) +endif() diff --git a/tests/auto/input/abstractaxisinput/CMakeLists.txt b/tests/auto/input/abstractaxisinput/CMakeLists.txt new file mode 100644 index 000000000..d578024ff --- /dev/null +++ b/tests/auto/input/abstractaxisinput/CMakeLists.txt @@ -0,0 +1,34 @@ +# Generated from abstractaxisinput.pro. + +##################################################################### +## tst_abstractaxisinput Test: +##################################################################### + +qt_add_test(tst_abstractaxisinput + SOURCES + ../commons/testdevice.h + ../commons/testdeviceproxy.h + tst_abstractaxisinput.cpp + INCLUDE_DIRECTORIES + ../../core/common + ../commons + PUBLIC_LIBRARIES + Qt::3DCore + Qt::3DCorePrivate + Qt::3DInput + Qt::3DInputPrivate + Qt::CorePrivate + Qt::Gui +) + +#### Keys ignored in scope 1:.:.:abstractaxisinput.pro:<TRUE>: +# TEMPLATE = "app" + +## Scopes: +##################################################################### + +qt_extend_target(tst_abstractaxisinput CONDITION QT_FEATURE_private_tests + SOURCES + ../../core/common/qbackendnodetester.cpp ../../core/common/qbackendnodetester.h + ../../core/common/testarbiter.h +) diff --git a/tests/auto/input/action/CMakeLists.txt b/tests/auto/input/action/CMakeLists.txt new file mode 100644 index 000000000..0ac20120d --- /dev/null +++ b/tests/auto/input/action/CMakeLists.txt @@ -0,0 +1,31 @@ +# Generated from action.pro. + +##################################################################### +## tst_action Test: +##################################################################### + +qt_add_test(tst_action + SOURCES + tst_action.cpp + INCLUDE_DIRECTORIES + ../../core/common + PUBLIC_LIBRARIES + Qt::3DCore + Qt::3DCorePrivate + Qt::3DInput + Qt::3DInputPrivate + Qt::CorePrivate + Qt::Gui +) + +#### Keys ignored in scope 1:.:.:action.pro:<TRUE>: +# TEMPLATE = "app" + +## Scopes: +##################################################################### + +qt_extend_target(tst_action CONDITION QT_FEATURE_private_tests + SOURCES + ../../core/common/qbackendnodetester.cpp ../../core/common/qbackendnodetester.h + ../../core/common/testarbiter.h +) diff --git a/tests/auto/input/actioninput/CMakeLists.txt b/tests/auto/input/actioninput/CMakeLists.txt new file mode 100644 index 000000000..174269b6f --- /dev/null +++ b/tests/auto/input/actioninput/CMakeLists.txt @@ -0,0 +1,34 @@ +# Generated from actioninput.pro. + +##################################################################### +## tst_actioninput Test: +##################################################################### + +qt_add_test(tst_actioninput + SOURCES + ../commons/testdevice.h + ../commons/testdeviceproxy.h + tst_actioninput.cpp + INCLUDE_DIRECTORIES + ../../core/common + ../commons + PUBLIC_LIBRARIES + Qt::3DCore + Qt::3DCorePrivate + Qt::3DInput + Qt::3DInputPrivate + Qt::CorePrivate + Qt::Gui +) + +#### Keys ignored in scope 1:.:.:actioninput.pro:<TRUE>: +# TEMPLATE = "app" + +## Scopes: +##################################################################### + +qt_extend_target(tst_actioninput CONDITION QT_FEATURE_private_tests + SOURCES + ../../core/common/qbackendnodetester.cpp ../../core/common/qbackendnodetester.h + ../../core/common/testarbiter.h +) diff --git a/tests/auto/input/analogaxisinput/CMakeLists.txt b/tests/auto/input/analogaxisinput/CMakeLists.txt new file mode 100644 index 000000000..885c0888a --- /dev/null +++ b/tests/auto/input/analogaxisinput/CMakeLists.txt @@ -0,0 +1,34 @@ +# Generated from analogaxisinput.pro. + +##################################################################### +## tst_analogaxisinput Test: +##################################################################### + +qt_add_test(tst_analogaxisinput + SOURCES + ../commons/testdevice.h + ../commons/testdeviceproxy.h + tst_analogaxisinput.cpp + INCLUDE_DIRECTORIES + ../../core/common + ../commons + PUBLIC_LIBRARIES + Qt::3DCore + Qt::3DCorePrivate + Qt::3DInput + Qt::3DInputPrivate + Qt::CorePrivate + Qt::Gui +) + +#### Keys ignored in scope 1:.:.:analogaxisinput.pro:<TRUE>: +# TEMPLATE = "app" + +## Scopes: +##################################################################### + +qt_extend_target(tst_analogaxisinput CONDITION QT_FEATURE_private_tests + SOURCES + ../../core/common/qbackendnodetester.cpp ../../core/common/qbackendnodetester.h + ../../core/common/testarbiter.h +) diff --git a/tests/auto/input/axis/CMakeLists.txt b/tests/auto/input/axis/CMakeLists.txt new file mode 100644 index 000000000..42ba96de4 --- /dev/null +++ b/tests/auto/input/axis/CMakeLists.txt @@ -0,0 +1,31 @@ +# Generated from axis.pro. + +##################################################################### +## tst_axis Test: +##################################################################### + +qt_add_test(tst_axis + SOURCES + tst_axis.cpp + INCLUDE_DIRECTORIES + ../../core/common + PUBLIC_LIBRARIES + Qt::3DCore + Qt::3DCorePrivate + Qt::3DInput + Qt::3DInputPrivate + Qt::CorePrivate + Qt::Gui +) + +#### Keys ignored in scope 1:.:.:axis.pro:<TRUE>: +# TEMPLATE = "app" + +## Scopes: +##################################################################### + +qt_extend_target(tst_axis CONDITION QT_FEATURE_private_tests + SOURCES + ../../core/common/qbackendnodetester.cpp ../../core/common/qbackendnodetester.h + ../../core/common/testarbiter.h +) diff --git a/tests/auto/input/axisaccumulator/CMakeLists.txt b/tests/auto/input/axisaccumulator/CMakeLists.txt new file mode 100644 index 000000000..77f925afc --- /dev/null +++ b/tests/auto/input/axisaccumulator/CMakeLists.txt @@ -0,0 +1,31 @@ +# Generated from axisaccumulator.pro. + +##################################################################### +## tst_axisaccumulator Test: +##################################################################### + +qt_add_test(tst_axisaccumulator + SOURCES + tst_axisaccumulator.cpp + INCLUDE_DIRECTORIES + ../../core/common + PUBLIC_LIBRARIES + Qt::3DCore + Qt::3DCorePrivate + Qt::3DInput + Qt::3DInputPrivate + Qt::CorePrivate + Qt::Gui +) + +#### Keys ignored in scope 1:.:.:axisaccumulator.pro:<TRUE>: +# TEMPLATE = "app" + +## Scopes: +##################################################################### + +qt_extend_target(tst_axisaccumulator CONDITION QT_FEATURE_private_tests + SOURCES + ../../core/common/qbackendnodetester.cpp ../../core/common/qbackendnodetester.h + ../../core/common/testarbiter.h +) diff --git a/tests/auto/input/axisaccumulatorjob/CMakeLists.txt b/tests/auto/input/axisaccumulatorjob/CMakeLists.txt new file mode 100644 index 000000000..4bd484ccc --- /dev/null +++ b/tests/auto/input/axisaccumulatorjob/CMakeLists.txt @@ -0,0 +1,31 @@ +# Generated from axisaccumulatorjob.pro. + +##################################################################### +## tst_axisaccumulatorjob Test: +##################################################################### + +qt_add_test(tst_axisaccumulatorjob + SOURCES + tst_axisaccumulatorjob.cpp + INCLUDE_DIRECTORIES + ../../core/common + PUBLIC_LIBRARIES + Qt::3DCore + Qt::3DCorePrivate + Qt::3DInput + Qt::3DInputPrivate + Qt::CorePrivate + Qt::Gui +) + +#### Keys ignored in scope 1:.:.:axisaccumulatorjob.pro:<TRUE>: +# TEMPLATE = "app" + +## Scopes: +##################################################################### + +qt_extend_target(tst_axisaccumulatorjob CONDITION QT_FEATURE_private_tests + SOURCES + ../../core/common/qbackendnodetester.cpp ../../core/common/qbackendnodetester.h + ../../core/common/testarbiter.h +) diff --git a/tests/auto/input/buttonaxisinput/CMakeLists.txt b/tests/auto/input/buttonaxisinput/CMakeLists.txt new file mode 100644 index 000000000..cdc527962 --- /dev/null +++ b/tests/auto/input/buttonaxisinput/CMakeLists.txt @@ -0,0 +1,34 @@ +# Generated from buttonaxisinput.pro. + +##################################################################### +## tst_buttonaxisinput Test: +##################################################################### + +qt_add_test(tst_buttonaxisinput + SOURCES + ../commons/testdevice.h + ../commons/testdeviceproxy.h + tst_buttonaxisinput.cpp + INCLUDE_DIRECTORIES + ../../core/common + ../commons + PUBLIC_LIBRARIES + Qt::3DCore + Qt::3DCorePrivate + Qt::3DInput + Qt::3DInputPrivate + Qt::CorePrivate + Qt::Gui +) + +#### Keys ignored in scope 1:.:.:buttonaxisinput.pro:<TRUE>: +# TEMPLATE = "app" + +## Scopes: +##################################################################### + +qt_extend_target(tst_buttonaxisinput CONDITION QT_FEATURE_private_tests + SOURCES + ../../core/common/qbackendnodetester.cpp ../../core/common/qbackendnodetester.h + ../../core/common/testarbiter.h +) diff --git a/tests/auto/input/inputchord/CMakeLists.txt b/tests/auto/input/inputchord/CMakeLists.txt new file mode 100644 index 000000000..88eea1452 --- /dev/null +++ b/tests/auto/input/inputchord/CMakeLists.txt @@ -0,0 +1,34 @@ +# Generated from inputchord.pro. + +##################################################################### +## tst_inputchord Test: +##################################################################### + +qt_add_test(tst_inputchord + SOURCES + ../commons/testdevice.h + ../commons/testdeviceproxy.h + tst_inputchord.cpp + INCLUDE_DIRECTORIES + ../../core/common + ../commons + PUBLIC_LIBRARIES + Qt::3DCore + Qt::3DCorePrivate + Qt::3DInput + Qt::3DInputPrivate + Qt::CorePrivate + Qt::Gui +) + +#### Keys ignored in scope 1:.:.:inputchord.pro:<TRUE>: +# TEMPLATE = "app" + +## Scopes: +##################################################################### + +qt_extend_target(tst_inputchord CONDITION QT_FEATURE_private_tests + SOURCES + ../../core/common/qbackendnodetester.cpp ../../core/common/qbackendnodetester.h + ../../core/common/testarbiter.h +) diff --git a/tests/auto/input/inputsequence/CMakeLists.txt b/tests/auto/input/inputsequence/CMakeLists.txt new file mode 100644 index 000000000..4a06aee45 --- /dev/null +++ b/tests/auto/input/inputsequence/CMakeLists.txt @@ -0,0 +1,34 @@ +# Generated from inputsequence.pro. + +##################################################################### +## tst_inputsequence Test: +##################################################################### + +qt_add_test(tst_inputsequence + SOURCES + ../commons/testdevice.h + ../commons/testdeviceproxy.h + tst_inputsequence.cpp + INCLUDE_DIRECTORIES + ../../core/common + ../commons + PUBLIC_LIBRARIES + Qt::3DCore + Qt::3DCorePrivate + Qt::3DInput + Qt::3DInputPrivate + Qt::CorePrivate + Qt::Gui +) + +#### Keys ignored in scope 1:.:.:inputsequence.pro:<TRUE>: +# TEMPLATE = "app" + +## Scopes: +##################################################################### + +qt_extend_target(tst_inputsequence CONDITION QT_FEATURE_private_tests + SOURCES + ../../core/common/qbackendnodetester.cpp ../../core/common/qbackendnodetester.h + ../../core/common/testarbiter.h +) diff --git a/tests/auto/input/keyboardhandler/CMakeLists.txt b/tests/auto/input/keyboardhandler/CMakeLists.txt new file mode 100644 index 000000000..ff7917e7b --- /dev/null +++ b/tests/auto/input/keyboardhandler/CMakeLists.txt @@ -0,0 +1,34 @@ +# Generated from keyboardhandler.pro. + +##################################################################### +## tst_keyboardhandler Test: +##################################################################### + +qt_add_test(tst_keyboardhandler + SOURCES + ../commons/testdevice.h + ../commons/testdeviceproxy.h + tst_keyboardhandler.cpp + INCLUDE_DIRECTORIES + ../../core/common + ../commons + PUBLIC_LIBRARIES + Qt::3DCore + Qt::3DCorePrivate + Qt::3DInput + Qt::3DInputPrivate + Qt::CorePrivate + Qt::Gui +) + +#### Keys ignored in scope 1:.:.:keyboardhandler.pro:<TRUE>: +# TEMPLATE = "app" + +## Scopes: +##################################################################### + +qt_extend_target(tst_keyboardhandler CONDITION QT_FEATURE_private_tests + SOURCES + ../../core/common/qbackendnodetester.cpp ../../core/common/qbackendnodetester.h + ../../core/common/testarbiter.h +) diff --git a/tests/auto/input/loadproxydevicejob/CMakeLists.txt b/tests/auto/input/loadproxydevicejob/CMakeLists.txt new file mode 100644 index 000000000..e212599e8 --- /dev/null +++ b/tests/auto/input/loadproxydevicejob/CMakeLists.txt @@ -0,0 +1,34 @@ +# Generated from loadproxydevicejob.pro. + +##################################################################### +## tst_loadproxydevicejob Test: +##################################################################### + +qt_add_test(tst_loadproxydevicejob + SOURCES + ../commons/testdevice.h + ../commons/testdeviceproxy.h + tst_loadproxydevicejob.cpp + INCLUDE_DIRECTORIES + ../../core/common + ../commons + PUBLIC_LIBRARIES + Qt::3DCore + Qt::3DCorePrivate + Qt::3DInput + Qt::3DInputPrivate + Qt::CorePrivate + Qt::Gui +) + +#### Keys ignored in scope 1:.:.:loadproxydevicejob.pro:<TRUE>: +# TEMPLATE = "app" + +## Scopes: +##################################################################### + +qt_extend_target(tst_loadproxydevicejob CONDITION QT_FEATURE_private_tests + SOURCES + ../../core/common/qbackendnodetester.cpp ../../core/common/qbackendnodetester.h + ../../core/common/testarbiter.h +) diff --git a/tests/auto/input/logicaldevice/CMakeLists.txt b/tests/auto/input/logicaldevice/CMakeLists.txt new file mode 100644 index 000000000..522050aea --- /dev/null +++ b/tests/auto/input/logicaldevice/CMakeLists.txt @@ -0,0 +1,31 @@ +# Generated from logicaldevice.pro. + +##################################################################### +## tst_logicaldevice Test: +##################################################################### + +qt_add_test(tst_logicaldevice + SOURCES + tst_logicaldevice.cpp + INCLUDE_DIRECTORIES + ../../core/common + PUBLIC_LIBRARIES + Qt::3DCore + Qt::3DCorePrivate + Qt::3DInput + Qt::3DInputPrivate + Qt::CorePrivate + Qt::Gui +) + +#### Keys ignored in scope 1:.:.:logicaldevice.pro:<TRUE>: +# TEMPLATE = "app" + +## Scopes: +##################################################################### + +qt_extend_target(tst_logicaldevice CONDITION QT_FEATURE_private_tests + SOURCES + ../../core/common/qbackendnodetester.cpp ../../core/common/qbackendnodetester.h + ../../core/common/testarbiter.h +) diff --git a/tests/auto/input/mousedevice/CMakeLists.txt b/tests/auto/input/mousedevice/CMakeLists.txt new file mode 100644 index 000000000..7b7cb50e8 --- /dev/null +++ b/tests/auto/input/mousedevice/CMakeLists.txt @@ -0,0 +1,31 @@ +# Generated from mousedevice.pro. + +##################################################################### +## tst_mousedevice Test: +##################################################################### + +qt_add_test(tst_mousedevice + SOURCES + tst_mousedevice.cpp + INCLUDE_DIRECTORIES + ../../core/common + PUBLIC_LIBRARIES + Qt::3DCore + Qt::3DCorePrivate + Qt::3DInput + Qt::3DInputPrivate + Qt::CorePrivate + Qt::Gui +) + +#### Keys ignored in scope 1:.:.:mousedevice.pro:<TRUE>: +# TEMPLATE = "app" + +## Scopes: +##################################################################### + +qt_extend_target(tst_mousedevice CONDITION QT_FEATURE_private_tests + SOURCES + ../../core/common/qbackendnodetester.cpp ../../core/common/qbackendnodetester.h + ../../core/common/testarbiter.h +) diff --git a/tests/auto/input/physicaldeviceproxy/CMakeLists.txt b/tests/auto/input/physicaldeviceproxy/CMakeLists.txt new file mode 100644 index 000000000..286402eda --- /dev/null +++ b/tests/auto/input/physicaldeviceproxy/CMakeLists.txt @@ -0,0 +1,34 @@ +# Generated from physicaldeviceproxy.pro. + +##################################################################### +## tst_physicaldeviceproxy Test: +##################################################################### + +qt_add_test(tst_physicaldeviceproxy + SOURCES + ../commons/testdevice.h + ../commons/testdeviceproxy.h + tst_physicaldeviceproxy.cpp + INCLUDE_DIRECTORIES + ../../core/common + ../commons + PUBLIC_LIBRARIES + Qt::3DCore + Qt::3DCorePrivate + Qt::3DInput + Qt::3DInputPrivate + Qt::CorePrivate + Qt::Gui +) + +#### Keys ignored in scope 1:.:.:physicaldeviceproxy.pro:<TRUE>: +# TEMPLATE = "app" + +## Scopes: +##################################################################### + +qt_extend_target(tst_physicaldeviceproxy CONDITION QT_FEATURE_private_tests + SOURCES + ../../core/common/qbackendnodetester.cpp ../../core/common/qbackendnodetester.h + ../../core/common/testarbiter.h +) diff --git a/tests/auto/input/qabstractaxisinput/CMakeLists.txt b/tests/auto/input/qabstractaxisinput/CMakeLists.txt new file mode 100644 index 000000000..ebb37b24f --- /dev/null +++ b/tests/auto/input/qabstractaxisinput/CMakeLists.txt @@ -0,0 +1,34 @@ +# Generated from qabstractaxisinput.pro. + +##################################################################### +## tst_qabstractaxisinput Test: +##################################################################### + +qt_add_test(tst_qabstractaxisinput + SOURCES + ../commons/testdevice.h + ../commons/testdeviceproxy.h + tst_qabstractaxisinput.cpp + INCLUDE_DIRECTORIES + ../../core/common + ../commons + PUBLIC_LIBRARIES + Qt::3DCore + Qt::3DCorePrivate + Qt::3DInput + Qt::3DInputPrivate + Qt::CorePrivate + Qt::Gui +) + +#### Keys ignored in scope 1:.:.:qabstractaxisinput.pro:<TRUE>: +# TEMPLATE = "app" + +## Scopes: +##################################################################### + +qt_extend_target(tst_qabstractaxisinput CONDITION QT_FEATURE_private_tests + SOURCES + ../../core/common/qbackendnodetester.cpp ../../core/common/qbackendnodetester.h + ../../core/common/testarbiter.h +) diff --git a/tests/auto/input/qabstractphysicaldevicebackendnode/CMakeLists.txt b/tests/auto/input/qabstractphysicaldevicebackendnode/CMakeLists.txt new file mode 100644 index 000000000..35dd298f7 --- /dev/null +++ b/tests/auto/input/qabstractphysicaldevicebackendnode/CMakeLists.txt @@ -0,0 +1,34 @@ +# Generated from qabstractphysicaldevicebackendnode.pro. + +##################################################################### +## tst_qabstractphysicaldevicebackendnode Test: +##################################################################### + +qt_add_test(tst_qabstractphysicaldevicebackendnode + SOURCES + ../commons/testdevice.h + ../commons/testdeviceproxy.h + tst_qabstractphysicaldevicebackendnode.cpp + INCLUDE_DIRECTORIES + ../../core/common + ../commons + PUBLIC_LIBRARIES + Qt::3DCore + Qt::3DCorePrivate + Qt::3DInput + Qt::3DInputPrivate + Qt::CorePrivate + Qt::Gui +) + +#### Keys ignored in scope 1:.:.:qabstractphysicaldevicebackendnode.pro:<TRUE>: +# TEMPLATE = "app" + +## Scopes: +##################################################################### + +qt_extend_target(tst_qabstractphysicaldevicebackendnode CONDITION QT_FEATURE_private_tests + SOURCES + ../../core/common/qbackendnodetester.cpp ../../core/common/qbackendnodetester.h + ../../core/common/testarbiter.h +) diff --git a/tests/auto/input/qabstractphysicaldeviceproxy/CMakeLists.txt b/tests/auto/input/qabstractphysicaldeviceproxy/CMakeLists.txt new file mode 100644 index 000000000..d300c7b5f --- /dev/null +++ b/tests/auto/input/qabstractphysicaldeviceproxy/CMakeLists.txt @@ -0,0 +1,34 @@ +# Generated from qabstractphysicaldeviceproxy.pro. + +##################################################################### +## tst_qabstractphysicaldeviceproxy Test: +##################################################################### + +qt_add_test(tst_qabstractphysicaldeviceproxy + SOURCES + ../commons/testdevice.h + ../commons/testdeviceproxy.h + tst_qabstractphysicaldeviceproxy.cpp + INCLUDE_DIRECTORIES + ../../core/common + ../commons + PUBLIC_LIBRARIES + Qt::3DCore + Qt::3DCorePrivate + Qt::3DInput + Qt::3DInputPrivate + Qt::CorePrivate + Qt::Gui +) + +#### Keys ignored in scope 1:.:.:qabstractphysicaldeviceproxy.pro:<TRUE>: +# TEMPLATE = "app" + +## Scopes: +##################################################################### + +qt_extend_target(tst_qabstractphysicaldeviceproxy CONDITION QT_FEATURE_private_tests + SOURCES + ../../core/common/qbackendnodetester.cpp ../../core/common/qbackendnodetester.h + ../../core/common/testarbiter.h +) diff --git a/tests/auto/input/qaction/CMakeLists.txt b/tests/auto/input/qaction/CMakeLists.txt new file mode 100644 index 000000000..067feb91a --- /dev/null +++ b/tests/auto/input/qaction/CMakeLists.txt @@ -0,0 +1,34 @@ +# Generated from qaction.pro. + +##################################################################### +## tst_qaction Test: +##################################################################### + +qt_add_test(tst_qaction + SOURCES + ../commons/testdevice.h + ../commons/testdeviceproxy.h + tst_qaction.cpp + INCLUDE_DIRECTORIES + ../../core/common + ../commons + PUBLIC_LIBRARIES + Qt::3DCore + Qt::3DCorePrivate + Qt::3DInput + Qt::3DInputPrivate + Qt::CorePrivate + Qt::Gui +) + +#### Keys ignored in scope 1:.:.:qaction.pro:<TRUE>: +# TEMPLATE = "app" + +## Scopes: +##################################################################### + +qt_extend_target(tst_qaction CONDITION QT_FEATURE_private_tests + SOURCES + ../../core/common/qbackendnodetester.cpp ../../core/common/qbackendnodetester.h + ../../core/common/testarbiter.h +) diff --git a/tests/auto/input/qactioninput/CMakeLists.txt b/tests/auto/input/qactioninput/CMakeLists.txt new file mode 100644 index 000000000..48c84c3e2 --- /dev/null +++ b/tests/auto/input/qactioninput/CMakeLists.txt @@ -0,0 +1,34 @@ +# Generated from qactioninput.pro. + +##################################################################### +## tst_qactioninput Test: +##################################################################### + +qt_add_test(tst_qactioninput + SOURCES + ../commons/testdevice.h + ../commons/testdeviceproxy.h + tst_qactioninput.cpp + INCLUDE_DIRECTORIES + ../../core/common + ../commons + PUBLIC_LIBRARIES + Qt::3DCore + Qt::3DCorePrivate + Qt::3DInput + Qt::3DInputPrivate + Qt::CorePrivate + Qt::Gui +) + +#### Keys ignored in scope 1:.:.:qactioninput.pro:<TRUE>: +# TEMPLATE = "app" + +## Scopes: +##################################################################### + +qt_extend_target(tst_qactioninput CONDITION QT_FEATURE_private_tests + SOURCES + ../../core/common/qbackendnodetester.cpp ../../core/common/qbackendnodetester.h + ../../core/common/testarbiter.h +) diff --git a/tests/auto/input/qanalogaxisinput/CMakeLists.txt b/tests/auto/input/qanalogaxisinput/CMakeLists.txt new file mode 100644 index 000000000..6561c71e0 --- /dev/null +++ b/tests/auto/input/qanalogaxisinput/CMakeLists.txt @@ -0,0 +1,34 @@ +# Generated from qanalogaxisinput.pro. + +##################################################################### +## tst_qanalogaxisinput Test: +##################################################################### + +qt_add_test(tst_qanalogaxisinput + SOURCES + ../commons/testdevice.h + ../commons/testdeviceproxy.h + tst_qanalogaxisinput.cpp + INCLUDE_DIRECTORIES + ../../core/common + ../commons + PUBLIC_LIBRARIES + Qt::3DCore + Qt::3DCorePrivate + Qt::3DInput + Qt::3DInputPrivate + Qt::CorePrivate + Qt::Gui +) + +#### Keys ignored in scope 1:.:.:qanalogaxisinput.pro:<TRUE>: +# TEMPLATE = "app" + +## Scopes: +##################################################################### + +qt_extend_target(tst_qanalogaxisinput CONDITION QT_FEATURE_private_tests + SOURCES + ../../core/common/qbackendnodetester.cpp ../../core/common/qbackendnodetester.h + ../../core/common/testarbiter.h +) diff --git a/tests/auto/input/qaxis/CMakeLists.txt b/tests/auto/input/qaxis/CMakeLists.txt new file mode 100644 index 000000000..6859e514d --- /dev/null +++ b/tests/auto/input/qaxis/CMakeLists.txt @@ -0,0 +1,31 @@ +# Generated from qaxis.pro. + +##################################################################### +## tst_qaxis Test: +##################################################################### + +qt_add_test(tst_qaxis + SOURCES + tst_qaxis.cpp + INCLUDE_DIRECTORIES + ../../core/common + PUBLIC_LIBRARIES + Qt::3DCore + Qt::3DCorePrivate + Qt::3DInput + Qt::3DInputPrivate + Qt::CorePrivate + Qt::Gui +) + +#### Keys ignored in scope 1:.:.:qaxis.pro:<TRUE>: +# TEMPLATE = "app" + +## Scopes: +##################################################################### + +qt_extend_target(tst_qaxis CONDITION QT_FEATURE_private_tests + SOURCES + ../../core/common/qbackendnodetester.cpp ../../core/common/qbackendnodetester.h + ../../core/common/testarbiter.h +) diff --git a/tests/auto/input/qaxisaccumulator/CMakeLists.txt b/tests/auto/input/qaxisaccumulator/CMakeLists.txt new file mode 100644 index 000000000..11a9f30de --- /dev/null +++ b/tests/auto/input/qaxisaccumulator/CMakeLists.txt @@ -0,0 +1,34 @@ +# Generated from qaxisaccumulator.pro. + +##################################################################### +## tst_qaxisaccumulator Test: +##################################################################### + +qt_add_test(tst_qaxisaccumulator + SOURCES + ../commons/testdevice.h + ../commons/testdeviceproxy.h + tst_qaxisaccumulator.cpp + INCLUDE_DIRECTORIES + ../../core/common + ../commons + PUBLIC_LIBRARIES + Qt::3DCore + Qt::3DCorePrivate + Qt::3DInput + Qt::3DInputPrivate + Qt::CorePrivate + Qt::Gui +) + +#### Keys ignored in scope 1:.:.:qaxisaccumulator.pro:<TRUE>: +# TEMPLATE = "app" + +## Scopes: +##################################################################### + +qt_extend_target(tst_qaxisaccumulator CONDITION QT_FEATURE_private_tests + SOURCES + ../../core/common/qbackendnodetester.cpp ../../core/common/qbackendnodetester.h + ../../core/common/testarbiter.h +) diff --git a/tests/auto/input/qbuttonaxisinput/CMakeLists.txt b/tests/auto/input/qbuttonaxisinput/CMakeLists.txt new file mode 100644 index 000000000..fa95d8afa --- /dev/null +++ b/tests/auto/input/qbuttonaxisinput/CMakeLists.txt @@ -0,0 +1,34 @@ +# Generated from qbuttonaxisinput.pro. + +##################################################################### +## tst_qbuttonaxisinput Test: +##################################################################### + +qt_add_test(tst_qbuttonaxisinput + SOURCES + ../commons/testdevice.h + ../commons/testdeviceproxy.h + tst_qbuttonaxisinput.cpp + INCLUDE_DIRECTORIES + ../../core/common + ../commons + PUBLIC_LIBRARIES + Qt::3DCore + Qt::3DCorePrivate + Qt::3DInput + Qt::3DInputPrivate + Qt::CorePrivate + Qt::Gui +) + +#### Keys ignored in scope 1:.:.:qbuttonaxisinput.pro:<TRUE>: +# TEMPLATE = "app" + +## Scopes: +##################################################################### + +qt_extend_target(tst_qbuttonaxisinput CONDITION QT_FEATURE_private_tests + SOURCES + ../../core/common/qbackendnodetester.cpp ../../core/common/qbackendnodetester.h + ../../core/common/testarbiter.h +) diff --git a/tests/auto/input/qkeyboardhandler/CMakeLists.txt b/tests/auto/input/qkeyboardhandler/CMakeLists.txt new file mode 100644 index 000000000..76330addd --- /dev/null +++ b/tests/auto/input/qkeyboardhandler/CMakeLists.txt @@ -0,0 +1,34 @@ +# Generated from qkeyboardhandler.pro. + +##################################################################### +## tst_qkeyboardhandler Test: +##################################################################### + +qt_add_test(tst_qkeyboardhandler + SOURCES + ../commons/testdevice.h + ../commons/testdeviceproxy.h + tst_qkeyboardhandler.cpp + INCLUDE_DIRECTORIES + ../../core/common + ../commons + PUBLIC_LIBRARIES + Qt::3DCore + Qt::3DCorePrivate + Qt::3DInput + Qt::3DInputPrivate + Qt::CorePrivate + Qt::Gui +) + +#### Keys ignored in scope 1:.:.:qkeyboardhandler.pro:<TRUE>: +# TEMPLATE = "app" + +## Scopes: +##################################################################### + +qt_extend_target(tst_qkeyboardhandler CONDITION QT_FEATURE_private_tests + SOURCES + ../../core/common/qbackendnodetester.cpp ../../core/common/qbackendnodetester.h + ../../core/common/testarbiter.h +) diff --git a/tests/auto/input/qlogicaldevice/CMakeLists.txt b/tests/auto/input/qlogicaldevice/CMakeLists.txt new file mode 100644 index 000000000..7eba59e20 --- /dev/null +++ b/tests/auto/input/qlogicaldevice/CMakeLists.txt @@ -0,0 +1,31 @@ +# Generated from qlogicaldevice.pro. + +##################################################################### +## tst_qlogicaldevice Test: +##################################################################### + +qt_add_test(tst_qlogicaldevice + SOURCES + tst_qlogicaldevice.cpp + INCLUDE_DIRECTORIES + ../../core/common + PUBLIC_LIBRARIES + Qt::3DCore + Qt::3DCorePrivate + Qt::3DInput + Qt::3DInputPrivate + Qt::CorePrivate + Qt::Gui +) + +#### Keys ignored in scope 1:.:.:qlogicaldevice.pro:<TRUE>: +# TEMPLATE = "app" + +## Scopes: +##################################################################### + +qt_extend_target(tst_qlogicaldevice CONDITION QT_FEATURE_private_tests + SOURCES + ../../core/common/qbackendnodetester.cpp ../../core/common/qbackendnodetester.h + ../../core/common/testarbiter.h +) diff --git a/tests/auto/input/qmousedevice/CMakeLists.txt b/tests/auto/input/qmousedevice/CMakeLists.txt new file mode 100644 index 000000000..812ffdfdb --- /dev/null +++ b/tests/auto/input/qmousedevice/CMakeLists.txt @@ -0,0 +1,34 @@ +# Generated from qmousedevice.pro. + +##################################################################### +## tst_qmousedevice Test: +##################################################################### + +qt_add_test(tst_qmousedevice + SOURCES + ../commons/testdevice.h + ../commons/testdeviceproxy.h + tst_qmousedevice.cpp + INCLUDE_DIRECTORIES + ../../core/common + ../commons + PUBLIC_LIBRARIES + Qt::3DCore + Qt::3DCorePrivate + Qt::3DInput + Qt::3DInputPrivate + Qt::CorePrivate + Qt::Gui +) + +#### Keys ignored in scope 1:.:.:qmousedevice.pro:<TRUE>: +# TEMPLATE = "app" + +## Scopes: +##################################################################### + +qt_extend_target(tst_qmousedevice CONDITION QT_FEATURE_private_tests + SOURCES + ../../core/common/qbackendnodetester.cpp ../../core/common/qbackendnodetester.h + ../../core/common/testarbiter.h +) diff --git a/tests/auto/input/qmouseevent/CMakeLists.txt b/tests/auto/input/qmouseevent/CMakeLists.txt new file mode 100644 index 000000000..79f76469b --- /dev/null +++ b/tests/auto/input/qmouseevent/CMakeLists.txt @@ -0,0 +1,34 @@ +# Generated from qmouseevent.pro. + +##################################################################### +## tst_qmouseevent Test: +##################################################################### + +qt_add_test(tst_qmouseevent + SOURCES + ../commons/testdevice.h + ../commons/testdeviceproxy.h + tst_qmouseevent.cpp + INCLUDE_DIRECTORIES + ../../core/common + ../commons + PUBLIC_LIBRARIES + Qt::3DCore + Qt::3DCorePrivate + Qt::3DInput + Qt::3DInputPrivate + Qt::CorePrivate + Qt::Gui +) + +#### Keys ignored in scope 1:.:.:qmouseevent.pro:<TRUE>: +# TEMPLATE = "app" + +## Scopes: +##################################################################### + +qt_extend_target(tst_qmouseevent CONDITION QT_FEATURE_private_tests + SOURCES + ../../core/common/qbackendnodetester.cpp ../../core/common/qbackendnodetester.h + ../../core/common/testarbiter.h +) diff --git a/tests/auto/input/utils/CMakeLists.txt b/tests/auto/input/utils/CMakeLists.txt new file mode 100644 index 000000000..1c7d2f77d --- /dev/null +++ b/tests/auto/input/utils/CMakeLists.txt @@ -0,0 +1,34 @@ +# Generated from utils.pro. + +##################################################################### +## tst_utils Test: +##################################################################### + +qt_add_test(tst_utils + SOURCES + ../commons/testdevice.h + ../commons/testdeviceproxy.h + tst_utils.cpp + INCLUDE_DIRECTORIES + ../../core/common + ../commons + PUBLIC_LIBRARIES + Qt::3DCore + Qt::3DCorePrivate + Qt::3DInput + Qt::3DInputPrivate + Qt::CorePrivate + Qt::Gui +) + +#### Keys ignored in scope 1:.:.:utils.pro:<TRUE>: +# TEMPLATE = "app" + +## Scopes: +##################################################################### + +qt_extend_target(tst_utils CONDITION QT_FEATURE_private_tests + SOURCES + ../../core/common/qbackendnodetester.cpp ../../core/common/qbackendnodetester.h + ../../core/common/testarbiter.h +) diff --git a/tests/auto/quick3d/3dcore/CMakeLists.txt b/tests/auto/quick3d/3dcore/CMakeLists.txt new file mode 100644 index 000000000..adb239788 --- /dev/null +++ b/tests/auto/quick3d/3dcore/CMakeLists.txt @@ -0,0 +1,38 @@ +# Generated from Qt::3DCore.pro. + +##################################################################### +## tst_import3dcore Test: +##################################################################### + +qt_add_test(tst_import3dcore + SOURCES + ../../render/qmlscenereader/qmlscenereader.cpp ../../render/qmlscenereader/qmlscenereader.h + tst_import3dcore.cpp + INCLUDE_DIRECTORIES + ../../render/qmlscenereader + PUBLIC_LIBRARIES + Qt::3DCore + Qt::3DCorePrivate + Qt::3DQuick + Qt::3DRender + Qt::3DRenderPrivate + Qt::CorePrivate + Qt::Gui + Qt::Qml +) + +# Resources: +set(3dcore_resource_files + "3dcore.qml" +) + +qt_add_resource(tst_import3dcore "Qt::3DCore" + PREFIX + "/" + FILES + ${3dcore_resource_files} +) + + +#### Keys ignored in scope 1:.:.:3dcore.pro:<TRUE>: +# TEMPLATE = "app" diff --git a/tests/auto/quick3d/3dinput/CMakeLists.txt b/tests/auto/quick3d/3dinput/CMakeLists.txt new file mode 100644 index 000000000..52612a899 --- /dev/null +++ b/tests/auto/quick3d/3dinput/CMakeLists.txt @@ -0,0 +1,38 @@ +# Generated from 3dinput.pro. + +##################################################################### +## tst_import3dinput Test: +##################################################################### + +qt_add_test(tst_import3dinput + SOURCES + ../../render/qmlscenereader/qmlscenereader.cpp ../../render/qmlscenereader/qmlscenereader.h + tst_import3dinput.cpp + INCLUDE_DIRECTORIES + ../../render/qmlscenereader + PUBLIC_LIBRARIES + Qt::3DCore + Qt::3DCorePrivate + Qt::3DQuick + Qt::3DRender + Qt::3DRenderPrivate + Qt::CorePrivate + Qt::Gui + Qt::Qml +) + +# Resources: +set(3dinput_resource_files + "3dinput.qml" +) + +qt_add_resource(tst_import3dinput "3dinput" + PREFIX + "/" + FILES + ${3dinput_resource_files} +) + + +#### Keys ignored in scope 1:.:.:3dinput.pro:<TRUE>: +# TEMPLATE = "app" diff --git a/tests/auto/quick3d/3drender/CMakeLists.txt b/tests/auto/quick3d/3drender/CMakeLists.txt new file mode 100644 index 000000000..68196ca4d --- /dev/null +++ b/tests/auto/quick3d/3drender/CMakeLists.txt @@ -0,0 +1,38 @@ +# Generated from 3drender.pro. + +##################################################################### +## tst_import3drender Test: +##################################################################### + +qt_add_test(tst_import3drender + SOURCES + ../../render/qmlscenereader/qmlscenereader.cpp ../../render/qmlscenereader/qmlscenereader.h + tst_import3drender.cpp + INCLUDE_DIRECTORIES + ../../render/qmlscenereader + PUBLIC_LIBRARIES + Qt::3DCore + Qt::3DCorePrivate + Qt::3DQuick + Qt::3DRender + Qt::3DRenderPrivate + Qt::CorePrivate + Qt::Gui + Qt::Qml +) + +# Resources: +set( 3drender_resource_files + "3drender.qml" +) + +qt_add_resource(tst_import3drender "3drender" + PREFIX + "/" + FILES + ${3drender_resource_files} +) + + +#### Keys ignored in scope 1:.:.:3drender.pro:<TRUE>: +# TEMPLATE = "app" diff --git a/tests/auto/quick3d/CMakeLists.txt b/tests/auto/quick3d/CMakeLists.txt new file mode 100644 index 000000000..504b7b2e9 --- /dev/null +++ b/tests/auto/quick3d/CMakeLists.txt @@ -0,0 +1,11 @@ +# Generated from quick3d.pro. + +if(QT_FEATURE_private_tests) + add_subdirectory(quick3dnodeinstantiator) + add_subdirectory(dynamicnodecreation) + add_subdirectory(3drender) + add_subdirectory(3dinput) + add_subdirectory(3dcore) + add_subdirectory(quick3dbuffer) + add_subdirectory(quick3dnode) +endif() diff --git a/tests/auto/quick3d/dynamicnodecreation/CMakeLists.txt b/tests/auto/quick3d/dynamicnodecreation/CMakeLists.txt new file mode 100644 index 000000000..a90760be4 --- /dev/null +++ b/tests/auto/quick3d/dynamicnodecreation/CMakeLists.txt @@ -0,0 +1,36 @@ +# Generated from dynamicnodecreation.pro. + +##################################################################### +## tst_dynamicnodecreation Test: +##################################################################### + +# Collect test data +file(GLOB_RECURSE test_data_glob + RELATIVE ${CMAKE_CURRENT_SOURCE_DIR} + data/*) +list(APPEND test_data ${test_data_glob}) + +qt_add_test(tst_dynamicnodecreation + SOURCES + ../../shared/util.cpp ../../shared/util.h + tst_dynamicnodecreation.cpp + DEFINES + QT_QMLTEST_DATADIR=\\\"${CMAKE_CURRENT_SOURCE_DIR}/data\\\" + INCLUDE_DIRECTORIES + ../../shared + PUBLIC_LIBRARIES + Qt::3DCore + Qt::3DCorePrivate + Qt::3DQuick + Qt::3DQuickPrivate + Qt::CorePrivate + Qt::Gui + Qt::GuiPrivate + TESTDATA ${test_data} +) + +#### Keys ignored in scope 1:.:.:dynamicnodecreation.pro:<TRUE>: +# OTHER_FILES = "data/createDynamicChild.qml" "data/createMultiple.qml" "data/createSingle.qml" "data/inactive.qml" "data/dynamicEntity.qml" + +## Scopes: +##################################################################### diff --git a/tests/auto/quick3d/quick3dbuffer/CMakeLists.txt b/tests/auto/quick3d/quick3dbuffer/CMakeLists.txt new file mode 100644 index 000000000..5c1667ae2 --- /dev/null +++ b/tests/auto/quick3d/quick3dbuffer/CMakeLists.txt @@ -0,0 +1,19 @@ +# Generated from quick3dbuffer.pro. + +##################################################################### +## tst_quick3dbuffer Test: +##################################################################### + +qt_add_test(tst_quick3dbuffer + SOURCES + tst_quick3dbuffer.cpp + PUBLIC_LIBRARIES + Qt::3DCore + Qt::3DCorePrivate + Qt::3DQuick + Qt::3DQuickPrivate + Qt::Gui +) + +#### Keys ignored in scope 1:.:.:quick3dbuffer.pro:<TRUE>: +# TEMPLATE = "app" diff --git a/tests/auto/quick3d/quick3dnode/CMakeLists.txt b/tests/auto/quick3d/quick3dnode/CMakeLists.txt new file mode 100644 index 000000000..520cec50a --- /dev/null +++ b/tests/auto/quick3d/quick3dnode/CMakeLists.txt @@ -0,0 +1,40 @@ +# Generated from quick3dnode.pro. + +##################################################################### +## tst_quick3dnode Test: +##################################################################### + +qt_add_test(tst_quick3dnode + SOURCES + ../../render/qmlscenereader/qmlscenereader.cpp ../../render/qmlscenereader/qmlscenereader.h + tst_quick3dnode.cpp + INCLUDE_DIRECTORIES + ../../render/qmlscenereader + PUBLIC_LIBRARIES + Qt::3DCore + Qt::3DCorePrivate + Qt::3DQuick + Qt::3DQuickPrivate + Qt::3DQuickRenderPrivate + Qt::3DRender + Qt::3DRenderPrivate + Qt::CorePrivate + Qt::Gui + Qt::Qml +) + +# Resources: +set(quick3dnode_resource_files + "quick3dnodev9.qml" +) + +qt_add_resource(tst_quick3dnode "quick3dnode" + PREFIX + "/" + FILES + ${quick3dnode_resource_files} +) + + +#### Keys ignored in scope 1:.:.:quick3dnode.pro:<TRUE>: +# TEMPLATE = "app" diff --git a/tests/auto/quick3d/quick3dnodeinstantiator/CMakeLists.txt b/tests/auto/quick3d/quick3dnodeinstantiator/CMakeLists.txt new file mode 100644 index 000000000..f79d97d2e --- /dev/null +++ b/tests/auto/quick3d/quick3dnodeinstantiator/CMakeLists.txt @@ -0,0 +1,36 @@ +# Generated from quick3dnodeinstantiator.pro. + +##################################################################### +## tst_qnodeinstantiator Test: +##################################################################### + +# Collect test data +file(GLOB_RECURSE test_data_glob + RELATIVE ${CMAKE_CURRENT_SOURCE_DIR} + data/*) +list(APPEND test_data ${test_data_glob}) + +qt_add_test(tst_qnodeinstantiator + SOURCES + ../../shared/util.cpp ../../shared/util.h + stringmodel.h + tst_quick3dnodeinstantiator.cpp + DEFINES + QT_QMLTEST_DATADIR=\\\"${CMAKE_CURRENT_SOURCE_DIR}/data\\\" + INCLUDE_DIRECTORIES + ../../shared + PUBLIC_LIBRARIES + Qt::3DCore + Qt::3DQuick + Qt::3DQuickPrivate + Qt::CorePrivate + Qt::Gui + Qt::GuiPrivate + TESTDATA ${test_data} +) + +#### Keys ignored in scope 1:.:.:quick3dnodeinstantiator.pro:<TRUE>: +# OTHER_FILES = "data/createAndRemove.qml" "data/createMultiple.qml" "data/createNone.qml" "data/createSingle.qml" "data/createNested.qml" "data/inactive.qml" "data/stringModel.qml" + +## Scopes: +##################################################################### diff --git a/tests/auto/render/CMakeLists.txt b/tests/auto/render/CMakeLists.txt new file mode 100644 index 000000000..3727f0748 --- /dev/null +++ b/tests/auto/render/CMakeLists.txt @@ -0,0 +1,72 @@ +# Generated from render.pro. + +if(QT_FEATURE_private_tests) + add_subdirectory(aspect) + add_subdirectory(entity) + add_subdirectory(renderpass) + add_subdirectory(shader) + add_subdirectory(shaderbuilder) + add_subdirectory(texture) + add_subdirectory(material) + add_subdirectory(vsyncframeadvanceservice) +# add_subdirectory(meshfunctors) + add_subdirectory(qattribute) + add_subdirectory(qbuffer) + add_subdirectory(qgeometry) + add_subdirectory(qgeometryrenderer) + add_subdirectory(qlevelofdetail) + add_subdirectory(levelofdetail) + add_subdirectory(buffer) + add_subdirectory(attribute) + add_subdirectory(geometry) + add_subdirectory(geometryrenderer) + add_subdirectory(qcameraselector) + add_subdirectory(qclearbuffers) + add_subdirectory(qframegraphnode) + add_subdirectory(qlayerfilter) + add_subdirectory(qabstractlight) + add_subdirectory(qenvironmentlight) + add_subdirectory(qrenderpassfilter) + add_subdirectory(qrenderstate) + add_subdirectory(qrendertargetselector) + add_subdirectory(qsortpolicy) + add_subdirectory(qrenderstateset) + add_subdirectory(qtechniquefilter) + add_subdirectory(qtextureimagedata) + add_subdirectory(qviewport) + add_subdirectory(framegraphnode) + add_subdirectory(qobjectpicker) + add_subdirectory(objectpicker) +endif() +if(QT_FEATURE_private_tests AND NOT QT_FEATURE_qt3d_simd_avx2) + add_subdirectory(qray3d) + add_subdirectory(raycasting) + add_subdirectory(triangleboundingvolume) +endif() +if(QT_FEATURE_private_tests AND TARGET Qt::Quick) + add_subdirectory(raycastingjob) +endif() +if(QT_FEATURE_private_tests AND QT_FEATURE_qt3d_opengl_renderer) + add_subdirectory(opengl) +endif() +if(QT_FEATURE_private_tests AND QT_FEATURE_qt3d_extras AND QT_FEATURE_qt3d_opengl_renderer) + add_subdirectory(qmaterial) + add_subdirectory(geometryloaders) + add_subdirectory(picking) + add_subdirectory(gltfplugins) +endif() +if(QT_FEATURE_private_tests AND QT_FEATURE_qt3d_extras AND QT_FEATURE_qt3d_opengl_renderer AND TARGET Qt::Quick) + add_subdirectory(boundingsphere) + add_subdirectory(pickboundingvolumejob) + add_subdirectory(updateshaderdatatransformjob) +endif() +if(QT_FEATURE_private_tests AND QT_FEATURE_qt3d_input AND QT_FEATURE_qt3d_opengl_renderer AND TARGET Qt::Quick) + add_subdirectory(qscene2d) + add_subdirectory(scene2d) +endif() +if(QT_FEATURE_private_tests AND QT_FEATURE_qt3d_opengl_renderer AND QT_FEATURE_qt3d_simd_avx2) + add_subdirectory(alignedresourcesmanagers-avx) +endif() +if(QT_FEATURE_private_tests AND QT_FEATURE_qt3d_opengl_renderer AND QT_FEATURE_qt3d_simd_sse2 AND NOT QT_FEATURE_qt3d_simd_avx2) + add_subdirectory(alignedresourcesmanagers-sse) +endif() diff --git a/tests/auto/render/alignedresourcesmanagers-avx/CMakeLists.txt b/tests/auto/render/alignedresourcesmanagers-avx/CMakeLists.txt new file mode 100644 index 000000000..225d0e36f --- /dev/null +++ b/tests/auto/render/alignedresourcesmanagers-avx/CMakeLists.txt @@ -0,0 +1,19 @@ +# Generated from alignedresourcesmanagers-avx.pro. + +##################################################################### +## tst_alignedresourcesmanagers-avx Test: +##################################################################### + +qt_add_test(tst_alignedresourcesmanagers-avx + SOURCES + tst_alignedresourcesmanagers-avx.cpp + PUBLIC_LIBRARIES + Qt::3DCore + Qt::3DCorePrivate + Qt::3DRender + Qt::3DRenderPrivate + Qt::Gui +) + +#### Keys ignored in scope 1:.:.:alignedresourcesmanagers-avx.pro:<TRUE>: +# TEMPLATE = "app" diff --git a/tests/auto/render/alignedresourcesmanagers-sse/CMakeLists.txt b/tests/auto/render/alignedresourcesmanagers-sse/CMakeLists.txt new file mode 100644 index 000000000..d83d6b6bd --- /dev/null +++ b/tests/auto/render/alignedresourcesmanagers-sse/CMakeLists.txt @@ -0,0 +1,19 @@ +# Generated from alignedresourcesmanagers-sse.pro. + +##################################################################### +## tst_alignedresourcesmanagers-avx Test: +##################################################################### + +qt_add_test(tst_alignedresourcesmanagers-avx + SOURCES + tst_alignedresourcesmanagers-sse.cpp + PUBLIC_LIBRARIES + Qt::3DCore + Qt::3DCorePrivate + Qt::3DRender + Qt::3DRenderPrivate + Qt::Gui +) + +#### Keys ignored in scope 1:.:.:alignedresourcesmanagers-sse.pro:<TRUE>: +# TEMPLATE = "app" diff --git a/tests/auto/render/armature/CMakeLists.txt b/tests/auto/render/armature/CMakeLists.txt new file mode 100644 index 000000000..b7a97cd02 --- /dev/null +++ b/tests/auto/render/armature/CMakeLists.txt @@ -0,0 +1,31 @@ +# Generated from armature.pro. + +##################################################################### +## tst_armature Test: +##################################################################### + +qt_add_test(tst_armature + SOURCES + tst_armature.cpp + INCLUDE_DIRECTORIES + ../../core/common + PUBLIC_LIBRARIES + Qt::3DCore + Qt::3DCorePrivate + Qt::3DRender + Qt::3DRenderPrivate + Qt::CorePrivate + Qt::Gui +) + +#### Keys ignored in scope 1:.:.:armature.pro:<TRUE>: +# TEMPLATE = "app" + +## Scopes: +##################################################################### + +qt_extend_target(tst_armature CONDITION QT_FEATURE_private_tests + SOURCES + ../../core/common/qbackendnodetester.cpp ../../core/common/qbackendnodetester.h + ../../core/common/testarbiter.h +) diff --git a/tests/auto/render/aspect/CMakeLists.txt b/tests/auto/render/aspect/CMakeLists.txt new file mode 100644 index 000000000..6ed1f2710 --- /dev/null +++ b/tests/auto/render/aspect/CMakeLists.txt @@ -0,0 +1,23 @@ +# Generated from aspect.pro. + +##################################################################### +## tst_aspect Test: +##################################################################### + +qt_add_test(tst_aspect + SOURCES + tst_aspect.cpp + PUBLIC_LIBRARIES + Qt::3DCore + Qt::3DCorePrivate + Qt::3DRender + Qt::3DRenderPrivate + Qt::CorePrivate + Qt::Gui +) + +#### Keys ignored in scope 1:.:.:aspect.pro:<TRUE>: +# TEMPLATE = "app" + +include(../commons/commons.cmake) +qt3d_setup_common_render_test(tst_aspect USE_TEST_ASPECT) diff --git a/tests/auto/render/attribute/CMakeLists.txt b/tests/auto/render/attribute/CMakeLists.txt new file mode 100644 index 000000000..09c679bae --- /dev/null +++ b/tests/auto/render/attribute/CMakeLists.txt @@ -0,0 +1,38 @@ +# Generated from attribute.pro. + +##################################################################### +## tst_attribute Test: +##################################################################### + +qt_add_test(tst_attribute + SOURCES + ../commons/testrenderer.cpp ../commons/testrenderer.h + tst_attribute.cpp + INCLUDE_DIRECTORIES + ../../core/common + ../commons + PUBLIC_LIBRARIES + Qt::3DCore + Qt::3DCorePrivate + Qt::3DRender + Qt::3DRenderPrivate + Qt::CorePrivate + Qt::Gui +) + +#### Keys ignored in scope 1:.:.:attribute.pro:<TRUE>: +# TEMPLATE = "app" + +## Scopes: +##################################################################### + +qt_extend_target(tst_attribute CONDITION QT_FEATURE_private_tests + SOURCES + ../../core/common/qbackendnodetester.cpp ../../core/common/qbackendnodetester.h + ../../core/common/testarbiter.h +) + +qt_extend_target(tst_attribute CONDITION useCommonTestAspect + SOURCES + ../commons/testaspect.cpp ../commons/testaspect.h +) diff --git a/tests/auto/render/blitframebuffer/CMakeLists.txt b/tests/auto/render/blitframebuffer/CMakeLists.txt new file mode 100644 index 000000000..898b2ec48 --- /dev/null +++ b/tests/auto/render/blitframebuffer/CMakeLists.txt @@ -0,0 +1,38 @@ +# Generated from blitframebuffer.pro. + +##################################################################### +## tst_blitframebuffer Test: +##################################################################### + +qt_add_test(tst_blitframebuffer + SOURCES + ../commons/testrenderer.cpp ../commons/testrenderer.h + tst_blitframebuffer.cpp + INCLUDE_DIRECTORIES + ../../core/common + ../commons + PUBLIC_LIBRARIES + Qt::3DCore + Qt::3DCorePrivate + Qt::3DRender + Qt::3DRenderPrivate + Qt::CorePrivate + Qt::Gui +) + +#### Keys ignored in scope 1:.:.:blitframebuffer.pro:<TRUE>: +# TEMPLATE = "app" + +## Scopes: +##################################################################### + +qt_extend_target(tst_blitframebuffer CONDITION QT_FEATURE_private_tests + SOURCES + ../../core/common/qbackendnodetester.cpp ../../core/common/qbackendnodetester.h + ../../core/common/testarbiter.h +) + +qt_extend_target(tst_blitframebuffer CONDITION useCommonTestAspect + SOURCES + ../commons/testaspect.cpp ../commons/testaspect.h +) diff --git a/tests/auto/render/boundingsphere/CMakeLists.txt b/tests/auto/render/boundingsphere/CMakeLists.txt new file mode 100644 index 000000000..07e8dd1f6 --- /dev/null +++ b/tests/auto/render/boundingsphere/CMakeLists.txt @@ -0,0 +1,60 @@ +# Generated from boundingsphere.pro. + +##################################################################### +## tst_boundingsphere Test: +##################################################################### + +qt_add_test(tst_boundingsphere + SOURCES + ../commons/testrenderer.cpp ../commons/testrenderer.h + ../qmlscenereader/qmlscenereader.cpp ../qmlscenereader/qmlscenereader.h + tst_boundingsphere.cpp + INCLUDE_DIRECTORIES + ../../core/common + ../commons + ../qmlscenereader + PUBLIC_LIBRARIES + Qt::3DCore + Qt::3DCorePrivate + Qt::3DExtras + Qt::3DQuick + Qt::3DQuickPrivate + Qt::3DQuickExtras + Qt::3DRender + Qt::3DRenderPrivate + Qt::CorePrivate + Qt::Gui + Qt::Qml + Qt::Quick +) + +# Resources: +set(boundingsphere_resource_files + "cube.qml" + "sphere.qml" +) + +qt_add_resource(tst_boundingsphere "boundingsphere" + PREFIX + "/" + FILES + ${boundingsphere_resource_files} +) + + +#### Keys ignored in scope 1:.:.:boundingsphere.pro:<TRUE>: +# TEMPLATE = "app" + +## Scopes: +##################################################################### + +qt_extend_target(tst_boundingsphere CONDITION useCommonTestAspect + SOURCES + ../commons/testaspect.cpp ../commons/testaspect.h +) + +qt_extend_target(tst_boundingsphere CONDITION QT_FEATURE_private_tests + SOURCES + ../../core/common/qbackendnodetester.cpp ../../core/common/qbackendnodetester.h + ../../core/common/testarbiter.h +) diff --git a/tests/auto/render/boundingvolumedebug/CMakeLists.txt b/tests/auto/render/boundingvolumedebug/CMakeLists.txt new file mode 100644 index 000000000..e6e4c3a98 --- /dev/null +++ b/tests/auto/render/boundingvolumedebug/CMakeLists.txt @@ -0,0 +1,31 @@ +# Generated from boundingvolumedebug.pro. + +##################################################################### +## boundingvolumedebug Test: +##################################################################### + +qt_add_test(boundingvolumedebug + SOURCES + ../commons/testrenderer.cpp ../commons/testrenderer.h + tst_boundingvolumedebug.cpp + INCLUDE_DIRECTORIES + ../commons + PUBLIC_LIBRARIES + Qt::3DCore + Qt::3DCorePrivate + Qt::3DRender + Qt::3DRenderPrivate + Qt::CorePrivate + Qt::Gui +) + +#### Keys ignored in scope 1:.:.:boundingvolumedebug.pro:<TRUE>: +# TEMPLATE = "app" + +## Scopes: +##################################################################### + +qt_extend_target(boundingvolumedebug CONDITION useCommonTestAspect + SOURCES + ../commons/testaspect.cpp ../commons/testaspect.h +) diff --git a/tests/auto/render/buffer/CMakeLists.txt b/tests/auto/render/buffer/CMakeLists.txt new file mode 100644 index 000000000..c16a2a57f --- /dev/null +++ b/tests/auto/render/buffer/CMakeLists.txt @@ -0,0 +1,38 @@ +# Generated from buffer.pro. + +##################################################################### +## tst_buffer Test: +##################################################################### + +qt_add_test(tst_buffer + SOURCES + ../commons/testrenderer.cpp ../commons/testrenderer.h + tst_buffer.cpp + INCLUDE_DIRECTORIES + ../../core/common + ../commons + PUBLIC_LIBRARIES + Qt::3DCore + Qt::3DCorePrivate + Qt::3DRender + Qt::3DRenderPrivate + Qt::CorePrivate + Qt::Gui +) + +#### Keys ignored in scope 1:.:.:buffer.pro:<TRUE>: +# TEMPLATE = "app" + +## Scopes: +##################################################################### + +qt_extend_target(tst_buffer CONDITION QT_FEATURE_private_tests + SOURCES + ../../core/common/qbackendnodetester.cpp ../../core/common/qbackendnodetester.h + ../../core/common/testarbiter.h +) + +qt_extend_target(tst_buffer CONDITION useCommonTestAspect + SOURCES + ../commons/testaspect.cpp ../commons/testaspect.h +) diff --git a/tests/auto/render/commons/commons.cmake b/tests/auto/render/commons/commons.cmake new file mode 100644 index 000000000..9565c91c7 --- /dev/null +++ b/tests/auto/render/commons/commons.cmake @@ -0,0 +1,14 @@ +include(${PROJECT_SOURCE_DIR}/tests/auto/core/common/common.cmake) + +function(qt3d_setup_common_render_test target) + cmake_parse_arguments(args "USE_TEST_ASPECT" "" "" ${ARGN}) + set(commonDir ${PROJECT_SOURCE_DIR}/tests/auto/core/common) + set(commonsDir ${PROJECT_SOURCE_DIR}/tests/auto/render/commons) + target_sources(${target} PRIVATE ${commonsDir}/testrenderer.h ${commonsDir}/testrenderer.cpp) + if (args_USE_TEST_ASPECT) + target_sources(${target} PRIVATE ${commonsDir}/testaspect.h ${commonsDir}/testaspect.cpp) + endif() + target_include_directories(${target} PRIVATE ${commonsDir}) + + qt3d_setup_common_test(${target}) +endfunction() diff --git a/tests/auto/render/commons/testaspect.h b/tests/auto/render/commons/testaspect.h index 22d0a7172..35cf6534a 100644 --- a/tests/auto/render/commons/testaspect.h +++ b/tests/auto/render/commons/testaspect.h @@ -58,9 +58,9 @@ public: Qt3DRender::Render::NodeManagers *nodeManagers() const; - void onEngineStartup(); - void onRegistered(); - void onUnregistered(); + void onEngineStartup() override; + void onRegistered() override; + void onUnregistered() override; void registerNode(Qt3DCore::QNode *node) { m_frontEndNodes.insert(node->id(), node); } void registerTree(Qt3DCore::QEntity *root) { diff --git a/tests/auto/render/computecommand/CMakeLists.txt b/tests/auto/render/computecommand/CMakeLists.txt new file mode 100644 index 000000000..672109a44 --- /dev/null +++ b/tests/auto/render/computecommand/CMakeLists.txt @@ -0,0 +1,26 @@ +# Generated from computecommand.pro. + +##################################################################### +## tst_computecommand Test: +##################################################################### + +qt_add_test(tst_computecommand + SOURCES + tst_computecommand.cpp + PUBLIC_LIBRARIES + Qt::3DCore + Qt::3DCorePrivate + Qt::3DRender + Qt::3DRenderPrivate + Qt::CorePrivate + Qt::Gui +) + +#### Keys ignored in scope 1:.:.:computecommand.pro:<TRUE>: +# TEMPLATE = "app" + +## Scopes: +##################################################################### + +include(../../commons/commons.cmake) +qt3d_setup_common_render_test(tst_computecommand USE_TEST_ASPECT) diff --git a/tests/auto/render/coordinatereader/CMakeLists.txt b/tests/auto/render/coordinatereader/CMakeLists.txt new file mode 100644 index 000000000..f0ce340c6 --- /dev/null +++ b/tests/auto/render/coordinatereader/CMakeLists.txt @@ -0,0 +1,38 @@ +# Generated from coordinatereader.pro. + +##################################################################### +## coordinatereader Test: +##################################################################### + +qt_add_test(coordinatereader + SOURCES + ../commons/testrenderer.cpp ../commons/testrenderer.h + tst_coordinatereader.cpp + INCLUDE_DIRECTORIES + ../../core/common + ../commons + PUBLIC_LIBRARIES + Qt::3DCore + Qt::3DCorePrivate + Qt::3DRender + Qt::3DRenderPrivate + Qt::CorePrivate + Qt::Gui +) + +#### Keys ignored in scope 1:.:.:coordinatereader.pro:<TRUE>: +# TEMPLATE = "app" + +## Scopes: +##################################################################### + +qt_extend_target(coordinatereader CONDITION QT_FEATURE_private_tests + SOURCES + ../../core/common/qbackendnodetester.cpp ../../core/common/qbackendnodetester.h + ../../core/common/testarbiter.h +) + +qt_extend_target(coordinatereader CONDITION useCommonTestAspect + SOURCES + ../commons/testaspect.cpp ../commons/testaspect.h +) diff --git a/tests/auto/render/ddstextures/CMakeLists.txt b/tests/auto/render/ddstextures/CMakeLists.txt new file mode 100644 index 000000000..cbc1084ac --- /dev/null +++ b/tests/auto/render/ddstextures/CMakeLists.txt @@ -0,0 +1,28 @@ +# Generated from ddstextures.pro. + +##################################################################### +## tst_ddstextures Test: +##################################################################### + +# Collect test data +file(GLOB_RECURSE test_data_glob + RELATIVE ${CMAKE_CURRENT_SOURCE_DIR} + data/*) +list(APPEND test_data ${test_data_glob}) + +qt_add_test(tst_ddstextures + SOURCES + tst_ddstextures.cpp + PUBLIC_LIBRARIES + Qt::3DCore + Qt::3DCorePrivate + Qt::3DRender + Qt::3DRenderPrivate + Qt::CorePrivate + Qt::Gui + TESTDATA ${test_data} +) + +#### Keys ignored in scope 1:.:.:ddstextures.pro:<TRUE>: +# OTHER_FILES = "data/16x16x1-1-bc1.dds" "data/16x16x1-1-bc1-dx10.dds" "data/16x16x1-1-bc1-nomips.dds" "data/16x16x1-1-bc1-nomips-dx10.dds" "data/16x16x1-1-bc3.dds" "data/16x16x1-1-bc3-dx10.dds" "data/16x16x1-1-bc3-nomips.dds" "data/16x16x1-1-bc3-nomips-dx10.dds" "data/16x16x1-1-lumi.dds" "data/16x16x1-1-lumi-nomips.dds" "data/16x16x1-1-rgb.dds" "data/16x16x1-1-rgb-nomips.dds" "data/16x16x1-6-bc1.dds" "data/16x16x1-6-bc1-dx10.dds" "data/16x16x1-6-bc1-nomips.dds" "data/16x16x1-6-bc1-nomips-dx10.dds" "data/16x16x1-6-bc3.dds" "data/16x16x1-6-bc3-dx10.dds" "data/16x16x1-6-bc3-nomips.dds" "data/16x16x1-6-bc3-nomips-dx10.dds" "data/16x16x1-6-lumi.dds" "data/16x16x1-6-lumi-nomips.dds" "data/16x16x1-6-rgb.dds" "data/16x16x1-6-rgb-nomips.dds" "data/16x16-etc1.pkm" "data/16x16-etc2.pkm" +# TEMPLATE = "app" diff --git a/tests/auto/render/effect/CMakeLists.txt b/tests/auto/render/effect/CMakeLists.txt new file mode 100644 index 000000000..acee32cf3 --- /dev/null +++ b/tests/auto/render/effect/CMakeLists.txt @@ -0,0 +1,38 @@ +# Generated from effect.pro. + +##################################################################### +## tst_effect Test: +##################################################################### + +qt_add_test(tst_effect + SOURCES + ../commons/testrenderer.cpp ../commons/testrenderer.h + tst_effect.cpp + INCLUDE_DIRECTORIES + ../../core/common + ../commons + PUBLIC_LIBRARIES + Qt::3DCore + Qt::3DCorePrivate + Qt::3DRender + Qt::3DRenderPrivate + Qt::CorePrivate + Qt::Gui +) + +#### Keys ignored in scope 1:.:.:effect.pro:<TRUE>: +# TEMPLATE = "app" + +## Scopes: +##################################################################### + +qt_extend_target(tst_effect CONDITION QT_FEATURE_private_tests + SOURCES + ../../core/common/qbackendnodetester.cpp ../../core/common/qbackendnodetester.h + ../../core/common/testarbiter.h +) + +qt_extend_target(tst_effect CONDITION useCommonTestAspect + SOURCES + ../commons/testaspect.cpp ../commons/testaspect.h +) diff --git a/tests/auto/render/entity/CMakeLists.txt b/tests/auto/render/entity/CMakeLists.txt new file mode 100644 index 000000000..7ea655cb2 --- /dev/null +++ b/tests/auto/render/entity/CMakeLists.txt @@ -0,0 +1,31 @@ +# Generated from entity.pro. + +##################################################################### +## tst_entity Test: +##################################################################### + +qt_add_test(tst_entity + SOURCES + ../commons/testrenderer.cpp ../commons/testrenderer.h + tst_entity.cpp + INCLUDE_DIRECTORIES + ../commons + PUBLIC_LIBRARIES + Qt::3DCore + Qt::3DCorePrivate + Qt::3DRender + Qt::3DRenderPrivate + Qt::CorePrivate + Qt::Gui +) + +#### Keys ignored in scope 1:.:.:entity.pro:<TRUE>: +# TEMPLATE = "app" + +## Scopes: +##################################################################### + +qt_extend_target(tst_entity CONDITION useCommonTestAspect + SOURCES + ../commons/testaspect.cpp ../commons/testaspect.h +) diff --git a/tests/auto/render/filterentitybycomponent/CMakeLists.txt b/tests/auto/render/filterentitybycomponent/CMakeLists.txt new file mode 100644 index 000000000..d46b5f71e --- /dev/null +++ b/tests/auto/render/filterentitybycomponent/CMakeLists.txt @@ -0,0 +1,31 @@ +# Generated from filterentitybycomponent.pro. + +##################################################################### +## tst_filterentitybycomponent Test: +##################################################################### + +qt_add_test(tst_filterentitybycomponent + SOURCES + ../commons/testrenderer.cpp ../commons/testrenderer.h + tst_filterentitybycomponent.cpp + INCLUDE_DIRECTORIES + ../commons + PUBLIC_LIBRARIES + Qt::3DCore + Qt::3DCorePrivate + Qt::3DRender + Qt::3DRenderPrivate + Qt::CorePrivate + Qt::Gui +) + +#### Keys ignored in scope 1:.:.:filterentitybycomponent.pro:<TRUE>: +# TEMPLATE = "app" + +## Scopes: +##################################################################### + +qt_extend_target(tst_filterentitybycomponent CONDITION useCommonTestAspect + SOURCES + ../commons/testaspect.cpp ../commons/testaspect.h +) diff --git a/tests/auto/render/filterkey/CMakeLists.txt b/tests/auto/render/filterkey/CMakeLists.txt new file mode 100644 index 000000000..f274ab509 --- /dev/null +++ b/tests/auto/render/filterkey/CMakeLists.txt @@ -0,0 +1,38 @@ +# Generated from filterkey.pro. + +##################################################################### +## tst_filterkey Test: +##################################################################### + +qt_add_test(tst_filterkey + SOURCES + ../commons/testrenderer.cpp ../commons/testrenderer.h + tst_filterkey.cpp + INCLUDE_DIRECTORIES + ../../core/common + ../commons + PUBLIC_LIBRARIES + Qt::3DCore + Qt::3DCorePrivate + Qt::3DRender + Qt::3DRenderPrivate + Qt::CorePrivate + Qt::Gui +) + +#### Keys ignored in scope 1:.:.:filterkey.pro:<TRUE>: +# TEMPLATE = "app" + +## Scopes: +##################################################################### + +qt_extend_target(tst_filterkey CONDITION QT_FEATURE_private_tests + SOURCES + ../../core/common/qbackendnodetester.cpp ../../core/common/qbackendnodetester.h + ../../core/common/testarbiter.h +) + +qt_extend_target(tst_filterkey CONDITION useCommonTestAspect + SOURCES + ../commons/testaspect.cpp ../commons/testaspect.h +) diff --git a/tests/auto/render/framegraphnode/CMakeLists.txt b/tests/auto/render/framegraphnode/CMakeLists.txt new file mode 100644 index 000000000..92ddd7fda --- /dev/null +++ b/tests/auto/render/framegraphnode/CMakeLists.txt @@ -0,0 +1,38 @@ +# Generated from framegraphnode.pro. + +##################################################################### +## tst_framegraphnode Test: +##################################################################### + +qt_add_test(tst_framegraphnode + SOURCES + ../commons/testrenderer.cpp ../commons/testrenderer.h + tst_framegraphnode.cpp + INCLUDE_DIRECTORIES + ../../core/common + ../commons + PUBLIC_LIBRARIES + Qt::3DCore + Qt::3DCorePrivate + Qt::3DRender + Qt::3DRenderPrivate + Qt::CorePrivate + Qt::Gui +) + +#### Keys ignored in scope 1:.:.:framegraphnode.pro:<TRUE>: +# TEMPLATE = "app" + +## Scopes: +##################################################################### + +qt_extend_target(tst_framegraphnode CONDITION useCommonTestAspect + SOURCES + ../commons/testaspect.cpp ../commons/testaspect.h +) + +qt_extend_target(tst_framegraphnode CONDITION QT_FEATURE_private_tests + SOURCES + ../../core/common/qbackendnodetester.cpp ../../core/common/qbackendnodetester.h + ../../core/common/testarbiter.h +) diff --git a/tests/auto/render/framegraphvisitor/CMakeLists.txt b/tests/auto/render/framegraphvisitor/CMakeLists.txt new file mode 100644 index 000000000..0f23b49be --- /dev/null +++ b/tests/auto/render/framegraphvisitor/CMakeLists.txt @@ -0,0 +1,31 @@ +# Generated from framegraphvisitor.pro. + +##################################################################### +## tst_framegraphvisitor Test: +##################################################################### + +qt_add_test(tst_framegraphvisitor + SOURCES + ../commons/testrenderer.cpp ../commons/testrenderer.h + tst_framegraphvisitor.cpp + INCLUDE_DIRECTORIES + ../commons + PUBLIC_LIBRARIES + Qt::3DCore + Qt::3DCorePrivate + Qt::3DRender + Qt::3DRenderPrivate + Qt::CorePrivate + Qt::Gui +) + +#### Keys ignored in scope 1:.:.:framegraphvisitor.pro:<TRUE>: +# TEMPLATE = "app" + +## Scopes: +##################################################################### + +qt_extend_target(tst_framegraphvisitor CONDITION useCommonTestAspect + SOURCES + ../commons/testaspect.cpp ../commons/testaspect.h +) diff --git a/tests/auto/render/genericlambdajob/CMakeLists.txt b/tests/auto/render/genericlambdajob/CMakeLists.txt new file mode 100644 index 000000000..382eae3fa --- /dev/null +++ b/tests/auto/render/genericlambdajob/CMakeLists.txt @@ -0,0 +1,31 @@ +# Generated from genericlambdajob.pro. + +##################################################################### +## tst_genericlambdajob Test: +##################################################################### + +qt_add_test(tst_genericlambdajob + SOURCES + ../commons/testrenderer.cpp ../commons/testrenderer.h + tst_genericlambdajob.cpp + INCLUDE_DIRECTORIES + ../commons + PUBLIC_LIBRARIES + Qt::3DCore + Qt::3DCorePrivate + Qt::3DRender + Qt::3DRenderPrivate + Qt::CorePrivate + Qt::Gui +) + +#### Keys ignored in scope 1:.:.:genericlambdajob.pro:<TRUE>: +# TEMPLATE = "app" + +## Scopes: +##################################################################### + +qt_extend_target(tst_genericlambdajob CONDITION useCommonTestAspect + SOURCES + ../commons/testaspect.cpp ../commons/testaspect.h +) diff --git a/tests/auto/render/geometry/CMakeLists.txt b/tests/auto/render/geometry/CMakeLists.txt new file mode 100644 index 000000000..2f653a16e --- /dev/null +++ b/tests/auto/render/geometry/CMakeLists.txt @@ -0,0 +1,38 @@ +# Generated from geometry.pro. + +##################################################################### +## tst_geometry Test: +##################################################################### + +qt_add_test(tst_geometry + SOURCES + ../commons/testrenderer.cpp ../commons/testrenderer.h + tst_geometry.cpp + INCLUDE_DIRECTORIES + ../../core/common + ../commons + PUBLIC_LIBRARIES + Qt::3DCore + Qt::3DCorePrivate + Qt::3DRender + Qt::3DRenderPrivate + Qt::CorePrivate + Qt::Gui +) + +#### Keys ignored in scope 1:.:.:geometry.pro:<TRUE>: +# TEMPLATE = "app" + +## Scopes: +##################################################################### + +qt_extend_target(tst_geometry CONDITION QT_FEATURE_private_tests + SOURCES + ../../core/common/qbackendnodetester.cpp ../../core/common/qbackendnodetester.h + ../../core/common/testarbiter.h +) + +qt_extend_target(tst_geometry CONDITION useCommonTestAspect + SOURCES + ../commons/testaspect.cpp ../commons/testaspect.h +) diff --git a/tests/auto/render/geometryloaders/CMakeLists.txt b/tests/auto/render/geometryloaders/CMakeLists.txt new file mode 100644 index 000000000..dab7699c9 --- /dev/null +++ b/tests/auto/render/geometryloaders/CMakeLists.txt @@ -0,0 +1,39 @@ +# Generated from geometryloaders.pro. + +##################################################################### +## tst_geometryloaders Test: +##################################################################### + +qt_add_test(tst_geometryloaders + SOURCES + tst_geometryloaders.cpp + PUBLIC_LIBRARIES + Qt::3DCore + Qt::3DCorePrivate + Qt::3DExtras + Qt::3DRender + Qt::3DRenderPrivate + Qt::Gui +) + +# Resources: +set(geometryloaders_resource_files + "cube.fbx" + "cube.gltf" + "cube.obj" + "cube.ply" + "cube.stl" + "cube2.obj" + "cube_buffer.bin" +) + +qt_add_resource(tst_geometryloaders "geometryloaders" + PREFIX + "/" + FILES + ${geometryloaders_resource_files} +) + + +#### Keys ignored in scope 1:.:.:geometryloaders.pro:<TRUE>: +# TEMPLATE = "app" diff --git a/tests/auto/render/geometryrenderer/CMakeLists.txt b/tests/auto/render/geometryrenderer/CMakeLists.txt new file mode 100644 index 000000000..9b9ac31d8 --- /dev/null +++ b/tests/auto/render/geometryrenderer/CMakeLists.txt @@ -0,0 +1,38 @@ +# Generated from geometryrenderer.pro. + +##################################################################### +## tst_geometryrenderer Test: +##################################################################### + +qt_add_test(tst_geometryrenderer + SOURCES + ../commons/testrenderer.cpp ../commons/testrenderer.h + tst_geometryrenderer.cpp + INCLUDE_DIRECTORIES + ../../core/common + ../commons + PUBLIC_LIBRARIES + Qt::3DCore + Qt::3DCorePrivate + Qt::3DRender + Qt::3DRenderPrivate + Qt::CorePrivate + Qt::Gui +) + +#### Keys ignored in scope 1:.:.:geometryrenderer.pro:<TRUE>: +# TEMPLATE = "app" + +## Scopes: +##################################################################### + +qt_extend_target(tst_geometryrenderer CONDITION QT_FEATURE_private_tests + SOURCES + ../../core/common/qbackendnodetester.cpp ../../core/common/qbackendnodetester.h + ../../core/common/testarbiter.h +) + +qt_extend_target(tst_geometryrenderer CONDITION useCommonTestAspect + SOURCES + ../commons/testaspect.cpp ../commons/testaspect.h +) diff --git a/tests/auto/render/gltexture/CMakeLists.txt b/tests/auto/render/gltexture/CMakeLists.txt new file mode 100644 index 000000000..3402c7fe5 --- /dev/null +++ b/tests/auto/render/gltexture/CMakeLists.txt @@ -0,0 +1,32 @@ +# Generated from gltexture.pro. + +##################################################################### +## tst_gltexture Test: +##################################################################### + +qt_add_test(tst_gltexture + SOURCES + tst_gltexture.cpp + PUBLIC_LIBRARIES + Qt::3DCore + Qt::3DCorePrivate + Qt::3DRender + Qt::3DRenderPrivate + Qt::Gui +) + +# Resources: +set(resources_resource_files + "image.jpg" +) + +qt_add_resource(tst_gltexture "resources" + PREFIX + "/" + FILES + ${resources_resource_files} +) + + +#### Keys ignored in scope 1:.:.:gltexture.pro:<TRUE>: +# TEMPLATE = "app" diff --git a/tests/auto/render/gltfplugins/CMakeLists.txt b/tests/auto/render/gltfplugins/CMakeLists.txt new file mode 100644 index 000000000..fbb6fddec --- /dev/null +++ b/tests/auto/render/gltfplugins/CMakeLists.txt @@ -0,0 +1,40 @@ +# Generated from gltfplugins.pro. + +##################################################################### +## tst_gltfplugins Test: +##################################################################### + +qt_add_test(tst_gltfplugins + SOURCES + tst_gltfplugins.cpp + PUBLIC_LIBRARIES + Qt::3DCore + Qt::3DCorePrivate + Qt::3DExtras + Qt::3DRender + Qt::3DRenderPrivate + Qt::Gui +) + +# Resources: +set(images_resource_files + "ontopmaterial.frag" + "ontopmaterial.vert" + "ontopmaterialES2.frag" + "ontopmaterialES2.vert" + "qtlogo.png" + "qtlogo_normal.png" + "qtlogo_specular.png" + "qtlogo_with_alpha.png" +) + +qt_add_resource(tst_gltfplugins "images" + PREFIX + "/" + FILES + ${images_resource_files} +) + + +#### Keys ignored in scope 1:.:.:gltfplugins.pro:<TRUE>: +# TEMPLATE = "app" diff --git a/tests/auto/render/joint/CMakeLists.txt b/tests/auto/render/joint/CMakeLists.txt new file mode 100644 index 000000000..c70af13df --- /dev/null +++ b/tests/auto/render/joint/CMakeLists.txt @@ -0,0 +1,38 @@ +# Generated from joint.pro. + +##################################################################### +## tst_joint Test: +##################################################################### + +qt_add_test(tst_joint + SOURCES + ../commons/testrenderer.cpp ../commons/testrenderer.h + tst_joint.cpp + INCLUDE_DIRECTORIES + ../../core/common + ../commons + PUBLIC_LIBRARIES + Qt::3DCore + Qt::3DCorePrivate + Qt::3DRender + Qt::3DRenderPrivate + Qt::CorePrivate + Qt::Gui +) + +#### Keys ignored in scope 1:.:.:joint.pro:<TRUE>: +# TEMPLATE = "app" + +## Scopes: +##################################################################### + +qt_extend_target(tst_joint CONDITION QT_FEATURE_private_tests + SOURCES + ../../core/common/qbackendnodetester.cpp ../../core/common/qbackendnodetester.h + ../../core/common/testarbiter.h +) + +qt_extend_target(tst_joint CONDITION useCommonTestAspect + SOURCES + ../commons/testaspect.cpp ../commons/testaspect.h +) diff --git a/tests/auto/render/ktxtextures/CMakeLists.txt b/tests/auto/render/ktxtextures/CMakeLists.txt new file mode 100644 index 000000000..4a143a364 --- /dev/null +++ b/tests/auto/render/ktxtextures/CMakeLists.txt @@ -0,0 +1,27 @@ +# Generated from ktxtextures.pro. + +##################################################################### +## tst_ktxtextures Test: +##################################################################### + +# Collect test data +file(GLOB_RECURSE test_data_glob + RELATIVE ${CMAKE_CURRENT_SOURCE_DIR} + data/*) +list(APPEND test_data ${test_data_glob}) + +qt_add_test(tst_ktxtextures + SOURCES + tst_ktxtextures.cpp + PUBLIC_LIBRARIES + Qt::3DCore + Qt::3DCorePrivate + Qt::3DRender + Qt::3DRenderPrivate + Qt::CorePrivate + Qt::Gui + TESTDATA ${test_data} +) + +#### Keys ignored in scope 1:.:.:ktxtextures.pro:<TRUE>: +# TEMPLATE = "app" diff --git a/tests/auto/render/layerfiltering/CMakeLists.txt b/tests/auto/render/layerfiltering/CMakeLists.txt new file mode 100644 index 000000000..f7779eabc --- /dev/null +++ b/tests/auto/render/layerfiltering/CMakeLists.txt @@ -0,0 +1,31 @@ +# Generated from layerfiltering.pro. + +##################################################################### +## tst_layerfiltering Test: +##################################################################### + +qt_add_test(tst_layerfiltering + SOURCES + ../commons/testrenderer.cpp ../commons/testrenderer.h + tst_layerfiltering.cpp + INCLUDE_DIRECTORIES + ../commons + PUBLIC_LIBRARIES + Qt::3DCore + Qt::3DCorePrivate + Qt::3DRender + Qt::3DRenderPrivate + Qt::CorePrivate + Qt::Gui +) + +#### Keys ignored in scope 1:.:.:layerfiltering.pro:<TRUE>: +# TEMPLATE = "app" + +## Scopes: +##################################################################### + +qt_extend_target(tst_layerfiltering CONDITION useCommonTestAspect + SOURCES + ../commons/testaspect.cpp ../commons/testaspect.h +) diff --git a/tests/auto/render/levelofdetail/CMakeLists.txt b/tests/auto/render/levelofdetail/CMakeLists.txt new file mode 100644 index 000000000..362e001c3 --- /dev/null +++ b/tests/auto/render/levelofdetail/CMakeLists.txt @@ -0,0 +1,38 @@ +# Generated from levelofdetail.pro. + +##################################################################### +## tst_levelofdetail Test: +##################################################################### + +qt_add_test(tst_levelofdetail + SOURCES + ../commons/testrenderer.cpp ../commons/testrenderer.h + tst_levelofdetail.cpp + INCLUDE_DIRECTORIES + ../../core/common + ../commons + PUBLIC_LIBRARIES + Qt::3DCore + Qt::3DCorePrivate + Qt::3DRender + Qt::3DRenderPrivate + Qt::CorePrivate + Qt::Gui +) + +#### Keys ignored in scope 1:.:.:levelofdetail.pro:<TRUE>: +# TEMPLATE = "app" + +## Scopes: +##################################################################### + +qt_extend_target(tst_levelofdetail CONDITION QT_FEATURE_private_tests + SOURCES + ../../core/common/qbackendnodetester.cpp ../../core/common/qbackendnodetester.h + ../../core/common/testarbiter.h +) + +qt_extend_target(tst_levelofdetail CONDITION useCommonTestAspect + SOURCES + ../commons/testaspect.cpp ../commons/testaspect.h +) diff --git a/tests/auto/render/loadscenejob/CMakeLists.txt b/tests/auto/render/loadscenejob/CMakeLists.txt new file mode 100644 index 000000000..69164b1a0 --- /dev/null +++ b/tests/auto/render/loadscenejob/CMakeLists.txt @@ -0,0 +1,38 @@ +# Generated from loadscenejob.pro. + +##################################################################### +## tst_loadscenejob Test: +##################################################################### + +qt_add_test(tst_loadscenejob + SOURCES + ../commons/testrenderer.cpp ../commons/testrenderer.h + tst_loadscenejob.cpp + INCLUDE_DIRECTORIES + ../../core/common + ../commons + PUBLIC_LIBRARIES + Qt::3DCore + Qt::3DCorePrivate + Qt::3DRender + Qt::3DRenderPrivate + Qt::CorePrivate + Qt::Gui +) + +#### Keys ignored in scope 1:.:.:loadscenejob.pro:<TRUE>: +# TEMPLATE = "app" + +## Scopes: +##################################################################### + +qt_extend_target(tst_loadscenejob CONDITION QT_FEATURE_private_tests + SOURCES + ../../core/common/qbackendnodetester.cpp ../../core/common/qbackendnodetester.h + ../../core/common/testarbiter.h +) + +qt_extend_target(tst_loadscenejob CONDITION useCommonTestAspect + SOURCES + ../commons/testaspect.cpp ../commons/testaspect.h +) diff --git a/tests/auto/render/material/CMakeLists.txt b/tests/auto/render/material/CMakeLists.txt new file mode 100644 index 000000000..25eea6211 --- /dev/null +++ b/tests/auto/render/material/CMakeLists.txt @@ -0,0 +1,38 @@ +# Generated from material.pro. + +##################################################################### +## tst_material Test: +##################################################################### + +qt_add_test(tst_material + SOURCES + ../commons/testrenderer.cpp ../commons/testrenderer.h + tst_material.cpp + INCLUDE_DIRECTORIES + ../../core/common + ../commons + PUBLIC_LIBRARIES + Qt::3DCore + Qt::3DCorePrivate + Qt::3DRender + Qt::3DRenderPrivate + Qt::CorePrivate + Qt::Gui +) + +#### Keys ignored in scope 1:.:.:material.pro:<TRUE>: +# TEMPLATE = "app" + +## Scopes: +##################################################################### + +qt_extend_target(tst_material CONDITION QT_FEATURE_private_tests + SOURCES + ../../core/common/qbackendnodetester.cpp ../../core/common/qbackendnodetester.h + ../../core/common/testarbiter.h +) + +qt_extend_target(tst_material CONDITION useCommonTestAspect + SOURCES + ../commons/testaspect.cpp ../commons/testaspect.h +) diff --git a/tests/auto/render/memorybarrier/CMakeLists.txt b/tests/auto/render/memorybarrier/CMakeLists.txt new file mode 100644 index 000000000..91b889a54 --- /dev/null +++ b/tests/auto/render/memorybarrier/CMakeLists.txt @@ -0,0 +1,38 @@ +# Generated from memorybarrier.pro. + +##################################################################### +## tst_memorybarrier Test: +##################################################################### + +qt_add_test(tst_memorybarrier + SOURCES + ../commons/testrenderer.cpp ../commons/testrenderer.h + tst_memorybarrier.cpp + INCLUDE_DIRECTORIES + ../../core/common + ../commons + PUBLIC_LIBRARIES + Qt::3DCore + Qt::3DCorePrivate + Qt::3DRender + Qt::3DRenderPrivate + Qt::CorePrivate + Qt::Gui +) + +#### Keys ignored in scope 1:.:.:memorybarrier.pro:<TRUE>: +# TEMPLATE = "app" + +## Scopes: +##################################################################### + +qt_extend_target(tst_memorybarrier CONDITION QT_FEATURE_private_tests + SOURCES + ../../core/common/qbackendnodetester.cpp ../../core/common/qbackendnodetester.h + ../../core/common/testarbiter.h +) + +qt_extend_target(tst_memorybarrier CONDITION useCommonTestAspect + SOURCES + ../commons/testaspect.cpp ../commons/testaspect.h +) diff --git a/tests/auto/render/meshfunctors/CMakeLists.txt b/tests/auto/render/meshfunctors/CMakeLists.txt new file mode 100644 index 000000000..e3bb775ad --- /dev/null +++ b/tests/auto/render/meshfunctors/CMakeLists.txt @@ -0,0 +1,19 @@ +# Generated from meshfunctors.pro. + +##################################################################### +## tst_renderviews Test: +##################################################################### + +qt_add_test(tst_renderviews + SOURCES + tst_meshfunctors.cpp + PUBLIC_LIBRARIES + Qt::3DCore + Qt::3DCorePrivate + Qt::3DRender + Qt::3DRenderPrivate + Qt::Gui +) + +#### Keys ignored in scope 1:.:.:meshfunctors.pro:<TRUE>: +# TEMPLATE = "app" diff --git a/tests/auto/render/objectpicker/CMakeLists.txt b/tests/auto/render/objectpicker/CMakeLists.txt new file mode 100644 index 000000000..e4dca7dfa --- /dev/null +++ b/tests/auto/render/objectpicker/CMakeLists.txt @@ -0,0 +1,38 @@ +# Generated from objectpicker.pro. + +##################################################################### +## objectpicker Test: +##################################################################### + +qt_add_test(objectpicker + SOURCES + ../commons/testrenderer.cpp ../commons/testrenderer.h + tst_objectpicker.cpp + INCLUDE_DIRECTORIES + ../../core/common + ../commons + PUBLIC_LIBRARIES + Qt::3DCore + Qt::3DCorePrivate + Qt::3DRender + Qt::3DRenderPrivate + Qt::CorePrivate + Qt::Gui +) + +#### Keys ignored in scope 1:.:.:objectpicker.pro:<TRUE>: +# TEMPLATE = "app" + +## Scopes: +##################################################################### + +qt_extend_target(objectpicker CONDITION QT_FEATURE_private_tests + SOURCES + ../../core/common/qbackendnodetester.cpp ../../core/common/qbackendnodetester.h + ../../core/common/testarbiter.h +) + +qt_extend_target(objectpicker CONDITION useCommonTestAspect + SOURCES + ../commons/testaspect.cpp ../commons/testaspect.h +) diff --git a/tests/auto/render/opengl/CMakeLists.txt b/tests/auto/render/opengl/CMakeLists.txt new file mode 100644 index 000000000..f77c95aed --- /dev/null +++ b/tests/auto/render/opengl/CMakeLists.txt @@ -0,0 +1,21 @@ +# Generated from opengl.pro. + +add_subdirectory(filtercompatibletechniquejob) +add_subdirectory(graphicshelpergl3_3) +add_subdirectory(graphicshelpergl3_2) +add_subdirectory(graphicshelpergl2) +add_subdirectory(glshadermanager) +add_subdirectory(textures) +add_subdirectory(renderer) +add_subdirectory(renderviewutils) +add_subdirectory(renderviews) +add_subdirectory(renderqueue) +add_subdirectory(renderviewbuilder) +add_subdirectory(qgraphicsutils) +add_subdirectory(computecommand) +if(TARGET Qt::Quick) + add_subdirectory(materialparametergathererjob) +endif() +if(NOT MACOS) + add_subdirectory(graphicshelpergl4) +endif() diff --git a/tests/auto/render/opengl/computecommand/CMakeLists.txt b/tests/auto/render/opengl/computecommand/CMakeLists.txt new file mode 100644 index 000000000..c76abf6f1 --- /dev/null +++ b/tests/auto/render/opengl/computecommand/CMakeLists.txt @@ -0,0 +1,30 @@ +# Generated from computecommand.pro. + +##################################################################### +## tst_computecommand Test: +##################################################################### + +qt_add_test(tst_computecommandgl + SOURCES + tst_computecommand.cpp +) + +#### Keys ignored in scope 1:.:.:computecommand.pro:<TRUE>: +# TEMPLATE = "app" + +## Scopes: +##################################################################### + +include(../../commons/commons.cmake) +qt3d_setup_common_render_test(tst_computecommandgl USE_TEST_ASPECT) +include(${PROJECT_SOURCE_DIR}/src/plugins/renderers/opengl/opengl.cmake) +qt3d_setup_opengl_renderer_target(tst_computecommandgl) + +qt_extend_target(tst_computecommandgl CONDITION gcov + COMPILE_OPTIONS + -fprofile-arcs + -ftest-coverage + LINK_OPTIONS + "-fprofile-arcs" + "-ftest-coverage" +) diff --git a/tests/auto/render/opengl/computecommand/tst_computecommand.cpp b/tests/auto/render/opengl/computecommand/tst_computecommand.cpp index bbe999ce8..4f4f7a1fb 100644 --- a/tests/auto/render/opengl/computecommand/tst_computecommand.cpp +++ b/tests/auto/render/opengl/computecommand/tst_computecommand.cpp @@ -37,10 +37,9 @@ #include <Qt3DCore/private/qaspectmanager_p.h> #include <Qt3DCore/private/qscene_p.h> #include <renderer_p.h> -#include "qbackendnodetester.h" #include "testrenderer.h" #include "testarbiter.h" - +#include "qbackendnodetester.h" // tst_Renderer is a friend class of Renderer class tst_Renderer : public Qt3DRender::Render::OpenGL::Renderer diff --git a/tests/auto/render/opengl/filtercompatibletechniquejob/CMakeLists.txt b/tests/auto/render/opengl/filtercompatibletechniquejob/CMakeLists.txt new file mode 100644 index 000000000..1fa9bee37 --- /dev/null +++ b/tests/auto/render/opengl/filtercompatibletechniquejob/CMakeLists.txt @@ -0,0 +1,31 @@ +# Generated from filtercompatibletechniquejob.pro. + +##################################################################### +## tst_filtercompatibletechniquejob Test: +##################################################################### + +qt_add_test(tst_filtercompatibletechniquejob + SOURCES + tst_filtercompatibletechniquejob.cpp +) + +#### Keys ignored in scope 1:.:.:filtercompatibletechniquejob.pro:<TRUE>: +# TEMPLATE = "app" + +## Scopes: +##################################################################### + +include(../../commons/commons.cmake) +qt3d_setup_common_render_test(tst_filtercompatibletechniquejob USE_TEST_ASPECT) +qt3d_setup_common_test(tst_filtercompatibletechniquejob) +include(${PROJECT_SOURCE_DIR}/src/plugins/renderers/opengl/opengl.cmake) +qt3d_setup_opengl_renderer_target(tst_filtercompatibletechniquejob) + +qt_extend_target(tst_filtercompatibletechniquejob CONDITION gcov + COMPILE_OPTIONS + -fprofile-arcs + -ftest-coverage + LINK_OPTIONS + "-fprofile-arcs" + "-ftest-coverage" +) diff --git a/tests/auto/render/opengl/filtercompatibletechniquejob/tst_filtercompatibletechniquejob.cpp b/tests/auto/render/opengl/filtercompatibletechniquejob/tst_filtercompatibletechniquejob.cpp index e9dae6d97..556d99c3b 100644 --- a/tests/auto/render/opengl/filtercompatibletechniquejob/tst_filtercompatibletechniquejob.cpp +++ b/tests/auto/render/opengl/filtercompatibletechniquejob/tst_filtercompatibletechniquejob.cpp @@ -42,6 +42,8 @@ #include <submissioncontext_p.h> #include <filtercompatibletechniquejob_p.h> +#include "qbackendnodetester.h" + QT_BEGIN_NAMESPACE namespace Qt3DRender { diff --git a/tests/auto/render/opengl/glshadermanager/CMakeLists.txt b/tests/auto/render/opengl/glshadermanager/CMakeLists.txt new file mode 100644 index 000000000..0da95b156 --- /dev/null +++ b/tests/auto/render/opengl/glshadermanager/CMakeLists.txt @@ -0,0 +1,30 @@ +# Generated from glshadermanager.pro. + +##################################################################### +## tst_glshadermanager Test: +##################################################################### + +qt_add_test(tst_glshadermanager + SOURCES + tst_glshadermanager.cpp +) + +#### Keys ignored in scope 1:.:.:glshadermanager.pro:<TRUE>: +# TEMPLATE = "app" + +## Scopes: +##################################################################### + +include(../../commons/commons.cmake) +qt3d_setup_common_render_test(tst_glshadermanager USE_TEST_ASPECT) +include(${PROJECT_SOURCE_DIR}/src/plugins/renderers/opengl/opengl.cmake) +qt3d_setup_opengl_renderer_target(tst_glshadermanager) + +qt_extend_target(tst_glshadermanager CONDITION gcov + COMPILE_OPTIONS + -fprofile-arcs + -ftest-coverage + LINK_OPTIONS + "-fprofile-arcs" + "-ftest-coverage" +) diff --git a/tests/auto/render/opengl/graphicshelpergl2/CMakeLists.txt b/tests/auto/render/opengl/graphicshelpergl2/CMakeLists.txt new file mode 100644 index 000000000..427321382 --- /dev/null +++ b/tests/auto/render/opengl/graphicshelpergl2/CMakeLists.txt @@ -0,0 +1,30 @@ +# Generated from graphicshelpergl2.pro. + +##################################################################### +## tst_graphicshelpergl2 Test: +##################################################################### + +qt_add_test(tst_graphicshelpergl2 + SOURCES + tst_graphicshelpergl2.cpp +) + +#### Keys ignored in scope 1:.:.:graphicshelpergl2.pro:<TRUE>: +# TEMPLATE = "app" + +## Scopes: +##################################################################### + +include(../../commons/commons.cmake) +qt3d_setup_common_render_test(tst_graphicshelpergl2 USE_TEST_ASPECT) +include(${PROJECT_SOURCE_DIR}/src/plugins/renderers/opengl/opengl.cmake) +qt3d_setup_opengl_renderer_target(tst_graphicshelpergl2) + +qt_extend_target(tst_graphicshelpergl2 CONDITION gcov + COMPILE_OPTIONS + -fprofile-arcs + -ftest-coverage + LINK_OPTIONS + "-fprofile-arcs" + "-ftest-coverage" +) diff --git a/tests/auto/render/opengl/graphicshelpergl3_2/CMakeLists.txt b/tests/auto/render/opengl/graphicshelpergl3_2/CMakeLists.txt new file mode 100644 index 000000000..93a1e5e60 --- /dev/null +++ b/tests/auto/render/opengl/graphicshelpergl3_2/CMakeLists.txt @@ -0,0 +1,30 @@ +# Generated from graphicshelpergl3_2.pro. + +##################################################################### +## tst_graphicshelpergl3_2 Test: +##################################################################### + +qt_add_test(tst_graphicshelpergl3_2 + SOURCES + tst_graphicshelpergl3_2.cpp +) + +#### Keys ignored in scope 1:.:.:graphicshelpergl3_2.pro:<TRUE>: +# TEMPLATE = "app" + +## Scopes: +##################################################################### + +include(../../commons/commons.cmake) +qt3d_setup_common_render_test(tst_graphicshelpergl3_2 USE_TEST_ASPECT) +include(${PROJECT_SOURCE_DIR}/src/plugins/renderers/opengl/opengl.cmake) +qt3d_setup_opengl_renderer_target(tst_graphicshelpergl3_2) + +qt_extend_target(tst_graphicshelpergl3_2 CONDITION gcov + COMPILE_OPTIONS + -fprofile-arcs + -ftest-coverage + LINK_OPTIONS + "-fprofile-arcs" + "-ftest-coverage" +) diff --git a/tests/auto/render/opengl/graphicshelpergl3_3/CMakeLists.txt b/tests/auto/render/opengl/graphicshelpergl3_3/CMakeLists.txt new file mode 100644 index 000000000..028879f40 --- /dev/null +++ b/tests/auto/render/opengl/graphicshelpergl3_3/CMakeLists.txt @@ -0,0 +1,30 @@ +# Generated from graphicshelpergl3_3.pro. + +##################################################################### +## tst_graphicshelpergl3_3 Test: +##################################################################### + +qt_add_test(tst_graphicshelpergl3_3 + SOURCES + tst_graphicshelpergl3_3.cpp +) + +#### Keys ignored in scope 1:.:.:graphicshelpergl3_3.pro:<TRUE>: +# TEMPLATE = "app" + +## Scopes: +##################################################################### + +include(../../commons/commons.cmake) +qt3d_setup_common_render_test(tst_graphicshelpergl3_3 USE_TEST_ASPECT) +include(${PROJECT_SOURCE_DIR}/src/plugins/renderers/opengl/opengl.cmake) +qt3d_setup_opengl_renderer_target(tst_graphicshelpergl3_3) + +qt_extend_target(tst_graphicshelpergl3_3 CONDITION gcov + COMPILE_OPTIONS + -fprofile-arcs + -ftest-coverage + LINK_OPTIONS + "-fprofile-arcs" + "-ftest-coverage" +) diff --git a/tests/auto/render/opengl/graphicshelpergl4/CMakeLists.txt b/tests/auto/render/opengl/graphicshelpergl4/CMakeLists.txt new file mode 100644 index 000000000..4f466f0f2 --- /dev/null +++ b/tests/auto/render/opengl/graphicshelpergl4/CMakeLists.txt @@ -0,0 +1,30 @@ +# Generated from graphicshelpergl4.pro. + +##################################################################### +## tst_graphicshelpergl4 Test: +##################################################################### + +qt_add_test(tst_graphicshelpergl4 + SOURCES + tst_graphicshelpergl4.cpp +) + +#### Keys ignored in scope 1:.:.:graphicshelpergl4.pro:<TRUE>: +# TEMPLATE = "app" + +## Scopes: +##################################################################### + +include(../../commons/commons.cmake) +qt3d_setup_common_render_test(tst_graphicshelpergl4 USE_TEST_ASPECT) +include(${PROJECT_SOURCE_DIR}/src/plugins/renderers/opengl/opengl.cmake) +qt3d_setup_opengl_renderer_target(tst_graphicshelpergl4) + +qt_extend_target(tst_graphicshelpergl4 CONDITION gcov + COMPILE_OPTIONS + -fprofile-arcs + -ftest-coverage + LINK_OPTIONS + "-fprofile-arcs" + "-ftest-coverage" +) diff --git a/tests/auto/render/opengl/materialparametergathererjob/CMakeLists.txt b/tests/auto/render/opengl/materialparametergathererjob/CMakeLists.txt new file mode 100644 index 000000000..dfadad96e --- /dev/null +++ b/tests/auto/render/opengl/materialparametergathererjob/CMakeLists.txt @@ -0,0 +1,30 @@ +# Generated from materialparametergathererjob.pro. + +##################################################################### +## tst_materialparametergathererjob Test: +##################################################################### + +qt_add_test(tst_materialparametergathererjob + SOURCES + tst_materialparametergathererjob.cpp +) + +#### Keys ignored in scope 1:.:.:materialparametergathererjob.pro:<TRUE>: +# TEMPLATE = "app" + +## Scopes: +##################################################################### + +include(../../commons/commons.cmake) +qt3d_setup_common_render_test(tst_materialparametergathererjob) +include(${PROJECT_SOURCE_DIR}/src/plugins/renderers/opengl/opengl.cmake) +qt3d_setup_opengl_renderer_target(tst_materialparametergathererjob) + +qt_extend_target(tst_materialparametergathererjob CONDITION gcov + COMPILE_OPTIONS + -fprofile-arcs + -ftest-coverage + LINK_OPTIONS + "-fprofile-arcs" + "-ftest-coverage" +) diff --git a/tests/auto/render/opengl/qgraphicsutils/CMakeLists.txt b/tests/auto/render/opengl/qgraphicsutils/CMakeLists.txt new file mode 100644 index 000000000..06f00fd5a --- /dev/null +++ b/tests/auto/render/opengl/qgraphicsutils/CMakeLists.txt @@ -0,0 +1,30 @@ +# Generated from qgraphicsutils.pro. + +##################################################################### +## tst_qgraphicsutils Test: +##################################################################### + +qt_add_test(tst_qgraphicsutils + SOURCES + tst_qgraphicsutils.cpp +) + +#### Keys ignored in scope 1:.:.:qgraphicsutils.pro:<TRUE>: +# TEMPLATE = "app" + +## Scopes: +##################################################################### + +include(../../commons/commons.cmake) +qt3d_setup_common_render_test(tst_qgraphicsutils) +include(${PROJECT_SOURCE_DIR}/src/plugins/renderers/opengl/opengl.cmake) +qt3d_setup_opengl_renderer_target(tst_qgraphicsutils) + +qt_extend_target(tst_qgraphicsutils CONDITION gcov + COMPILE_OPTIONS + -fprofile-arcs + -ftest-coverage + LINK_OPTIONS + "-fprofile-arcs" + "-ftest-coverage" +) diff --git a/tests/auto/render/opengl/renderer/CMakeLists.txt b/tests/auto/render/opengl/renderer/CMakeLists.txt new file mode 100644 index 000000000..9cac82016 --- /dev/null +++ b/tests/auto/render/opengl/renderer/CMakeLists.txt @@ -0,0 +1,35 @@ +# Generated from renderer.pro. + +##################################################################### +## tst_renderer Test: +##################################################################### + +qt_add_test(tst_renderer + SOURCES + tst_renderer.cpp +) + +#### Keys ignored in scope 1:.:.:renderer.pro:<TRUE>: +# TEMPLATE = "app" + +## Scopes: +##################################################################### + +include(../../commons/commons.cmake) +qt3d_setup_common_render_test(tst_renderer USE_TEST_ASPECT) +include(${PROJECT_SOURCE_DIR}/src/plugins/renderers/opengl/opengl.cmake) +qt3d_setup_opengl_renderer_target(tst_renderer) + +qt_extend_target(tst_renderer CONDITION gcov + COMPILE_OPTIONS + -fprofile-arcs + -ftest-coverage + LINK_OPTIONS + "-fprofile-arcs" + "-ftest-coverage" +) + +qt_extend_target(tst_renderer CONDITION useCommonTestAspect + SOURCES + ../../commons/testaspect.cpp ../../commons/testaspect.h +) diff --git a/tests/auto/render/opengl/renderqueue/CMakeLists.txt b/tests/auto/render/opengl/renderqueue/CMakeLists.txt new file mode 100644 index 000000000..940aa1f65 --- /dev/null +++ b/tests/auto/render/opengl/renderqueue/CMakeLists.txt @@ -0,0 +1,30 @@ +# Generated from renderqueue.pro. + +##################################################################### +## tst_renderqueue Test: +##################################################################### + +qt_add_test(tst_renderqueue + SOURCES + tst_renderqueue.cpp +) + +#### Keys ignored in scope 1:.:.:renderqueue.pro:<TRUE>: +# TEMPLATE = "app" + +## Scopes: +##################################################################### + +include(../../commons/commons.cmake) +qt3d_setup_common_render_test(tst_renderqueue USE_TEST_ASPECT) +include(${PROJECT_SOURCE_DIR}/src/plugins/renderers/opengl/opengl.cmake) +qt3d_setup_opengl_renderer_target(tst_renderqueue) + +qt_extend_target(tst_renderqueue CONDITION gcov + COMPILE_OPTIONS + -fprofile-arcs + -ftest-coverage + LINK_OPTIONS + "-fprofile-arcs" + "-ftest-coverage" +) diff --git a/tests/auto/render/opengl/renderviewbuilder/CMakeLists.txt b/tests/auto/render/opengl/renderviewbuilder/CMakeLists.txt new file mode 100644 index 000000000..1e47584be --- /dev/null +++ b/tests/auto/render/opengl/renderviewbuilder/CMakeLists.txt @@ -0,0 +1,30 @@ +# Generated from renderviewbuilder.pro. + +##################################################################### +## tst_renderviewbuilder Test: +##################################################################### + +qt_add_test(tst_renderviewbuilder + SOURCES + tst_renderviewbuilder.cpp +) + +#### Keys ignored in scope 1:.:.:renderviewbuilder.pro:<TRUE>: +# TEMPLATE = "app" + +## Scopes: +##################################################################### + +include(../../commons/commons.cmake) +qt3d_setup_common_render_test(tst_renderviewbuilder) +include(${PROJECT_SOURCE_DIR}/src/plugins/renderers/opengl/opengl.cmake) +qt3d_setup_opengl_renderer_target(tst_renderviewbuilder) + +qt_extend_target(tst_renderviewbuilder CONDITION gcov + COMPILE_OPTIONS + -fprofile-arcs + -ftest-coverage + LINK_OPTIONS + "-fprofile-arcs" + "-ftest-coverage" +) diff --git a/tests/auto/render/opengl/renderviewbuilder/tst_renderviewbuilder.cpp b/tests/auto/render/opengl/renderviewbuilder/tst_renderviewbuilder.cpp index f092795e3..8e929e5da 100644 --- a/tests/auto/render/opengl/renderviewbuilder/tst_renderviewbuilder.cpp +++ b/tests/auto/render/opengl/renderviewbuilder/tst_renderviewbuilder.cpp @@ -87,10 +87,7 @@ public: }); } - ~TestAspect() - { - QRenderAspect::onUnregistered(); - } + ~TestAspect(); Qt3DRender::Render::NodeManagers *nodeManagers() const { @@ -116,6 +113,11 @@ private: QScopedPointer<Qt3DCore::QAspectJobManager> m_jobManager; }; +TestAspect::~TestAspect() +{ + QRenderAspect::onUnregistered(); +} + } // namespace Qt3DRender QT_END_NAMESPACE @@ -526,8 +528,8 @@ private Q_SLOTS: Qt3DRender::QTechniqueFilter *techniqueFilter = new Qt3DRender::QTechniqueFilter(frustumCulling); Qt3DRender::QRenderPassFilter *renderPassFilter = new Qt3DRender::QRenderPassFilter(techniqueFilter); Qt3DRender::QLayer *layer = new Qt3DRender::QLayer(); - layerFilter->addLayer(layer); + Qt3DRender::TestAspect testAspect(buildSimpleScene(viewport)); // THEN diff --git a/tests/auto/render/opengl/renderviews/CMakeLists.txt b/tests/auto/render/opengl/renderviews/CMakeLists.txt new file mode 100644 index 000000000..4a675c02e --- /dev/null +++ b/tests/auto/render/opengl/renderviews/CMakeLists.txt @@ -0,0 +1,30 @@ +# Generated from renderviews.pro. + +##################################################################### +## tst_renderviews Test: +##################################################################### + +qt_add_test(tst_renderviews + SOURCES + tst_renderviews.cpp +) + +#### Keys ignored in scope 1:.:.:renderviews.pro:<TRUE>: +# TEMPLATE = "app" + +## Scopes: +##################################################################### + +include(../../commons/commons.cmake) +qt3d_setup_common_render_test(tst_renderviews USE_TEST_ASPECT) +include(${PROJECT_SOURCE_DIR}/src/plugins/renderers/opengl/opengl.cmake) +qt3d_setup_opengl_renderer_target(tst_renderviews) + +qt_extend_target(tst_renderviews CONDITION gcov + COMPILE_OPTIONS + -fprofile-arcs + -ftest-coverage + LINK_OPTIONS + "-fprofile-arcs" + "-ftest-coverage" +) diff --git a/tests/auto/render/opengl/renderviewutils/CMakeLists.txt b/tests/auto/render/opengl/renderviewutils/CMakeLists.txt new file mode 100644 index 000000000..10cb1e0c7 --- /dev/null +++ b/tests/auto/render/opengl/renderviewutils/CMakeLists.txt @@ -0,0 +1,30 @@ +# Generated from renderviewutils.pro. + +##################################################################### +## tst_renderviewutils Test: +##################################################################### + +qt_add_test(tst_renderviewutils + SOURCES + tst_renderviewutils.cpp +) + +#### Keys ignored in scope 1:.:.:renderviewutils.pro:<TRUE>: +# TEMPLATE = "app" + +## Scopes: +##################################################################### + +include(../../commons/commons.cmake) +qt3d_setup_common_render_test(tst_renderviewutils USE_TEST_ASPECT) +include(${PROJECT_SOURCE_DIR}/src/plugins/renderers/opengl/opengl.cmake) +qt3d_setup_opengl_renderer_target(tst_renderviewutils) + +qt_extend_target(tst_renderviewutils CONDITION gcov + COMPILE_OPTIONS + -fprofile-arcs + -ftest-coverage + LINK_OPTIONS + "-fprofile-arcs" + "-ftest-coverage" +) diff --git a/tests/auto/render/opengl/textures/CMakeLists.txt b/tests/auto/render/opengl/textures/CMakeLists.txt new file mode 100644 index 000000000..59bdc8923 --- /dev/null +++ b/tests/auto/render/opengl/textures/CMakeLists.txt @@ -0,0 +1,30 @@ +# Generated from textures.pro. + +##################################################################### +## tst_textures Test: +##################################################################### + +qt_add_test(tst_textures + SOURCES + tst_textures.cpp +) + +#### Keys ignored in scope 1:.:.:textures.pro:<TRUE>: +# TEMPLATE = "app" + +## Scopes: +##################################################################### + +include(../../commons/commons.cmake) +qt3d_setup_common_render_test(tst_textures USE_TEST_ASPECT) +include(${PROJECT_SOURCE_DIR}/src/plugins/renderers/opengl/opengl.cmake) +qt3d_setup_opengl_renderer_target(tst_textures) + +qt_extend_target(tst_textures CONDITION gcov + COMPILE_OPTIONS + -fprofile-arcs + -ftest-coverage + LINK_OPTIONS + "-fprofile-arcs" + "-ftest-coverage" +) diff --git a/tests/auto/render/parameter/CMakeLists.txt b/tests/auto/render/parameter/CMakeLists.txt new file mode 100644 index 000000000..57fe863b6 --- /dev/null +++ b/tests/auto/render/parameter/CMakeLists.txt @@ -0,0 +1,38 @@ +# Generated from parameter.pro. + +##################################################################### +## tst_parameter Test: +##################################################################### + +qt_add_test(tst_parameter + SOURCES + ../commons/testrenderer.cpp ../commons/testrenderer.h + tst_parameter.cpp + INCLUDE_DIRECTORIES + ../../core/common + ../commons + PUBLIC_LIBRARIES + Qt::3DCore + Qt::3DCorePrivate + Qt::3DRender + Qt::3DRenderPrivate + Qt::CorePrivate + Qt::Gui +) + +#### Keys ignored in scope 1:.:.:parameter.pro:<TRUE>: +# TEMPLATE = "app" + +## Scopes: +##################################################################### + +qt_extend_target(tst_parameter CONDITION QT_FEATURE_private_tests + SOURCES + ../../core/common/qbackendnodetester.cpp ../../core/common/qbackendnodetester.h + ../../core/common/testarbiter.h +) + +qt_extend_target(tst_parameter CONDITION useCommonTestAspect + SOURCES + ../commons/testaspect.cpp ../commons/testaspect.h +) diff --git a/tests/auto/render/pickboundingvolumejob/CMakeLists.txt b/tests/auto/render/pickboundingvolumejob/CMakeLists.txt new file mode 100644 index 000000000..2521850f7 --- /dev/null +++ b/tests/auto/render/pickboundingvolumejob/CMakeLists.txt @@ -0,0 +1,70 @@ +# Generated from pickboundingvolumejob.pro. + +##################################################################### +## tst_pickboundingvolumejob Test: +##################################################################### + +qt_add_test(tst_pickboundingvolumejob + SOURCES + ../commons/testrenderer.cpp ../commons/testrenderer.h + ../qmlscenereader/qmlscenereader.cpp ../qmlscenereader/qmlscenereader.h + tst_pickboundingvolumejob.cpp + INCLUDE_DIRECTORIES + ../../core/common + ../commons + ../qmlscenereader + PUBLIC_LIBRARIES + Qt::3DCore + Qt::3DCorePrivate + Qt::3DExtras + Qt::3DQuick + Qt::3DQuickPrivate + Qt::3DQuickExtras + Qt::3DRender + Qt::3DRenderPrivate + Qt::CorePrivate + Qt::Gui + Qt::Qml + Qt::Quick +) + +# Resources: +set(pickboundingvolumejob_resource_files + "testscene_cameraposition.qml" + "testscene_childentity.qml" + "testscene_dragdisabled.qml" + "testscene_dragenabled.qml" + "testscene_dragenabledhoverenabled.qml" + "testscene_dragenabledoverlapping.qml" + "testscene_improperframegraph.qml" + "testscene_nopicking.qml" + "testscene_parententity.qml" + "testscene_pickersdisabled.qml" + "testscene_priorityoverlapping.qml" + "testscene_viewports.qml" +) + +qt_add_resource(tst_pickboundingvolumejob "pickboundingvolumejob" + PREFIX + "/" + FILES + ${pickboundingvolumejob_resource_files} +) + + +#### Keys ignored in scope 1:.:.:pickboundingvolumejob.pro:<TRUE>: +# TEMPLATE = "app" + +## Scopes: +##################################################################### + +qt_extend_target(tst_pickboundingvolumejob CONDITION useCommonTestAspect + SOURCES + ../commons/testaspect.cpp ../commons/testaspect.h +) + +qt_extend_target(tst_pickboundingvolumejob CONDITION QT_FEATURE_private_tests + SOURCES + ../../core/common/qbackendnodetester.cpp ../../core/common/qbackendnodetester.h + ../../core/common/testarbiter.h +) diff --git a/tests/auto/render/picking/CMakeLists.txt b/tests/auto/render/picking/CMakeLists.txt new file mode 100644 index 000000000..cec82aabc --- /dev/null +++ b/tests/auto/render/picking/CMakeLists.txt @@ -0,0 +1,21 @@ +# Generated from picking.pro. + +##################################################################### +## tst_picking Test: +##################################################################### + +qt_add_test(tst_picking + SOURCES + tst_picking.cpp + PUBLIC_LIBRARIES + Qt::3DCore + Qt::3DCorePrivate + Qt::3DExtras + Qt::3DRender + Qt::3DRenderPrivate + Qt::CorePrivate + Qt::Gui +) + +#### Keys ignored in scope 1:.:.:picking.pro:<TRUE>: +# TEMPLATE = "app" diff --git a/tests/auto/render/proximityfilter/CMakeLists.txt b/tests/auto/render/proximityfilter/CMakeLists.txt new file mode 100644 index 000000000..aab3248bc --- /dev/null +++ b/tests/auto/render/proximityfilter/CMakeLists.txt @@ -0,0 +1,38 @@ +# Generated from proximityfilter.pro. + +##################################################################### +## tst_proximityfilter Test: +##################################################################### + +qt_add_test(tst_proximityfilter + SOURCES + ../commons/testrenderer.cpp ../commons/testrenderer.h + tst_proximityfilter.cpp + INCLUDE_DIRECTORIES + ../../core/common + ../commons + PUBLIC_LIBRARIES + Qt::3DCore + Qt::3DCorePrivate + Qt::3DRender + Qt::3DRenderPrivate + Qt::CorePrivate + Qt::Gui +) + +#### Keys ignored in scope 1:.:.:proximityfilter.pro:<TRUE>: +# TEMPLATE = "app" + +## Scopes: +##################################################################### + +qt_extend_target(tst_proximityfilter CONDITION QT_FEATURE_private_tests + SOURCES + ../../core/common/qbackendnodetester.cpp ../../core/common/qbackendnodetester.h + ../../core/common/testarbiter.h +) + +qt_extend_target(tst_proximityfilter CONDITION useCommonTestAspect + SOURCES + ../commons/testaspect.cpp ../commons/testaspect.h +) diff --git a/tests/auto/render/proximityfiltering/CMakeLists.txt b/tests/auto/render/proximityfiltering/CMakeLists.txt new file mode 100644 index 000000000..b4edb9705 --- /dev/null +++ b/tests/auto/render/proximityfiltering/CMakeLists.txt @@ -0,0 +1,31 @@ +# Generated from proximityfiltering.pro. + +##################################################################### +## tst_proximityfiltering Test: +##################################################################### + +qt_add_test(tst_proximityfiltering + SOURCES + ../commons/testrenderer.cpp ../commons/testrenderer.h + tst_proximityfiltering.cpp + INCLUDE_DIRECTORIES + ../commons + PUBLIC_LIBRARIES + Qt::3DCore + Qt::3DCorePrivate + Qt::3DRender + Qt::3DRenderPrivate + Qt::CorePrivate + Qt::Gui +) + +#### Keys ignored in scope 1:.:.:proximityfiltering.pro:<TRUE>: +# TEMPLATE = "app" + +## Scopes: +##################################################################### + +qt_extend_target(tst_proximityfiltering CONDITION useCommonTestAspect + SOURCES + ../commons/testaspect.cpp ../commons/testaspect.h +) diff --git a/tests/auto/render/qabstractlight/CMakeLists.txt b/tests/auto/render/qabstractlight/CMakeLists.txt new file mode 100644 index 000000000..d5e5f8f1b --- /dev/null +++ b/tests/auto/render/qabstractlight/CMakeLists.txt @@ -0,0 +1,31 @@ +# Generated from qabstractlight.pro. + +##################################################################### +## tst_qabstractlight Test: +##################################################################### + +qt_add_test(tst_qabstractlight + SOURCES + tst_qabstractlight.cpp + INCLUDE_DIRECTORIES + ../../core/common + PUBLIC_LIBRARIES + Qt::3DCore + Qt::3DCorePrivate + Qt::3DRender + Qt::3DRenderPrivate + Qt::CorePrivate + Qt::Gui +) + +#### Keys ignored in scope 1:.:.:qabstractlight.pro:<TRUE>: +# TEMPLATE = "app" + +## Scopes: +##################################################################### + +qt_extend_target(tst_qabstractlight CONDITION QT_FEATURE_private_tests + SOURCES + ../../core/common/qbackendnodetester.cpp ../../core/common/qbackendnodetester.h + ../../core/common/testarbiter.h +) diff --git a/tests/auto/render/qabstracttexture/CMakeLists.txt b/tests/auto/render/qabstracttexture/CMakeLists.txt new file mode 100644 index 000000000..d49db3b7b --- /dev/null +++ b/tests/auto/render/qabstracttexture/CMakeLists.txt @@ -0,0 +1,38 @@ +# Generated from qabstracttexture.pro. + +##################################################################### +## tst_qabstracttexture Test: +##################################################################### + +qt_add_test(tst_qabstracttexture + SOURCES + ../commons/testrenderer.cpp ../commons/testrenderer.h + tst_qabstracttexture.cpp + INCLUDE_DIRECTORIES + ../../core/common + ../commons + PUBLIC_LIBRARIES + Qt::3DCore + Qt::3DCorePrivate + Qt::3DRender + Qt::3DRenderPrivate + Qt::CorePrivate + Qt::Gui +) + +#### Keys ignored in scope 1:.:.:qabstracttexture.pro:<TRUE>: +# TEMPLATE = "app" + +## Scopes: +##################################################################### + +qt_extend_target(tst_qabstracttexture CONDITION QT_FEATURE_private_tests + SOURCES + ../../core/common/qbackendnodetester.cpp ../../core/common/qbackendnodetester.h + ../../core/common/testarbiter.h +) + +qt_extend_target(tst_qabstracttexture CONDITION useCommonTestAspect + SOURCES + ../commons/testaspect.cpp ../commons/testaspect.h +) diff --git a/tests/auto/render/qabstracttextureimage/CMakeLists.txt b/tests/auto/render/qabstracttextureimage/CMakeLists.txt new file mode 100644 index 000000000..321968ea5 --- /dev/null +++ b/tests/auto/render/qabstracttextureimage/CMakeLists.txt @@ -0,0 +1,38 @@ +# Generated from qabstracttextureimage.pro. + +##################################################################### +## tst_qabstracttextureimage Test: +##################################################################### + +qt_add_test(tst_qabstracttextureimage + SOURCES + ../commons/testrenderer.cpp ../commons/testrenderer.h + tst_qabstracttextureimage.cpp + INCLUDE_DIRECTORIES + ../../core/common + ../commons + PUBLIC_LIBRARIES + Qt::3DCore + Qt::3DCorePrivate + Qt::3DRender + Qt::3DRenderPrivate + Qt::CorePrivate + Qt::Gui +) + +#### Keys ignored in scope 1:.:.:qabstracttextureimage.pro:<TRUE>: +# TEMPLATE = "app" + +## Scopes: +##################################################################### + +qt_extend_target(tst_qabstracttextureimage CONDITION QT_FEATURE_private_tests + SOURCES + ../../core/common/qbackendnodetester.cpp ../../core/common/qbackendnodetester.h + ../../core/common/testarbiter.h +) + +qt_extend_target(tst_qabstracttextureimage CONDITION useCommonTestAspect + SOURCES + ../commons/testaspect.cpp ../commons/testaspect.h +) diff --git a/tests/auto/render/qattribute/CMakeLists.txt b/tests/auto/render/qattribute/CMakeLists.txt new file mode 100644 index 000000000..433b14d6f --- /dev/null +++ b/tests/auto/render/qattribute/CMakeLists.txt @@ -0,0 +1,38 @@ +# Generated from qattribute.pro. + +##################################################################### +## tst_qattribute Test: +##################################################################### + +qt_add_test(tst_qattribute + SOURCES + ../commons/testrenderer.cpp ../commons/testrenderer.h + tst_qattribute.cpp + INCLUDE_DIRECTORIES + ../../core/common + ../commons + PUBLIC_LIBRARIES + Qt::3DCore + Qt::3DCorePrivate + Qt::3DRender + Qt::3DRenderPrivate + Qt::CorePrivate + Qt::Gui +) + +#### Keys ignored in scope 1:.:.:qattribute.pro:<TRUE>: +# TEMPLATE = "app" + +## Scopes: +##################################################################### + +qt_extend_target(tst_qattribute CONDITION QT_FEATURE_private_tests + SOURCES + ../../core/common/qbackendnodetester.cpp ../../core/common/qbackendnodetester.h + ../../core/common/testarbiter.h +) + +qt_extend_target(tst_qattribute CONDITION useCommonTestAspect + SOURCES + ../commons/testaspect.cpp ../commons/testaspect.h +) diff --git a/tests/auto/render/qblitframebuffer/CMakeLists.txt b/tests/auto/render/qblitframebuffer/CMakeLists.txt new file mode 100644 index 000000000..2ce0fd223 --- /dev/null +++ b/tests/auto/render/qblitframebuffer/CMakeLists.txt @@ -0,0 +1,31 @@ +# Generated from qblitframebuffer.pro. + +##################################################################### +## tst_qblitframebuffer Test: +##################################################################### + +qt_add_test(tst_qblitframebuffer + SOURCES + tst_qblitframebuffer.cpp + INCLUDE_DIRECTORIES + ../../core/common + PUBLIC_LIBRARIES + Qt::3DCore + Qt::3DCorePrivate + Qt::3DRender + Qt::3DRenderPrivate + Qt::CorePrivate + Qt::Gui +) + +#### Keys ignored in scope 1:.:.:qblitframebuffer.pro:<TRUE>: +# TEMPLATE = "app" + +## Scopes: +##################################################################### + +qt_extend_target(tst_qblitframebuffer CONDITION QT_FEATURE_private_tests + SOURCES + ../../core/common/qbackendnodetester.cpp ../../core/common/qbackendnodetester.h + ../../core/common/testarbiter.h +) diff --git a/tests/auto/render/qboundingvolumedebug/CMakeLists.txt b/tests/auto/render/qboundingvolumedebug/CMakeLists.txt new file mode 100644 index 000000000..ae53b2635 --- /dev/null +++ b/tests/auto/render/qboundingvolumedebug/CMakeLists.txt @@ -0,0 +1,31 @@ +# Generated from qboundingvolumedebug.pro. + +##################################################################### +## tst_qboundingvolumedebug Test: +##################################################################### + +qt_add_test(tst_qboundingvolumedebug + SOURCES + ../commons/testrenderer.cpp ../commons/testrenderer.h + tst_qboundingvolumedebug.cpp + INCLUDE_DIRECTORIES + ../commons + PUBLIC_LIBRARIES + Qt::3DCore + Qt::3DCorePrivate + Qt::3DRender + Qt::3DRenderPrivate + Qt::CorePrivate + Qt::Gui +) + +#### Keys ignored in scope 1:.:.:qboundingvolumedebug.pro:<TRUE>: +# TEMPLATE = "app" + +## Scopes: +##################################################################### + +qt_extend_target(tst_qboundingvolumedebug CONDITION useCommonTestAspect + SOURCES + ../commons/testaspect.cpp ../commons/testaspect.h +) diff --git a/tests/auto/render/qbuffer/CMakeLists.txt b/tests/auto/render/qbuffer/CMakeLists.txt new file mode 100644 index 000000000..1a9fc0d3a --- /dev/null +++ b/tests/auto/render/qbuffer/CMakeLists.txt @@ -0,0 +1,38 @@ +# Generated from qbuffer.pro. + +##################################################################### +## tst_qbuffer Test: +##################################################################### + +qt_add_test(tst_qbuffer + SOURCES + ../commons/testrenderer.cpp ../commons/testrenderer.h + tst_qbuffer.cpp + INCLUDE_DIRECTORIES + ../../core/common + ../commons + PUBLIC_LIBRARIES + Qt::3DCore + Qt::3DCorePrivate + Qt::3DRender + Qt::3DRenderPrivate + Qt::CorePrivate + Qt::Gui +) + +#### Keys ignored in scope 1:.:.:qbuffer.pro:<TRUE>: +# TEMPLATE = "app" + +## Scopes: +##################################################################### + +qt_extend_target(tst_qbuffer CONDITION QT_FEATURE_private_tests + SOURCES + ../../core/common/qbackendnodetester.cpp ../../core/common/qbackendnodetester.h + ../../core/common/testarbiter.h +) + +qt_extend_target(tst_qbuffer CONDITION useCommonTestAspect + SOURCES + ../commons/testaspect.cpp ../commons/testaspect.h +) diff --git a/tests/auto/render/qcamera/CMakeLists.txt b/tests/auto/render/qcamera/CMakeLists.txt new file mode 100644 index 000000000..b3fd30c6a --- /dev/null +++ b/tests/auto/render/qcamera/CMakeLists.txt @@ -0,0 +1,38 @@ +# Generated from qcamera.pro. + +##################################################################### +## tst_qcamera Test: +##################################################################### + +qt_add_test(tst_qcamera + SOURCES + ../commons/testrenderer.cpp ../commons/testrenderer.h + tst_qcamera.cpp + INCLUDE_DIRECTORIES + ../../core/common + ../commons + PUBLIC_LIBRARIES + Qt::3DCore + Qt::3DCorePrivate + Qt::3DRender + Qt::3DRenderPrivate + Qt::CorePrivate + Qt::Gui +) + +#### Keys ignored in scope 1:.:.:qcamera.pro:<TRUE>: +# TEMPLATE = "app" + +## Scopes: +##################################################################### + +qt_extend_target(tst_qcamera CONDITION QT_FEATURE_private_tests + SOURCES + ../../core/common/qbackendnodetester.cpp ../../core/common/qbackendnodetester.h + ../../core/common/testarbiter.h +) + +qt_extend_target(tst_qcamera CONDITION useCommonTestAspect + SOURCES + ../commons/testaspect.cpp ../commons/testaspect.h +) diff --git a/tests/auto/render/qcameralens/CMakeLists.txt b/tests/auto/render/qcameralens/CMakeLists.txt new file mode 100644 index 000000000..be3eea5f1 --- /dev/null +++ b/tests/auto/render/qcameralens/CMakeLists.txt @@ -0,0 +1,38 @@ +# Generated from qcameralens.pro. + +##################################################################### +## tst_qcameralens Test: +##################################################################### + +qt_add_test(tst_qcameralens + SOURCES + ../commons/testrenderer.cpp ../commons/testrenderer.h + tst_qcameralens.cpp + INCLUDE_DIRECTORIES + ../../core/common + ../commons + PUBLIC_LIBRARIES + Qt::3DCore + Qt::3DCorePrivate + Qt::3DRender + Qt::3DRenderPrivate + Qt::CorePrivate + Qt::Gui +) + +#### Keys ignored in scope 1:.:.:qcameralens.pro:<TRUE>: +# TEMPLATE = "app" + +## Scopes: +##################################################################### + +qt_extend_target(tst_qcameralens CONDITION QT_FEATURE_private_tests + SOURCES + ../../core/common/qbackendnodetester.cpp ../../core/common/qbackendnodetester.h + ../../core/common/testarbiter.h +) + +qt_extend_target(tst_qcameralens CONDITION useCommonTestAspect + SOURCES + ../commons/testaspect.cpp ../commons/testaspect.h +) diff --git a/tests/auto/render/qcameraselector/CMakeLists.txt b/tests/auto/render/qcameraselector/CMakeLists.txt new file mode 100644 index 000000000..8ab124bdd --- /dev/null +++ b/tests/auto/render/qcameraselector/CMakeLists.txt @@ -0,0 +1,31 @@ +# Generated from qcameraselector.pro. + +##################################################################### +## tst_qcameraselector Test: +##################################################################### + +qt_add_test(tst_qcameraselector + SOURCES + tst_qcameraselector.cpp + INCLUDE_DIRECTORIES + ../../core/common + PUBLIC_LIBRARIES + Qt::3DCore + Qt::3DCorePrivate + Qt::3DRender + Qt::3DRenderPrivate + Qt::CorePrivate + Qt::Gui +) + +#### Keys ignored in scope 1:.:.:qcameraselector.pro:<TRUE>: +# TEMPLATE = "app" + +## Scopes: +##################################################################### + +qt_extend_target(tst_qcameraselector CONDITION QT_FEATURE_private_tests + SOURCES + ../../core/common/qbackendnodetester.cpp ../../core/common/qbackendnodetester.h + ../../core/common/testarbiter.h +) diff --git a/tests/auto/render/qclearbuffers/CMakeLists.txt b/tests/auto/render/qclearbuffers/CMakeLists.txt new file mode 100644 index 000000000..035b15891 --- /dev/null +++ b/tests/auto/render/qclearbuffers/CMakeLists.txt @@ -0,0 +1,31 @@ +# Generated from qclearbuffers.pro. + +##################################################################### +## tst_qclearbuffer Test: +##################################################################### + +qt_add_test(tst_qclearbuffer + SOURCES + tst_qclearbuffers.cpp + INCLUDE_DIRECTORIES + ../../core/common + PUBLIC_LIBRARIES + Qt::3DCore + Qt::3DCorePrivate + Qt::3DRender + Qt::3DRenderPrivate + Qt::CorePrivate + Qt::Gui +) + +#### Keys ignored in scope 1:.:.:qclearbuffers.pro:<TRUE>: +# TEMPLATE = "app" + +## Scopes: +##################################################################### + +qt_extend_target(tst_qclearbuffer CONDITION QT_FEATURE_private_tests + SOURCES + ../../core/common/qbackendnodetester.cpp ../../core/common/qbackendnodetester.h + ../../core/common/testarbiter.h +) diff --git a/tests/auto/render/qcomputecommand/CMakeLists.txt b/tests/auto/render/qcomputecommand/CMakeLists.txt new file mode 100644 index 000000000..b5db22c1c --- /dev/null +++ b/tests/auto/render/qcomputecommand/CMakeLists.txt @@ -0,0 +1,38 @@ +# Generated from qcomputecommand.pro. + +##################################################################### +## tst_qcomputecommand Test: +##################################################################### + +qt_add_test(tst_qcomputecommand + SOURCES + ../commons/testrenderer.cpp ../commons/testrenderer.h + tst_qcomputecommand.cpp + INCLUDE_DIRECTORIES + ../../core/common + ../commons + PUBLIC_LIBRARIES + Qt::3DCore + Qt::3DCorePrivate + Qt::3DRender + Qt::3DRenderPrivate + Qt::CorePrivate + Qt::Gui +) + +#### Keys ignored in scope 1:.:.:qcomputecommand.pro:<TRUE>: +# TEMPLATE = "app" + +## Scopes: +##################################################################### + +qt_extend_target(tst_qcomputecommand CONDITION QT_FEATURE_private_tests + SOURCES + ../../core/common/qbackendnodetester.cpp ../../core/common/qbackendnodetester.h + ../../core/common/testarbiter.h +) + +qt_extend_target(tst_qcomputecommand CONDITION useCommonTestAspect + SOURCES + ../commons/testaspect.cpp ../commons/testaspect.h +) diff --git a/tests/auto/render/qdispatchcompute/CMakeLists.txt b/tests/auto/render/qdispatchcompute/CMakeLists.txt new file mode 100644 index 000000000..7ff7bd115 --- /dev/null +++ b/tests/auto/render/qdispatchcompute/CMakeLists.txt @@ -0,0 +1,38 @@ +# Generated from qdispatchcompute.pro. + +##################################################################### +## tst_qdispatchcompute Test: +##################################################################### + +qt_add_test(tst_qdispatchcompute + SOURCES + ../commons/testrenderer.cpp ../commons/testrenderer.h + tst_qdispatchcompute.cpp + INCLUDE_DIRECTORIES + ../../core/common + ../commons + PUBLIC_LIBRARIES + Qt::3DCore + Qt::3DCorePrivate + Qt::3DRender + Qt::3DRenderPrivate + Qt::CorePrivate + Qt::Gui +) + +#### Keys ignored in scope 1:.:.:qdispatchcompute.pro:<TRUE>: +# TEMPLATE = "app" + +## Scopes: +##################################################################### + +qt_extend_target(tst_qdispatchcompute CONDITION QT_FEATURE_private_tests + SOURCES + ../../core/common/qbackendnodetester.cpp ../../core/common/qbackendnodetester.h + ../../core/common/testarbiter.h +) + +qt_extend_target(tst_qdispatchcompute CONDITION useCommonTestAspect + SOURCES + ../commons/testaspect.cpp ../commons/testaspect.h +) diff --git a/tests/auto/render/qeffect/CMakeLists.txt b/tests/auto/render/qeffect/CMakeLists.txt new file mode 100644 index 000000000..129e2c00e --- /dev/null +++ b/tests/auto/render/qeffect/CMakeLists.txt @@ -0,0 +1,38 @@ +# Generated from qeffect.pro. + +##################################################################### +## tst_qeffect Test: +##################################################################### + +qt_add_test(tst_qeffect + SOURCES + ../commons/testrenderer.cpp ../commons/testrenderer.h + tst_qeffect.cpp + INCLUDE_DIRECTORIES + ../../core/common + ../commons + PUBLIC_LIBRARIES + Qt::3DCore + Qt::3DCorePrivate + Qt::3DRender + Qt::3DRenderPrivate + Qt::CorePrivate + Qt::Gui +) + +#### Keys ignored in scope 1:.:.:qeffect.pro:<TRUE>: +# TEMPLATE = "app" + +## Scopes: +##################################################################### + +qt_extend_target(tst_qeffect CONDITION QT_FEATURE_private_tests + SOURCES + ../../core/common/qbackendnodetester.cpp ../../core/common/qbackendnodetester.h + ../../core/common/testarbiter.h +) + +qt_extend_target(tst_qeffect CONDITION useCommonTestAspect + SOURCES + ../commons/testaspect.cpp ../commons/testaspect.h +) diff --git a/tests/auto/render/qenvironmentlight/CMakeLists.txt b/tests/auto/render/qenvironmentlight/CMakeLists.txt new file mode 100644 index 000000000..dbcb9b335 --- /dev/null +++ b/tests/auto/render/qenvironmentlight/CMakeLists.txt @@ -0,0 +1,31 @@ +# Generated from qenvironmentlight.pro. + +##################################################################### +## tst_environmentlight Test: +##################################################################### + +qt_add_test(tst_environmentlight + SOURCES + tst_qenvironmentlight.cpp + INCLUDE_DIRECTORIES + ../../core/common + PUBLIC_LIBRARIES + Qt::3DCore + Qt::3DCorePrivate + Qt::3DRender + Qt::3DRenderPrivate + Qt::CorePrivate + Qt::Gui +) + +#### Keys ignored in scope 1:.:.:qenvironmentlight.pro:<TRUE>: +# TEMPLATE = "app" + +## Scopes: +##################################################################### + +qt_extend_target(tst_environmentlight CONDITION QT_FEATURE_private_tests + SOURCES + ../../core/common/qbackendnodetester.cpp ../../core/common/qbackendnodetester.h + ../../core/common/testarbiter.h +) diff --git a/tests/auto/render/qfilterkey/CMakeLists.txt b/tests/auto/render/qfilterkey/CMakeLists.txt new file mode 100644 index 000000000..127df2198 --- /dev/null +++ b/tests/auto/render/qfilterkey/CMakeLists.txt @@ -0,0 +1,38 @@ +# Generated from qfilterkey.pro. + +##################################################################### +## tst_qfilterkey Test: +##################################################################### + +qt_add_test(tst_qfilterkey + SOURCES + ../commons/testrenderer.cpp ../commons/testrenderer.h + tst_qfilterkey.cpp + INCLUDE_DIRECTORIES + ../../core/common + ../commons + PUBLIC_LIBRARIES + Qt::3DCore + Qt::3DCorePrivate + Qt::3DRender + Qt::3DRenderPrivate + Qt::CorePrivate + Qt::Gui +) + +#### Keys ignored in scope 1:.:.:qfilterkey.pro:<TRUE>: +# TEMPLATE = "app" + +## Scopes: +##################################################################### + +qt_extend_target(tst_qfilterkey CONDITION QT_FEATURE_private_tests + SOURCES + ../../core/common/qbackendnodetester.cpp ../../core/common/qbackendnodetester.h + ../../core/common/testarbiter.h +) + +qt_extend_target(tst_qfilterkey CONDITION useCommonTestAspect + SOURCES + ../commons/testaspect.cpp ../commons/testaspect.h +) diff --git a/tests/auto/render/qframegraphnode/CMakeLists.txt b/tests/auto/render/qframegraphnode/CMakeLists.txt new file mode 100644 index 000000000..41648fccb --- /dev/null +++ b/tests/auto/render/qframegraphnode/CMakeLists.txt @@ -0,0 +1,31 @@ +# Generated from qframegraphnode.pro. + +##################################################################### +## tst_qframegraphnode Test: +##################################################################### + +qt_add_test(tst_qframegraphnode + SOURCES + tst_qframegraphnode.cpp + INCLUDE_DIRECTORIES + ../../core/common + PUBLIC_LIBRARIES + Qt::3DCore + Qt::3DCorePrivate + Qt::3DRender + Qt::3DRenderPrivate + Qt::CorePrivate + Qt::Gui +) + +#### Keys ignored in scope 1:.:.:qframegraphnode.pro:<TRUE>: +# TEMPLATE = "app" + +## Scopes: +##################################################################### + +qt_extend_target(tst_qframegraphnode CONDITION QT_FEATURE_private_tests + SOURCES + ../../core/common/qbackendnodetester.cpp ../../core/common/qbackendnodetester.h + ../../core/common/testarbiter.h +) diff --git a/tests/auto/render/qgeometry/CMakeLists.txt b/tests/auto/render/qgeometry/CMakeLists.txt new file mode 100644 index 000000000..04aaa7844 --- /dev/null +++ b/tests/auto/render/qgeometry/CMakeLists.txt @@ -0,0 +1,38 @@ +# Generated from qgeometry.pro. + +##################################################################### +## tst_qgeometry Test: +##################################################################### + +qt_add_test(tst_qgeometry + SOURCES + ../commons/testrenderer.cpp ../commons/testrenderer.h + tst_qgeometry.cpp + INCLUDE_DIRECTORIES + ../../core/common + ../commons + PUBLIC_LIBRARIES + Qt::3DCore + Qt::3DCorePrivate + Qt::3DRender + Qt::3DRenderPrivate + Qt::CorePrivate + Qt::Gui +) + +#### Keys ignored in scope 1:.:.:qgeometry.pro:<TRUE>: +# TEMPLATE = "app" + +## Scopes: +##################################################################### + +qt_extend_target(tst_qgeometry CONDITION QT_FEATURE_private_tests + SOURCES + ../../core/common/qbackendnodetester.cpp ../../core/common/qbackendnodetester.h + ../../core/common/testarbiter.h +) + +qt_extend_target(tst_qgeometry CONDITION useCommonTestAspect + SOURCES + ../commons/testaspect.cpp ../commons/testaspect.h +) diff --git a/tests/auto/render/qgeometryrenderer/CMakeLists.txt b/tests/auto/render/qgeometryrenderer/CMakeLists.txt new file mode 100644 index 000000000..679077d36 --- /dev/null +++ b/tests/auto/render/qgeometryrenderer/CMakeLists.txt @@ -0,0 +1,31 @@ +# Generated from qgeometryrenderer.pro. + +##################################################################### +## tst_qgeometryrenderer Test: +##################################################################### + +qt_add_test(tst_qgeometryrenderer + SOURCES + tst_qgeometryrenderer.cpp + INCLUDE_DIRECTORIES + ../../core/common + PUBLIC_LIBRARIES + Qt::3DCore + Qt::3DCorePrivate + Qt::3DRender + Qt::3DRenderPrivate + Qt::CorePrivate + Qt::Gui +) + +#### Keys ignored in scope 1:.:.:qgeometryrenderer.pro:<TRUE>: +# TEMPLATE = "app" + +## Scopes: +##################################################################### + +qt_extend_target(tst_qgeometryrenderer CONDITION QT_FEATURE_private_tests + SOURCES + ../../core/common/qbackendnodetester.cpp ../../core/common/qbackendnodetester.h + ../../core/common/testarbiter.h +) diff --git a/tests/auto/render/qgraphicsapifilter/CMakeLists.txt b/tests/auto/render/qgraphicsapifilter/CMakeLists.txt new file mode 100644 index 000000000..58df5f53a --- /dev/null +++ b/tests/auto/render/qgraphicsapifilter/CMakeLists.txt @@ -0,0 +1,38 @@ +# Generated from qgraphicsapifilter.pro. + +##################################################################### +## tst_qgraphicsapifilter Test: +##################################################################### + +qt_add_test(tst_qgraphicsapifilter + SOURCES + ../commons/testrenderer.cpp ../commons/testrenderer.h + tst_qgraphicsapifilter.cpp + INCLUDE_DIRECTORIES + ../../core/common + ../commons + PUBLIC_LIBRARIES + Qt::3DCore + Qt::3DCorePrivate + Qt::3DRender + Qt::3DRenderPrivate + Qt::CorePrivate + Qt::Gui +) + +#### Keys ignored in scope 1:.:.:qgraphicsapifilter.pro:<TRUE>: +# TEMPLATE = "app" + +## Scopes: +##################################################################### + +qt_extend_target(tst_qgraphicsapifilter CONDITION QT_FEATURE_private_tests + SOURCES + ../../core/common/qbackendnodetester.cpp ../../core/common/qbackendnodetester.h + ../../core/common/testarbiter.h +) + +qt_extend_target(tst_qgraphicsapifilter CONDITION useCommonTestAspect + SOURCES + ../commons/testaspect.cpp ../commons/testaspect.h +) diff --git a/tests/auto/render/qlayerfilter/CMakeLists.txt b/tests/auto/render/qlayerfilter/CMakeLists.txt new file mode 100644 index 000000000..b0261ba79 --- /dev/null +++ b/tests/auto/render/qlayerfilter/CMakeLists.txt @@ -0,0 +1,31 @@ +# Generated from qlayerfilter.pro. + +##################################################################### +## tst_qlayerfilter Test: +##################################################################### + +qt_add_test(tst_qlayerfilter + SOURCES + tst_qlayerfilter.cpp + INCLUDE_DIRECTORIES + ../../core/common + PUBLIC_LIBRARIES + Qt::3DCore + Qt::3DCorePrivate + Qt::3DRender + Qt::3DRenderPrivate + Qt::CorePrivate + Qt::Gui +) + +#### Keys ignored in scope 1:.:.:qlayerfilter.pro:<TRUE>: +# TEMPLATE = "app" + +## Scopes: +##################################################################### + +qt_extend_target(tst_qlayerfilter CONDITION QT_FEATURE_private_tests + SOURCES + ../../core/common/qbackendnodetester.cpp ../../core/common/qbackendnodetester.h + ../../core/common/testarbiter.h +) diff --git a/tests/auto/render/qlevelofdetail/CMakeLists.txt b/tests/auto/render/qlevelofdetail/CMakeLists.txt new file mode 100644 index 000000000..0ffe45bf6 --- /dev/null +++ b/tests/auto/render/qlevelofdetail/CMakeLists.txt @@ -0,0 +1,38 @@ +# Generated from qlevelofdetail.pro. + +##################################################################### +## tst_qlevelofdetail Test: +##################################################################### + +qt_add_test(tst_qlevelofdetail + SOURCES + ../commons/testrenderer.cpp ../commons/testrenderer.h + tst_qlevelofdetail.cpp + INCLUDE_DIRECTORIES + ../../core/common + ../commons + PUBLIC_LIBRARIES + Qt::3DCore + Qt::3DCorePrivate + Qt::3DRender + Qt::3DRenderPrivate + Qt::CorePrivate + Qt::Gui +) + +#### Keys ignored in scope 1:.:.:qlevelofdetail.pro:<TRUE>: +# TEMPLATE = "app" + +## Scopes: +##################################################################### + +qt_extend_target(tst_qlevelofdetail CONDITION QT_FEATURE_private_tests + SOURCES + ../../core/common/qbackendnodetester.cpp ../../core/common/qbackendnodetester.h + ../../core/common/testarbiter.h +) + +qt_extend_target(tst_qlevelofdetail CONDITION useCommonTestAspect + SOURCES + ../commons/testaspect.cpp ../commons/testaspect.h +) diff --git a/tests/auto/render/qmaterial/CMakeLists.txt b/tests/auto/render/qmaterial/CMakeLists.txt new file mode 100644 index 000000000..c9ee72ea8 --- /dev/null +++ b/tests/auto/render/qmaterial/CMakeLists.txt @@ -0,0 +1,39 @@ +# Generated from qmaterial.pro. + +##################################################################### +## tst_qmaterial Test: +##################################################################### + +qt_add_test(tst_qmaterial + SOURCES + ../commons/testrenderer.cpp ../commons/testrenderer.h + tst_qmaterial.cpp + INCLUDE_DIRECTORIES + ../../core/common + ../commons + PUBLIC_LIBRARIES + Qt::3DCore + Qt::3DCorePrivate + Qt::3DExtras + Qt::3DRender + Qt::3DRenderPrivate + Qt::CorePrivate + Qt::Gui +) + +#### Keys ignored in scope 1:.:.:qmaterial.pro:<TRUE>: +# TEMPLATE = "app" + +## Scopes: +##################################################################### + +qt_extend_target(tst_qmaterial CONDITION QT_FEATURE_private_tests + SOURCES + ../../core/common/qbackendnodetester.cpp ../../core/common/qbackendnodetester.h + ../../core/common/testarbiter.h +) + +qt_extend_target(tst_qmaterial CONDITION useCommonTestAspect + SOURCES + ../commons/testaspect.cpp ../commons/testaspect.h +) diff --git a/tests/auto/render/qmemorybarrier/CMakeLists.txt b/tests/auto/render/qmemorybarrier/CMakeLists.txt new file mode 100644 index 000000000..dccc01dc6 --- /dev/null +++ b/tests/auto/render/qmemorybarrier/CMakeLists.txt @@ -0,0 +1,38 @@ +# Generated from qmemorybarrier.pro. + +##################################################################### +## tst_qmemorybarrier Test: +##################################################################### + +qt_add_test(tst_qmemorybarrier + SOURCES + ../commons/testrenderer.cpp ../commons/testrenderer.h + tst_qmemorybarrier.cpp + INCLUDE_DIRECTORIES + ../../core/common + ../commons + PUBLIC_LIBRARIES + Qt::3DCore + Qt::3DCorePrivate + Qt::3DRender + Qt::3DRenderPrivate + Qt::CorePrivate + Qt::Gui +) + +#### Keys ignored in scope 1:.:.:qmemorybarrier.pro:<TRUE>: +# TEMPLATE = "app" + +## Scopes: +##################################################################### + +qt_extend_target(tst_qmemorybarrier CONDITION QT_FEATURE_private_tests + SOURCES + ../../core/common/qbackendnodetester.cpp ../../core/common/qbackendnodetester.h + ../../core/common/testarbiter.h +) + +qt_extend_target(tst_qmemorybarrier CONDITION useCommonTestAspect + SOURCES + ../commons/testaspect.cpp ../commons/testaspect.h +) diff --git a/tests/auto/render/qmesh/CMakeLists.txt b/tests/auto/render/qmesh/CMakeLists.txt new file mode 100644 index 000000000..7e652efa0 --- /dev/null +++ b/tests/auto/render/qmesh/CMakeLists.txt @@ -0,0 +1,38 @@ +# Generated from qmesh.pro. + +##################################################################### +## tst_qmesh Test: +##################################################################### + +qt_add_test(tst_qmesh + SOURCES + ../commons/testrenderer.cpp ../commons/testrenderer.h + tst_qmesh.cpp + INCLUDE_DIRECTORIES + ../../core/common + ../commons + PUBLIC_LIBRARIES + Qt::3DCore + Qt::3DCorePrivate + Qt::3DRender + Qt::3DRenderPrivate + Qt::CorePrivate + Qt::Gui +) + +#### Keys ignored in scope 1:.:.:qmesh.pro:<TRUE>: +# TEMPLATE = "app" + +## Scopes: +##################################################################### + +qt_extend_target(tst_qmesh CONDITION QT_FEATURE_private_tests + SOURCES + ../../core/common/qbackendnodetester.cpp ../../core/common/qbackendnodetester.h + ../../core/common/testarbiter.h +) + +qt_extend_target(tst_qmesh CONDITION useCommonTestAspect + SOURCES + ../commons/testaspect.cpp ../commons/testaspect.h +) diff --git a/tests/auto/render/qobjectpicker/CMakeLists.txt b/tests/auto/render/qobjectpicker/CMakeLists.txt new file mode 100644 index 000000000..22a7db7e9 --- /dev/null +++ b/tests/auto/render/qobjectpicker/CMakeLists.txt @@ -0,0 +1,31 @@ +# Generated from qobjectpicker.pro. + +##################################################################### +## tst_qobjectpicker Test: +##################################################################### + +qt_add_test(tst_qobjectpicker + SOURCES + tst_qobjectpicker.cpp + INCLUDE_DIRECTORIES + ../../core/common + PUBLIC_LIBRARIES + Qt::3DCore + Qt::3DCorePrivate + Qt::3DRender + Qt::3DRenderPrivate + Qt::CorePrivate + Qt::Gui +) + +#### Keys ignored in scope 1:.:.:qobjectpicker.pro:<TRUE>: +# TEMPLATE = "app" + +## Scopes: +##################################################################### + +qt_extend_target(tst_qobjectpicker CONDITION QT_FEATURE_private_tests + SOURCES + ../../core/common/qbackendnodetester.cpp ../../core/common/qbackendnodetester.h + ../../core/common/testarbiter.h +) diff --git a/tests/auto/render/qparameter/CMakeLists.txt b/tests/auto/render/qparameter/CMakeLists.txt new file mode 100644 index 000000000..bae7324e8 --- /dev/null +++ b/tests/auto/render/qparameter/CMakeLists.txt @@ -0,0 +1,31 @@ +# Generated from qparameter.pro. + +##################################################################### +## tst_qparameter Test: +##################################################################### + +qt_add_test(tst_qparameter + SOURCES + tst_qparameter.cpp + INCLUDE_DIRECTORIES + ../../core/common + PUBLIC_LIBRARIES + Qt::3DCore + Qt::3DCorePrivate + Qt::3DRender + Qt::3DRenderPrivate + Qt::CorePrivate + Qt::Gui +) + +#### Keys ignored in scope 1:.:.:qparameter.pro:<TRUE>: +# TEMPLATE = "app" + +## Scopes: +##################################################################### + +qt_extend_target(tst_qparameter CONDITION QT_FEATURE_private_tests + SOURCES + ../../core/common/qbackendnodetester.cpp ../../core/common/qbackendnodetester.h + ../../core/common/testarbiter.h +) diff --git a/tests/auto/render/qproximityfilter/CMakeLists.txt b/tests/auto/render/qproximityfilter/CMakeLists.txt new file mode 100644 index 000000000..c477edf57 --- /dev/null +++ b/tests/auto/render/qproximityfilter/CMakeLists.txt @@ -0,0 +1,38 @@ +# Generated from qproximityfilter.pro. + +##################################################################### +## tst_qproximityfilter Test: +##################################################################### + +qt_add_test(tst_qproximityfilter + SOURCES + ../commons/testrenderer.cpp ../commons/testrenderer.h + tst_qproximityfilter.cpp + INCLUDE_DIRECTORIES + ../../core/common + ../commons + PUBLIC_LIBRARIES + Qt::3DCore + Qt::3DCorePrivate + Qt::3DRender + Qt::3DRenderPrivate + Qt::CorePrivate + Qt::Gui +) + +#### Keys ignored in scope 1:.:.:qproximityfilter.pro:<TRUE>: +# TEMPLATE = "app" + +## Scopes: +##################################################################### + +qt_extend_target(tst_qproximityfilter CONDITION QT_FEATURE_private_tests + SOURCES + ../../core/common/qbackendnodetester.cpp ../../core/common/qbackendnodetester.h + ../../core/common/testarbiter.h +) + +qt_extend_target(tst_qproximityfilter CONDITION useCommonTestAspect + SOURCES + ../commons/testaspect.cpp ../commons/testaspect.h +) diff --git a/tests/auto/render/qray3d/CMakeLists.txt b/tests/auto/render/qray3d/CMakeLists.txt new file mode 100644 index 000000000..ac917e75a --- /dev/null +++ b/tests/auto/render/qray3d/CMakeLists.txt @@ -0,0 +1,20 @@ +# Generated from qray3d.pro. + +##################################################################### +## tst_qray3d Test: +##################################################################### + +qt_add_test(tst_qray3d + SOURCES + tst_qray3d.cpp + PUBLIC_LIBRARIES + Qt::3DCore + Qt::3DCorePrivate + Qt::3DRender + Qt::3DRenderPrivate + Qt::CorePrivate + Qt::Gui +) + +#### Keys ignored in scope 1:.:.:qray3d.pro:<TRUE>: +# TEMPLATE = "app" diff --git a/tests/auto/render/qraycaster/CMakeLists.txt b/tests/auto/render/qraycaster/CMakeLists.txt new file mode 100644 index 000000000..70b4622b7 --- /dev/null +++ b/tests/auto/render/qraycaster/CMakeLists.txt @@ -0,0 +1,31 @@ +# Generated from qraycaster.pro. + +##################################################################### +## tst_qraycaster Test: +##################################################################### + +qt_add_test(tst_qraycaster + SOURCES + tst_qraycaster.cpp + INCLUDE_DIRECTORIES + ../../core/common + PUBLIC_LIBRARIES + Qt::3DCore + Qt::3DCorePrivate + Qt::3DRender + Qt::3DRenderPrivate + Qt::CorePrivate + Qt::Gui +) + +#### Keys ignored in scope 1:.:.:qraycaster.pro:<TRUE>: +# TEMPLATE = "app" + +## Scopes: +##################################################################### + +qt_extend_target(tst_qraycaster CONDITION QT_FEATURE_private_tests + SOURCES + ../../core/common/qbackendnodetester.cpp ../../core/common/qbackendnodetester.h + ../../core/common/testarbiter.h +) diff --git a/tests/auto/render/qrendercapture/CMakeLists.txt b/tests/auto/render/qrendercapture/CMakeLists.txt new file mode 100644 index 000000000..86a0ae7b1 --- /dev/null +++ b/tests/auto/render/qrendercapture/CMakeLists.txt @@ -0,0 +1,38 @@ +# Generated from qrendercapture.pro. + +##################################################################### +## tst_qrendercapture Test: +##################################################################### + +qt_add_test(tst_qrendercapture + SOURCES + ../commons/testrenderer.cpp ../commons/testrenderer.h + tst_qrendercapture.cpp + INCLUDE_DIRECTORIES + ../../core/common + ../commons + PUBLIC_LIBRARIES + Qt::3DCore + Qt::3DCorePrivate + Qt::3DRender + Qt::3DRenderPrivate + Qt::CorePrivate + Qt::Gui +) + +#### Keys ignored in scope 1:.:.:qrendercapture.pro:<TRUE>: +# TEMPLATE = "app" + +## Scopes: +##################################################################### + +qt_extend_target(tst_qrendercapture CONDITION useCommonTestAspect + SOURCES + ../commons/testaspect.cpp ../commons/testaspect.h +) + +qt_extend_target(tst_qrendercapture CONDITION QT_FEATURE_private_tests + SOURCES + ../../core/common/qbackendnodetester.cpp ../../core/common/qbackendnodetester.h + ../../core/common/testarbiter.h +) diff --git a/tests/auto/render/qrenderpass/CMakeLists.txt b/tests/auto/render/qrenderpass/CMakeLists.txt new file mode 100644 index 000000000..84af1cdb4 --- /dev/null +++ b/tests/auto/render/qrenderpass/CMakeLists.txt @@ -0,0 +1,38 @@ +# Generated from qrenderpass.pro. + +##################################################################### +## tst_qrenderpass Test: +##################################################################### + +qt_add_test(tst_qrenderpass + SOURCES + ../commons/testrenderer.cpp ../commons/testrenderer.h + tst_qrenderpass.cpp + INCLUDE_DIRECTORIES + ../../core/common + ../commons + PUBLIC_LIBRARIES + Qt::3DCore + Qt::3DCorePrivate + Qt::3DRender + Qt::3DRenderPrivate + Qt::CorePrivate + Qt::Gui +) + +#### Keys ignored in scope 1:.:.:qrenderpass.pro:<TRUE>: +# TEMPLATE = "app" + +## Scopes: +##################################################################### + +qt_extend_target(tst_qrenderpass CONDITION QT_FEATURE_private_tests + SOURCES + ../../core/common/qbackendnodetester.cpp ../../core/common/qbackendnodetester.h + ../../core/common/testarbiter.h +) + +qt_extend_target(tst_qrenderpass CONDITION useCommonTestAspect + SOURCES + ../commons/testaspect.cpp ../commons/testaspect.h +) diff --git a/tests/auto/render/qrenderpassfilter/CMakeLists.txt b/tests/auto/render/qrenderpassfilter/CMakeLists.txt new file mode 100644 index 000000000..2fe7a55b3 --- /dev/null +++ b/tests/auto/render/qrenderpassfilter/CMakeLists.txt @@ -0,0 +1,31 @@ +# Generated from qrenderpassfilter.pro. + +##################################################################### +## tst_qrenderpassfilter Test: +##################################################################### + +qt_add_test(tst_qrenderpassfilter + SOURCES + tst_qrenderpassfilter.cpp + INCLUDE_DIRECTORIES + ../../core/common + PUBLIC_LIBRARIES + Qt::3DCore + Qt::3DCorePrivate + Qt::3DRender + Qt::3DRenderPrivate + Qt::CorePrivate + Qt::Gui +) + +#### Keys ignored in scope 1:.:.:qrenderpassfilter.pro:<TRUE>: +# TEMPLATE = "app" + +## Scopes: +##################################################################### + +qt_extend_target(tst_qrenderpassfilter CONDITION QT_FEATURE_private_tests + SOURCES + ../../core/common/qbackendnodetester.cpp ../../core/common/qbackendnodetester.h + ../../core/common/testarbiter.h +) diff --git a/tests/auto/render/qrendersettings/CMakeLists.txt b/tests/auto/render/qrendersettings/CMakeLists.txt new file mode 100644 index 000000000..39883a70b --- /dev/null +++ b/tests/auto/render/qrendersettings/CMakeLists.txt @@ -0,0 +1,38 @@ +# Generated from qrendersettings.pro. + +##################################################################### +## tst_qrendersettings Test: +##################################################################### + +qt_add_test(tst_qrendersettings + SOURCES + ../commons/testrenderer.cpp ../commons/testrenderer.h + tst_qrendersettings.cpp + INCLUDE_DIRECTORIES + ../../core/common + ../commons + PUBLIC_LIBRARIES + Qt::3DCore + Qt::3DCorePrivate + Qt::3DRender + Qt::3DRenderPrivate + Qt::CorePrivate + Qt::Gui +) + +#### Keys ignored in scope 1:.:.:qrendersettings.pro:<TRUE>: +# TEMPLATE = "app" + +## Scopes: +##################################################################### + +qt_extend_target(tst_qrendersettings CONDITION QT_FEATURE_private_tests + SOURCES + ../../core/common/qbackendnodetester.cpp ../../core/common/qbackendnodetester.h + ../../core/common/testarbiter.h +) + +qt_extend_target(tst_qrendersettings CONDITION useCommonTestAspect + SOURCES + ../commons/testaspect.cpp ../commons/testaspect.h +) diff --git a/tests/auto/render/qrenderstate/CMakeLists.txt b/tests/auto/render/qrenderstate/CMakeLists.txt new file mode 100644 index 000000000..249a6a84f --- /dev/null +++ b/tests/auto/render/qrenderstate/CMakeLists.txt @@ -0,0 +1,38 @@ +# Generated from qrenderstate.pro. + +##################################################################### +## tst_qrenderstate Test: +##################################################################### + +qt_add_test(tst_qrenderstate + SOURCES + ../commons/testrenderer.cpp ../commons/testrenderer.h + tst_qrenderstate.cpp + INCLUDE_DIRECTORIES + ../../core/common + ../commons + PUBLIC_LIBRARIES + Qt::3DCore + Qt::3DCorePrivate + Qt::3DRender + Qt::3DRenderPrivate + Qt::CorePrivate + Qt::Gui +) + +#### Keys ignored in scope 1:.:.:qrenderstate.pro:<TRUE>: +# TEMPLATE = "app" + +## Scopes: +##################################################################### + +qt_extend_target(tst_qrenderstate CONDITION QT_FEATURE_private_tests + SOURCES + ../../core/common/qbackendnodetester.cpp ../../core/common/qbackendnodetester.h + ../../core/common/testarbiter.h +) + +qt_extend_target(tst_qrenderstate CONDITION useCommonTestAspect + SOURCES + ../commons/testaspect.cpp ../commons/testaspect.h +) diff --git a/tests/auto/render/qrenderstateset/CMakeLists.txt b/tests/auto/render/qrenderstateset/CMakeLists.txt new file mode 100644 index 000000000..f6572f404 --- /dev/null +++ b/tests/auto/render/qrenderstateset/CMakeLists.txt @@ -0,0 +1,31 @@ +# Generated from qrenderstateset.pro. + +##################################################################### +## tst_qrenderstateset Test: +##################################################################### + +qt_add_test(tst_qrenderstateset + SOURCES + tst_qrenderstateset.cpp + INCLUDE_DIRECTORIES + ../../core/common + PUBLIC_LIBRARIES + Qt::3DCore + Qt::3DCorePrivate + Qt::3DRender + Qt::3DRenderPrivate + Qt::CorePrivate + Qt::Gui +) + +#### Keys ignored in scope 1:.:.:qrenderstateset.pro:<TRUE>: +# TEMPLATE = "app" + +## Scopes: +##################################################################### + +qt_extend_target(tst_qrenderstateset CONDITION QT_FEATURE_private_tests + SOURCES + ../../core/common/qbackendnodetester.cpp ../../core/common/qbackendnodetester.h + ../../core/common/testarbiter.h +) diff --git a/tests/auto/render/qrendersurfaceselector/CMakeLists.txt b/tests/auto/render/qrendersurfaceselector/CMakeLists.txt new file mode 100644 index 000000000..45e167be4 --- /dev/null +++ b/tests/auto/render/qrendersurfaceselector/CMakeLists.txt @@ -0,0 +1,38 @@ +# Generated from qrendersurfaceselector.pro. + +##################################################################### +## tst_qrendersurfaceselector Test: +##################################################################### + +qt_add_test(tst_qrendersurfaceselector + SOURCES + ../commons/testrenderer.cpp ../commons/testrenderer.h + tst_qrendersurfaceselector.cpp + INCLUDE_DIRECTORIES + ../../core/common + ../commons + PUBLIC_LIBRARIES + Qt::3DCore + Qt::3DCorePrivate + Qt::3DRender + Qt::3DRenderPrivate + Qt::CorePrivate + Qt::Gui +) + +#### Keys ignored in scope 1:.:.:qrendersurfaceselector.pro:<TRUE>: +# TEMPLATE = "app" + +## Scopes: +##################################################################### + +qt_extend_target(tst_qrendersurfaceselector CONDITION QT_FEATURE_private_tests + SOURCES + ../../core/common/qbackendnodetester.cpp ../../core/common/qbackendnodetester.h + ../../core/common/testarbiter.h +) + +qt_extend_target(tst_qrendersurfaceselector CONDITION useCommonTestAspect + SOURCES + ../commons/testaspect.cpp ../commons/testaspect.h +) diff --git a/tests/auto/render/qrendertarget/CMakeLists.txt b/tests/auto/render/qrendertarget/CMakeLists.txt new file mode 100644 index 000000000..0a482e3a4 --- /dev/null +++ b/tests/auto/render/qrendertarget/CMakeLists.txt @@ -0,0 +1,38 @@ +# Generated from qrendertarget.pro. + +##################################################################### +## tst_qrendertarget Test: +##################################################################### + +qt_add_test(tst_qrendertarget + SOURCES + ../commons/testrenderer.cpp ../commons/testrenderer.h + tst_qrendertarget.cpp + INCLUDE_DIRECTORIES + ../../core/common + ../commons + PUBLIC_LIBRARIES + Qt::3DCore + Qt::3DCorePrivate + Qt::3DRender + Qt::3DRenderPrivate + Qt::CorePrivate + Qt::Gui +) + +#### Keys ignored in scope 1:.:.:qrendertarget.pro:<TRUE>: +# TEMPLATE = "app" + +## Scopes: +##################################################################### + +qt_extend_target(tst_qrendertarget CONDITION QT_FEATURE_private_tests + SOURCES + ../../core/common/qbackendnodetester.cpp ../../core/common/qbackendnodetester.h + ../../core/common/testarbiter.h +) + +qt_extend_target(tst_qrendertarget CONDITION useCommonTestAspect + SOURCES + ../commons/testaspect.cpp ../commons/testaspect.h +) diff --git a/tests/auto/render/qrendertargetoutput/CMakeLists.txt b/tests/auto/render/qrendertargetoutput/CMakeLists.txt new file mode 100644 index 000000000..296edcd3c --- /dev/null +++ b/tests/auto/render/qrendertargetoutput/CMakeLists.txt @@ -0,0 +1,38 @@ +# Generated from qrendertargetoutput.pro. + +##################################################################### +## tst_qrendertargetoutput Test: +##################################################################### + +qt_add_test(tst_qrendertargetoutput + SOURCES + ../commons/testrenderer.cpp ../commons/testrenderer.h + tst_qrendertargetoutput.cpp + INCLUDE_DIRECTORIES + ../../core/common + ../commons + PUBLIC_LIBRARIES + Qt::3DCore + Qt::3DCorePrivate + Qt::3DRender + Qt::3DRenderPrivate + Qt::CorePrivate + Qt::Gui +) + +#### Keys ignored in scope 1:.:.:qrendertargetoutput.pro:<TRUE>: +# TEMPLATE = "app" + +## Scopes: +##################################################################### + +qt_extend_target(tst_qrendertargetoutput CONDITION QT_FEATURE_private_tests + SOURCES + ../../core/common/qbackendnodetester.cpp ../../core/common/qbackendnodetester.h + ../../core/common/testarbiter.h +) + +qt_extend_target(tst_qrendertargetoutput CONDITION useCommonTestAspect + SOURCES + ../commons/testaspect.cpp ../commons/testaspect.h +) diff --git a/tests/auto/render/qrendertargetselector/CMakeLists.txt b/tests/auto/render/qrendertargetselector/CMakeLists.txt new file mode 100644 index 000000000..1a444110c --- /dev/null +++ b/tests/auto/render/qrendertargetselector/CMakeLists.txt @@ -0,0 +1,31 @@ +# Generated from qrendertargetselector.pro. + +##################################################################### +## tst_qrendertargetselector Test: +##################################################################### + +qt_add_test(tst_qrendertargetselector + SOURCES + tst_qrendertargetselector.cpp + INCLUDE_DIRECTORIES + ../../core/common + PUBLIC_LIBRARIES + Qt::3DCore + Qt::3DCorePrivate + Qt::3DRender + Qt::3DRenderPrivate + Qt::CorePrivate + Qt::Gui +) + +#### Keys ignored in scope 1:.:.:qrendertargetselector.pro:<TRUE>: +# TEMPLATE = "app" + +## Scopes: +##################################################################### + +qt_extend_target(tst_qrendertargetselector CONDITION QT_FEATURE_private_tests + SOURCES + ../../core/common/qbackendnodetester.cpp ../../core/common/qbackendnodetester.h + ../../core/common/testarbiter.h +) diff --git a/tests/auto/render/qscene2d/CMakeLists.txt b/tests/auto/render/qscene2d/CMakeLists.txt new file mode 100644 index 000000000..acb5fc9fc --- /dev/null +++ b/tests/auto/render/qscene2d/CMakeLists.txt @@ -0,0 +1,40 @@ +# Generated from qscene2d.pro. + +##################################################################### +## qscene2d Test: +##################################################################### + +qt_add_test(qscene2d + SOURCES + ../commons/testrenderer.cpp ../commons/testrenderer.h + tst_qscene2d.cpp + INCLUDE_DIRECTORIES + ../../core/common + ../commons + PUBLIC_LIBRARIES + Qt::3DCore + Qt::3DCorePrivate + Qt::3DQuickScene2D + Qt::3DQuickScene2DPrivate + Qt::3DRender + Qt::3DRenderPrivate + Qt::CorePrivate + Qt::Gui +) + +#### Keys ignored in scope 1:.:.:qscene2d.pro:<TRUE>: +# TEMPLATE = "app" + +## Scopes: +##################################################################### + +qt_extend_target(qscene2d CONDITION QT_FEATURE_private_tests + SOURCES + ../../core/common/qbackendnodetester.cpp ../../core/common/qbackendnodetester.h + ../../core/common/testarbiter.h +) + +qt_extend_target(qscene2d CONDITION useCommonTestAspect + SOURCES + ../commons/testaspect.cpp ../commons/testaspect.h +) diff --git a/tests/auto/render/qsceneloader/CMakeLists.txt b/tests/auto/render/qsceneloader/CMakeLists.txt new file mode 100644 index 000000000..f5c01de44 --- /dev/null +++ b/tests/auto/render/qsceneloader/CMakeLists.txt @@ -0,0 +1,31 @@ +# Generated from qsceneloader.pro. + +##################################################################### +## tst_qsceneloader Test: +##################################################################### + +qt_add_test(tst_qsceneloader + SOURCES + tst_qsceneloader.cpp + INCLUDE_DIRECTORIES + ../../core/common + PUBLIC_LIBRARIES + Qt::3DCore + Qt::3DCorePrivate + Qt::3DRender + Qt::3DRenderPrivate + Qt::CorePrivate + Qt::Gui +) + +#### Keys ignored in scope 1:.:.:qsceneloader.pro:<TRUE>: +# TEMPLATE = "app" + +## Scopes: +##################################################################### + +qt_extend_target(tst_qsceneloader CONDITION QT_FEATURE_private_tests + SOURCES + ../../core/common/qbackendnodetester.cpp ../../core/common/qbackendnodetester.h + ../../core/common/testarbiter.h +) diff --git a/tests/auto/render/qscreenraycaster/CMakeLists.txt b/tests/auto/render/qscreenraycaster/CMakeLists.txt new file mode 100644 index 000000000..e43686da3 --- /dev/null +++ b/tests/auto/render/qscreenraycaster/CMakeLists.txt @@ -0,0 +1,31 @@ +# Generated from qscreenraycaster.pro. + +##################################################################### +## tst_qscreenraycaster Test: +##################################################################### + +qt_add_test(tst_qscreenraycaster + SOURCES + tst_qscreenraycaster.cpp + INCLUDE_DIRECTORIES + ../../core/common + PUBLIC_LIBRARIES + Qt::3DCore + Qt::3DCorePrivate + Qt::3DRender + Qt::3DRenderPrivate + Qt::CorePrivate + Qt::Gui +) + +#### Keys ignored in scope 1:.:.:qscreenraycaster.pro:<TRUE>: +# TEMPLATE = "app" + +## Scopes: +##################################################################### + +qt_extend_target(tst_qscreenraycaster CONDITION QT_FEATURE_private_tests + SOURCES + ../../core/common/qbackendnodetester.cpp ../../core/common/qbackendnodetester.h + ../../core/common/testarbiter.h +) diff --git a/tests/auto/render/qsetfence/CMakeLists.txt b/tests/auto/render/qsetfence/CMakeLists.txt new file mode 100644 index 000000000..37ed87cf2 --- /dev/null +++ b/tests/auto/render/qsetfence/CMakeLists.txt @@ -0,0 +1,38 @@ +# Generated from qsetfence.pro. + +##################################################################### +## tst_qsetfence Test: +##################################################################### + +qt_add_test(tst_qsetfence + SOURCES + ../commons/testrenderer.cpp ../commons/testrenderer.h + tst_qsetfence.cpp + INCLUDE_DIRECTORIES + ../../core/common + ../commons + PUBLIC_LIBRARIES + Qt::3DCore + Qt::3DCorePrivate + Qt::3DRender + Qt::3DRenderPrivate + Qt::CorePrivate + Qt::Gui +) + +#### Keys ignored in scope 1:.:.:qsetfence.pro:<TRUE>: +# TEMPLATE = "app" + +## Scopes: +##################################################################### + +qt_extend_target(tst_qsetfence CONDITION QT_FEATURE_private_tests + SOURCES + ../../core/common/qbackendnodetester.cpp ../../core/common/qbackendnodetester.h + ../../core/common/testarbiter.h +) + +qt_extend_target(tst_qsetfence CONDITION useCommonTestAspect + SOURCES + ../commons/testaspect.cpp ../commons/testaspect.h +) diff --git a/tests/auto/render/qshaderimage/CMakeLists.txt b/tests/auto/render/qshaderimage/CMakeLists.txt new file mode 100644 index 000000000..5ec561e00 --- /dev/null +++ b/tests/auto/render/qshaderimage/CMakeLists.txt @@ -0,0 +1,38 @@ +# Generated from qshaderimage.pro. + +##################################################################### +## tst_qshaderimage Test: +##################################################################### + +qt_add_test(tst_qshaderimage + SOURCES + ../commons/testrenderer.cpp ../commons/testrenderer.h + tst_qshaderimage.cpp + INCLUDE_DIRECTORIES + ../../core/common + ../commons + PUBLIC_LIBRARIES + Qt::3DCore + Qt::3DCorePrivate + Qt::3DRender + Qt::3DRenderPrivate + Qt::CorePrivate + Qt::Gui +) + +#### Keys ignored in scope 1:.:.:qshaderimage.pro:<TRUE>: +# TEMPLATE = "app" + +## Scopes: +##################################################################### + +qt_extend_target(tst_qshaderimage CONDITION QT_FEATURE_private_tests + SOURCES + ../../core/common/qbackendnodetester.cpp ../../core/common/qbackendnodetester.h + ../../core/common/testarbiter.h +) + +qt_extend_target(tst_qshaderimage CONDITION useCommonTestAspect + SOURCES + ../commons/testaspect.cpp ../commons/testaspect.h +) diff --git a/tests/auto/render/qshaderprogram/CMakeLists.txt b/tests/auto/render/qshaderprogram/CMakeLists.txt new file mode 100644 index 000000000..86e95094e --- /dev/null +++ b/tests/auto/render/qshaderprogram/CMakeLists.txt @@ -0,0 +1,53 @@ +# Generated from qshaderprogram.pro. + +##################################################################### +## tst_qshaderprogram Test: +##################################################################### + +qt_add_test(tst_qshaderprogram + SOURCES + ../commons/testrenderer.cpp ../commons/testrenderer.h + tst_qshaderprogram.cpp + INCLUDE_DIRECTORIES + ../../core/common + ../commons + PUBLIC_LIBRARIES + Qt::3DCore + Qt::3DCorePrivate + Qt::3DRender + Qt::3DRenderPrivate + Qt::CorePrivate + Qt::Gui +) + +# Resources: +set(shaders_resource_files + "included.frag" + "main.frag" + "mainabsolute.frag" +) + +qt_add_resource(tst_qshaderprogram "shaders" + PREFIX + "/" + FILES + ${shaders_resource_files} +) + + +#### Keys ignored in scope 1:.:.:qshaderprogram.pro:<TRUE>: +# TEMPLATE = "app" + +## Scopes: +##################################################################### + +qt_extend_target(tst_qshaderprogram CONDITION QT_FEATURE_private_tests + SOURCES + ../../core/common/qbackendnodetester.cpp ../../core/common/qbackendnodetester.h + ../../core/common/testarbiter.h +) + +qt_extend_target(tst_qshaderprogram CONDITION useCommonTestAspect + SOURCES + ../commons/testaspect.cpp ../commons/testaspect.h +) diff --git a/tests/auto/render/qshaderprogrambuilder/CMakeLists.txt b/tests/auto/render/qshaderprogrambuilder/CMakeLists.txt new file mode 100644 index 000000000..41388c687 --- /dev/null +++ b/tests/auto/render/qshaderprogrambuilder/CMakeLists.txt @@ -0,0 +1,38 @@ +# Generated from qshaderprogrambuilder.pro. + +##################################################################### +## tst_qshaderprogrambuilder Test: +##################################################################### + +qt_add_test(tst_qshaderprogrambuilder + SOURCES + ../commons/testrenderer.cpp ../commons/testrenderer.h + tst_qshaderprogrambuilder.cpp + INCLUDE_DIRECTORIES + ../../core/common + ../commons + PUBLIC_LIBRARIES + Qt::3DCore + Qt::3DCorePrivate + Qt::3DRender + Qt::3DRenderPrivate + Qt::CorePrivate + Qt::Gui +) + +#### Keys ignored in scope 1:.:.:qshaderprogrambuilder.pro:<TRUE>: +# TEMPLATE = "app" + +## Scopes: +##################################################################### + +qt_extend_target(tst_qshaderprogrambuilder CONDITION QT_FEATURE_private_tests + SOURCES + ../../core/common/qbackendnodetester.cpp ../../core/common/qbackendnodetester.h + ../../core/common/testarbiter.h +) + +qt_extend_target(tst_qshaderprogrambuilder CONDITION useCommonTestAspect + SOURCES + ../commons/testaspect.cpp ../commons/testaspect.h +) diff --git a/tests/auto/render/qsharedgltexture/CMakeLists.txt b/tests/auto/render/qsharedgltexture/CMakeLists.txt new file mode 100644 index 000000000..c87840e7f --- /dev/null +++ b/tests/auto/render/qsharedgltexture/CMakeLists.txt @@ -0,0 +1,38 @@ +# Generated from qsharedgltexture.pro. + +##################################################################### +## tst_qsharedgltexture Test: +##################################################################### + +qt_add_test(tst_qsharedgltexture + SOURCES + ../commons/testrenderer.cpp ../commons/testrenderer.h + tst_qsharedgltexture.cpp + INCLUDE_DIRECTORIES + ../../core/common + ../commons + PUBLIC_LIBRARIES + Qt::3DCore + Qt::3DCorePrivate + Qt::3DRender + Qt::3DRenderPrivate + Qt::CorePrivate + Qt::Gui +) + +#### Keys ignored in scope 1:.:.:qsharedgltexture.pro:<TRUE>: +# TEMPLATE = "app" + +## Scopes: +##################################################################### + +qt_extend_target(tst_qsharedgltexture CONDITION QT_FEATURE_private_tests + SOURCES + ../../core/common/qbackendnodetester.cpp ../../core/common/qbackendnodetester.h + ../../core/common/testarbiter.h +) + +qt_extend_target(tst_qsharedgltexture CONDITION useCommonTestAspect + SOURCES + ../commons/testaspect.cpp ../commons/testaspect.h +) diff --git a/tests/auto/render/qsortpolicy/CMakeLists.txt b/tests/auto/render/qsortpolicy/CMakeLists.txt new file mode 100644 index 000000000..a91e1642f --- /dev/null +++ b/tests/auto/render/qsortpolicy/CMakeLists.txt @@ -0,0 +1,31 @@ +# Generated from qsortpolicy.pro. + +##################################################################### +## tst_qsortmethod Test: +##################################################################### + +qt_add_test(tst_qsortmethod + SOURCES + tst_qsortpolicy.cpp + INCLUDE_DIRECTORIES + ../../core/common + PUBLIC_LIBRARIES + Qt::3DCore + Qt::3DCorePrivate + Qt::3DRender + Qt::3DRenderPrivate + Qt::CorePrivate + Qt::Gui +) + +#### Keys ignored in scope 1:.:.:qsortpolicy.pro:<TRUE>: +# TEMPLATE = "app" + +## Scopes: +##################################################################### + +qt_extend_target(tst_qsortmethod CONDITION QT_FEATURE_private_tests + SOURCES + ../../core/common/qbackendnodetester.cpp ../../core/common/qbackendnodetester.h + ../../core/common/testarbiter.h +) diff --git a/tests/auto/render/qtechnique/CMakeLists.txt b/tests/auto/render/qtechnique/CMakeLists.txt new file mode 100644 index 000000000..025c2524c --- /dev/null +++ b/tests/auto/render/qtechnique/CMakeLists.txt @@ -0,0 +1,38 @@ +# Generated from qtechnique.pro. + +##################################################################### +## tst_qtechnique Test: +##################################################################### + +qt_add_test(tst_qtechnique + SOURCES + ../commons/testrenderer.cpp ../commons/testrenderer.h + tst_qtechnique.cpp + INCLUDE_DIRECTORIES + ../../core/common + ../commons + PUBLIC_LIBRARIES + Qt::3DCore + Qt::3DCorePrivate + Qt::3DRender + Qt::3DRenderPrivate + Qt::CorePrivate + Qt::Gui +) + +#### Keys ignored in scope 1:.:.:qtechnique.pro:<TRUE>: +# TEMPLATE = "app" + +## Scopes: +##################################################################### + +qt_extend_target(tst_qtechnique CONDITION QT_FEATURE_private_tests + SOURCES + ../../core/common/qbackendnodetester.cpp ../../core/common/qbackendnodetester.h + ../../core/common/testarbiter.h +) + +qt_extend_target(tst_qtechnique CONDITION useCommonTestAspect + SOURCES + ../commons/testaspect.cpp ../commons/testaspect.h +) diff --git a/tests/auto/render/qtechniquefilter/CMakeLists.txt b/tests/auto/render/qtechniquefilter/CMakeLists.txt new file mode 100644 index 000000000..2c0bc9841 --- /dev/null +++ b/tests/auto/render/qtechniquefilter/CMakeLists.txt @@ -0,0 +1,31 @@ +# Generated from qtechniquefilter.pro. + +##################################################################### +## tst_qtechniquefilter Test: +##################################################################### + +qt_add_test(tst_qtechniquefilter + SOURCES + tst_qtechniquefilter.cpp + INCLUDE_DIRECTORIES + ../../core/common + PUBLIC_LIBRARIES + Qt::3DCore + Qt::3DCorePrivate + Qt::3DRender + Qt::3DRenderPrivate + Qt::CorePrivate + Qt::Gui +) + +#### Keys ignored in scope 1:.:.:qtechniquefilter.pro:<TRUE>: +# TEMPLATE = "app" + +## Scopes: +##################################################################### + +qt_extend_target(tst_qtechniquefilter CONDITION QT_FEATURE_private_tests + SOURCES + ../../core/common/qbackendnodetester.cpp ../../core/common/qbackendnodetester.h + ../../core/common/testarbiter.h +) diff --git a/tests/auto/render/qtexturedataupdate/CMakeLists.txt b/tests/auto/render/qtexturedataupdate/CMakeLists.txt new file mode 100644 index 000000000..3b66d7990 --- /dev/null +++ b/tests/auto/render/qtexturedataupdate/CMakeLists.txt @@ -0,0 +1,19 @@ +# Generated from qtexturedataupdate.pro. + +##################################################################### +## tst_qtexturedataupdate Test: +##################################################################### + +qt_add_test(tst_qtexturedataupdate + SOURCES + tst_qtexturedataupdate.cpp + PUBLIC_LIBRARIES + Qt::3DCore + Qt::3DCorePrivate + Qt::3DRender + Qt::3DRenderPrivate + Qt::Gui +) + +#### Keys ignored in scope 1:.:.:qtexturedataupdate.pro:<TRUE>: +# TEMPLATE = "app" diff --git a/tests/auto/render/qtextureimage/CMakeLists.txt b/tests/auto/render/qtextureimage/CMakeLists.txt new file mode 100644 index 000000000..151ff61ed --- /dev/null +++ b/tests/auto/render/qtextureimage/CMakeLists.txt @@ -0,0 +1,38 @@ +# Generated from qtextureimage.pro. + +##################################################################### +## tst_qtextureimage Test: +##################################################################### + +qt_add_test(tst_qtextureimage + SOURCES + ../commons/testrenderer.cpp ../commons/testrenderer.h + tst_qtextureimage.cpp + INCLUDE_DIRECTORIES + ../../core/common + ../commons + PUBLIC_LIBRARIES + Qt::3DCore + Qt::3DCorePrivate + Qt::3DRender + Qt::3DRenderPrivate + Qt::CorePrivate + Qt::Gui +) + +#### Keys ignored in scope 1:.:.:qtextureimage.pro:<TRUE>: +# TEMPLATE = "app" + +## Scopes: +##################################################################### + +qt_extend_target(tst_qtextureimage CONDITION QT_FEATURE_private_tests + SOURCES + ../../core/common/qbackendnodetester.cpp ../../core/common/qbackendnodetester.h + ../../core/common/testarbiter.h +) + +qt_extend_target(tst_qtextureimage CONDITION useCommonTestAspect + SOURCES + ../commons/testaspect.cpp ../commons/testaspect.h +) diff --git a/tests/auto/render/qtextureimagedata/CMakeLists.txt b/tests/auto/render/qtextureimagedata/CMakeLists.txt new file mode 100644 index 000000000..97ae69fd4 --- /dev/null +++ b/tests/auto/render/qtextureimagedata/CMakeLists.txt @@ -0,0 +1,31 @@ +# Generated from qtextureimagedata.pro. + +##################################################################### +## tst_qtextureimagedata Test: +##################################################################### + +qt_add_test(tst_qtextureimagedata + SOURCES + tst_qtextureimagedata.cpp + INCLUDE_DIRECTORIES + ../../core/common + PUBLIC_LIBRARIES + Qt::3DCore + Qt::3DCorePrivate + Qt::3DRender + Qt::3DRenderPrivate + Qt::CorePrivate + Qt::Gui +) + +#### Keys ignored in scope 1:.:.:qtextureimagedata.pro:<TRUE>: +# TEMPLATE = "app" + +## Scopes: +##################################################################### + +qt_extend_target(tst_qtextureimagedata CONDITION QT_FEATURE_private_tests + SOURCES + ../../core/common/qbackendnodetester.cpp ../../core/common/qbackendnodetester.h + ../../core/common/testarbiter.h +) diff --git a/tests/auto/render/qtextureloader/CMakeLists.txt b/tests/auto/render/qtextureloader/CMakeLists.txt new file mode 100644 index 000000000..c0ade791c --- /dev/null +++ b/tests/auto/render/qtextureloader/CMakeLists.txt @@ -0,0 +1,38 @@ +# Generated from qtextureloader.pro. + +##################################################################### +## tst_qtextureloader Test: +##################################################################### + +qt_add_test(tst_qtextureloader + SOURCES + ../commons/testrenderer.cpp ../commons/testrenderer.h + tst_qtextureloader.cpp + INCLUDE_DIRECTORIES + ../../core/common + ../commons + PUBLIC_LIBRARIES + Qt::3DCore + Qt::3DCorePrivate + Qt::3DRender + Qt::3DRenderPrivate + Qt::CorePrivate + Qt::Gui +) + +#### Keys ignored in scope 1:.:.:qtextureloader.pro:<TRUE>: +# TEMPLATE = "app" + +## Scopes: +##################################################################### + +qt_extend_target(tst_qtextureloader CONDITION QT_FEATURE_private_tests + SOURCES + ../../core/common/qbackendnodetester.cpp ../../core/common/qbackendnodetester.h + ../../core/common/testarbiter.h +) + +qt_extend_target(tst_qtextureloader CONDITION useCommonTestAspect + SOURCES + ../commons/testaspect.cpp ../commons/testaspect.h +) diff --git a/tests/auto/render/qviewport/CMakeLists.txt b/tests/auto/render/qviewport/CMakeLists.txt new file mode 100644 index 000000000..79456f6dc --- /dev/null +++ b/tests/auto/render/qviewport/CMakeLists.txt @@ -0,0 +1,31 @@ +# Generated from qviewport.pro. + +##################################################################### +## tst_qviewport Test: +##################################################################### + +qt_add_test(tst_qviewport + SOURCES + tst_qviewport.cpp + INCLUDE_DIRECTORIES + ../../core/common + PUBLIC_LIBRARIES + Qt::3DCore + Qt::3DCorePrivate + Qt::3DRender + Qt::3DRenderPrivate + Qt::CorePrivate + Qt::Gui +) + +#### Keys ignored in scope 1:.:.:qviewport.pro:<TRUE>: +# TEMPLATE = "app" + +## Scopes: +##################################################################### + +qt_extend_target(tst_qviewport CONDITION QT_FEATURE_private_tests + SOURCES + ../../core/common/qbackendnodetester.cpp ../../core/common/qbackendnodetester.h + ../../core/common/testarbiter.h +) diff --git a/tests/auto/render/qwaitfence/CMakeLists.txt b/tests/auto/render/qwaitfence/CMakeLists.txt new file mode 100644 index 000000000..ec07022c0 --- /dev/null +++ b/tests/auto/render/qwaitfence/CMakeLists.txt @@ -0,0 +1,38 @@ +# Generated from qwaitfence.pro. + +##################################################################### +## tst_qwaitfence Test: +##################################################################### + +qt_add_test(tst_qwaitfence + SOURCES + ../commons/testrenderer.cpp ../commons/testrenderer.h + tst_qwaitfence.cpp + INCLUDE_DIRECTORIES + ../../core/common + ../commons + PUBLIC_LIBRARIES + Qt::3DCore + Qt::3DCorePrivate + Qt::3DRender + Qt::3DRenderPrivate + Qt::CorePrivate + Qt::Gui +) + +#### Keys ignored in scope 1:.:.:qwaitfence.pro:<TRUE>: +# TEMPLATE = "app" + +## Scopes: +##################################################################### + +qt_extend_target(tst_qwaitfence CONDITION QT_FEATURE_private_tests + SOURCES + ../../core/common/qbackendnodetester.cpp ../../core/common/qbackendnodetester.h + ../../core/common/testarbiter.h +) + +qt_extend_target(tst_qwaitfence CONDITION useCommonTestAspect + SOURCES + ../commons/testaspect.cpp ../commons/testaspect.h +) diff --git a/tests/auto/render/raycaster/CMakeLists.txt b/tests/auto/render/raycaster/CMakeLists.txt new file mode 100644 index 000000000..2925f511a --- /dev/null +++ b/tests/auto/render/raycaster/CMakeLists.txt @@ -0,0 +1,38 @@ +# Generated from raycaster.pro. + +##################################################################### +## raycaster Test: +##################################################################### + +qt_add_test(raycaster + SOURCES + ../commons/testrenderer.cpp ../commons/testrenderer.h + tst_raycaster.cpp + INCLUDE_DIRECTORIES + ../../core/common + ../commons + PUBLIC_LIBRARIES + Qt::3DCore + Qt::3DCorePrivate + Qt::3DRender + Qt::3DRenderPrivate + Qt::CorePrivate + Qt::Gui +) + +#### Keys ignored in scope 1:.:.:raycaster.pro:<TRUE>: +# TEMPLATE = "app" + +## Scopes: +##################################################################### + +qt_extend_target(raycaster CONDITION QT_FEATURE_private_tests + SOURCES + ../../core/common/qbackendnodetester.cpp ../../core/common/qbackendnodetester.h + ../../core/common/testarbiter.h +) + +qt_extend_target(raycaster CONDITION useCommonTestAspect + SOURCES + ../commons/testaspect.cpp ../commons/testaspect.h +) diff --git a/tests/auto/render/raycasting/CMakeLists.txt b/tests/auto/render/raycasting/CMakeLists.txt new file mode 100644 index 000000000..9d45d1208 --- /dev/null +++ b/tests/auto/render/raycasting/CMakeLists.txt @@ -0,0 +1,19 @@ +# Generated from raycasting.pro. + +##################################################################### +## tst_raycasting Test: +##################################################################### + +qt_add_test(tst_raycasting + SOURCES + tst_raycasting.cpp + PUBLIC_LIBRARIES + Qt::3DCore + Qt::3DCorePrivate + Qt::3DRender + Qt::3DRenderPrivate + Qt::Gui +) + +#### Keys ignored in scope 1:.:.:raycasting.pro:<TRUE>: +# TEMPLATE = "app" diff --git a/tests/auto/render/raycastingjob/CMakeLists.txt b/tests/auto/render/raycastingjob/CMakeLists.txt new file mode 100644 index 000000000..f407cd8e9 --- /dev/null +++ b/tests/auto/render/raycastingjob/CMakeLists.txt @@ -0,0 +1,63 @@ +# Generated from raycastingjob.pro. + +##################################################################### +## tst_raycastingjob Test: +##################################################################### + +qt_add_test(tst_raycastingjob + SOURCES + ../commons/testrenderer.cpp ../commons/testrenderer.h + ../qmlscenereader/qmlscenereader.cpp ../qmlscenereader/qmlscenereader.h + tst_raycastingjob.cpp + INCLUDE_DIRECTORIES + ../../core/common + ../commons + ../qmlscenereader + PUBLIC_LIBRARIES + Qt::3DCore + Qt::3DCorePrivate + Qt::3DExtras + Qt::3DQuick + Qt::3DQuickPrivate + Qt::3DQuickExtras + Qt::3DRender + Qt::3DRenderPrivate + Qt::CorePrivate + Qt::Gui + Qt::Qml + Qt::Quick +) + +# Resources: +set(raycastingjob_resource_files + "testscene_screenraycasting.qml" + "testscene_worldraycasting.qml" + "testscene_worldraycastingalllayers.qml" + "testscene_worldraycastinglayer.qml" + "testscene_worldraycastingparentlayer.qml" +) + +qt_add_resource(tst_raycastingjob "raycastingjob" + PREFIX + "/" + FILES + ${raycastingjob_resource_files} +) + + +#### Keys ignored in scope 1:.:.:raycastingjob.pro:<TRUE>: +# TEMPLATE = "app" + +## Scopes: +##################################################################### + +qt_extend_target(tst_raycastingjob CONDITION useCommonTestAspect + SOURCES + ../commons/testaspect.cpp ../commons/testaspect.h +) + +qt_extend_target(tst_raycastingjob CONDITION QT_FEATURE_private_tests + SOURCES + ../../core/common/qbackendnodetester.cpp ../../core/common/qbackendnodetester.h + ../../core/common/testarbiter.h +) diff --git a/tests/auto/render/raycastingjob/tst_raycastingjob.cpp b/tests/auto/render/raycastingjob/tst_raycastingjob.cpp index 5c8a1d76f..93b4e6f78 100644 --- a/tests/auto/render/raycastingjob/tst_raycastingjob.cpp +++ b/tests/auto/render/raycastingjob/tst_raycastingjob.cpp @@ -149,8 +149,8 @@ public: m_engine = nullptr; } - void onRegistered() { QRenderAspect::onRegistered(); } - void onUnregistered() { QRenderAspect::onUnregistered(); } + void onRegistered() override { QRenderAspect::onRegistered(); } + void onUnregistered() override { QRenderAspect::onUnregistered(); } Qt3DRender::Render::NodeManagers *nodeManagers() const { return d_func()->m_renderer->nodeManagers(); } Qt3DRender::Render::FrameGraphNode *frameGraphRoot() const { return d_func()->m_renderer->frameGraphRoot(); } diff --git a/tests/auto/render/rendercapture/CMakeLists.txt b/tests/auto/render/rendercapture/CMakeLists.txt new file mode 100644 index 000000000..89c8f1d01 --- /dev/null +++ b/tests/auto/render/rendercapture/CMakeLists.txt @@ -0,0 +1,38 @@ +# Generated from rendercapture.pro. + +##################################################################### +## rendercapture Test: +##################################################################### + +qt_add_test(rendercapture + SOURCES + ../commons/testrenderer.cpp ../commons/testrenderer.h + tst_rendercapture.cpp + INCLUDE_DIRECTORIES + ../../core/common + ../commons + PUBLIC_LIBRARIES + Qt::3DCore + Qt::3DCorePrivate + Qt::3DRender + Qt::3DRenderPrivate + Qt::CorePrivate + Qt::Gui +) + +#### Keys ignored in scope 1:.:.:rendercapture.pro:<TRUE>: +# TEMPLATE = "app" + +## Scopes: +##################################################################### + +qt_extend_target(rendercapture CONDITION QT_FEATURE_private_tests + SOURCES + ../../core/common/qbackendnodetester.cpp ../../core/common/qbackendnodetester.h + ../../core/common/testarbiter.h +) + +qt_extend_target(rendercapture CONDITION useCommonTestAspect + SOURCES + ../commons/testaspect.cpp ../commons/testaspect.h +) diff --git a/tests/auto/render/renderpass/CMakeLists.txt b/tests/auto/render/renderpass/CMakeLists.txt new file mode 100644 index 000000000..1e5eddab6 --- /dev/null +++ b/tests/auto/render/renderpass/CMakeLists.txt @@ -0,0 +1,38 @@ +# Generated from renderpass.pro. + +##################################################################### +## tst_renderpass Test: +##################################################################### + +qt_add_test(tst_renderpass + SOURCES + ../commons/testrenderer.cpp ../commons/testrenderer.h + tst_renderpass.cpp + INCLUDE_DIRECTORIES + ../../core/common + ../commons + PUBLIC_LIBRARIES + Qt::3DCore + Qt::3DCorePrivate + Qt::3DRender + Qt::3DRenderPrivate + Qt::CorePrivate + Qt::Gui +) + +#### Keys ignored in scope 1:.:.:renderpass.pro:<TRUE>: +# TEMPLATE = "app" + +## Scopes: +##################################################################### + +qt_extend_target(tst_renderpass CONDITION QT_FEATURE_private_tests + SOURCES + ../../core/common/qbackendnodetester.cpp ../../core/common/qbackendnodetester.h + ../../core/common/testarbiter.h +) + +qt_extend_target(tst_renderpass CONDITION useCommonTestAspect + SOURCES + ../commons/testaspect.cpp ../commons/testaspect.h +) diff --git a/tests/auto/render/rendertarget/CMakeLists.txt b/tests/auto/render/rendertarget/CMakeLists.txt new file mode 100644 index 000000000..83184fe81 --- /dev/null +++ b/tests/auto/render/rendertarget/CMakeLists.txt @@ -0,0 +1,38 @@ +# Generated from rendertarget.pro. + +##################################################################### +## tst_rendertarget Test: +##################################################################### + +qt_add_test(tst_rendertarget + SOURCES + ../commons/testrenderer.cpp ../commons/testrenderer.h + tst_rendertarget.cpp + INCLUDE_DIRECTORIES + ../../core/common + ../commons + PUBLIC_LIBRARIES + Qt::3DCore + Qt::3DCorePrivate + Qt::3DRender + Qt::3DRenderPrivate + Qt::CorePrivate + Qt::Gui +) + +#### Keys ignored in scope 1:.:.:rendertarget.pro:<TRUE>: +# TEMPLATE = "app" + +## Scopes: +##################################################################### + +qt_extend_target(tst_rendertarget CONDITION QT_FEATURE_private_tests + SOURCES + ../../core/common/qbackendnodetester.cpp ../../core/common/qbackendnodetester.h + ../../core/common/testarbiter.h +) + +qt_extend_target(tst_rendertarget CONDITION useCommonTestAspect + SOURCES + ../commons/testaspect.cpp ../commons/testaspect.h +) diff --git a/tests/auto/render/scene2d/CMakeLists.txt b/tests/auto/render/scene2d/CMakeLists.txt new file mode 100644 index 000000000..ad7d357d3 --- /dev/null +++ b/tests/auto/render/scene2d/CMakeLists.txt @@ -0,0 +1,40 @@ +# Generated from scene2d.pro. + +##################################################################### +## tst_scene2d Test: +##################################################################### + +qt_add_test(tst_scene2d + SOURCES + ../commons/testrenderer.cpp ../commons/testrenderer.h + tst_scene2d.cpp + INCLUDE_DIRECTORIES + ../../core/common + ../commons + PUBLIC_LIBRARIES + Qt::3DCore + Qt::3DCorePrivate + Qt::3DQuickScene2D + Qt::3DQuickScene2DPrivate + Qt::3DRender + Qt::3DRenderPrivate + Qt::CorePrivate + Qt::Gui +) + +#### Keys ignored in scope 1:.:.:scene2d.pro:<TRUE>: +# TEMPLATE = "app" + +## Scopes: +##################################################################### + +qt_extend_target(tst_scene2d CONDITION QT_FEATURE_private_tests + SOURCES + ../../core/common/qbackendnodetester.cpp ../../core/common/qbackendnodetester.h + ../../core/common/testarbiter.h +) + +qt_extend_target(tst_scene2d CONDITION useCommonTestAspect + SOURCES + ../commons/testaspect.cpp ../commons/testaspect.h +) diff --git a/tests/auto/render/sceneloader/CMakeLists.txt b/tests/auto/render/sceneloader/CMakeLists.txt new file mode 100644 index 000000000..b49fb4d25 --- /dev/null +++ b/tests/auto/render/sceneloader/CMakeLists.txt @@ -0,0 +1,38 @@ +# Generated from sceneloader.pro. + +##################################################################### +## tst_sceneloader Test: +##################################################################### + +qt_add_test(tst_sceneloader + SOURCES + ../commons/testrenderer.cpp ../commons/testrenderer.h + tst_sceneloader.cpp + INCLUDE_DIRECTORIES + ../../core/common + ../commons + PUBLIC_LIBRARIES + Qt::3DCore + Qt::3DCorePrivate + Qt::3DRender + Qt::3DRenderPrivate + Qt::CorePrivate + Qt::Gui +) + +#### Keys ignored in scope 1:.:.:sceneloader.pro:<TRUE>: +# TEMPLATE = "app" + +## Scopes: +##################################################################### + +qt_extend_target(tst_sceneloader CONDITION QT_FEATURE_private_tests + SOURCES + ../../core/common/qbackendnodetester.cpp ../../core/common/qbackendnodetester.h + ../../core/common/testarbiter.h +) + +qt_extend_target(tst_sceneloader CONDITION useCommonTestAspect + SOURCES + ../commons/testaspect.cpp ../commons/testaspect.h +) diff --git a/tests/auto/render/segmentvisitor/CMakeLists.txt b/tests/auto/render/segmentvisitor/CMakeLists.txt new file mode 100644 index 000000000..927321bbb --- /dev/null +++ b/tests/auto/render/segmentvisitor/CMakeLists.txt @@ -0,0 +1,38 @@ +# Generated from segmentvisitor.pro. + +##################################################################### +## segmentvisitor Test: +##################################################################### + +qt_add_test(segmentvisitor + SOURCES + ../commons/testrenderer.cpp ../commons/testrenderer.h + tst_segmentvisitor.cpp + INCLUDE_DIRECTORIES + ../../core/common + ../commons + PUBLIC_LIBRARIES + Qt::3DCore + Qt::3DCorePrivate + Qt::3DRender + Qt::3DRenderPrivate + Qt::CorePrivate + Qt::Gui +) + +#### Keys ignored in scope 1:.:.:segmentvisitor.pro:<TRUE>: +# TEMPLATE = "app" + +## Scopes: +##################################################################### + +qt_extend_target(segmentvisitor CONDITION QT_FEATURE_private_tests + SOURCES + ../../core/common/qbackendnodetester.cpp ../../core/common/qbackendnodetester.h + ../../core/common/testarbiter.h +) + +qt_extend_target(segmentvisitor CONDITION useCommonTestAspect + SOURCES + ../commons/testaspect.cpp ../commons/testaspect.h +) diff --git a/tests/auto/render/setfence/CMakeLists.txt b/tests/auto/render/setfence/CMakeLists.txt new file mode 100644 index 000000000..021258f3b --- /dev/null +++ b/tests/auto/render/setfence/CMakeLists.txt @@ -0,0 +1,38 @@ +# Generated from setfence.pro. + +##################################################################### +## tst_setfence Test: +##################################################################### + +qt_add_test(tst_setfence + SOURCES + ../commons/testrenderer.cpp ../commons/testrenderer.h + tst_setfence.cpp + INCLUDE_DIRECTORIES + ../../core/common + ../commons + PUBLIC_LIBRARIES + Qt::3DCore + Qt::3DCorePrivate + Qt::3DRender + Qt::3DRenderPrivate + Qt::CorePrivate + Qt::Gui +) + +#### Keys ignored in scope 1:.:.:setfence.pro:<TRUE>: +# TEMPLATE = "app" + +## Scopes: +##################################################################### + +qt_extend_target(tst_setfence CONDITION QT_FEATURE_private_tests + SOURCES + ../../core/common/qbackendnodetester.cpp ../../core/common/qbackendnodetester.h + ../../core/common/testarbiter.h +) + +qt_extend_target(tst_setfence CONDITION useCommonTestAspect + SOURCES + ../commons/testaspect.cpp ../commons/testaspect.h +) diff --git a/tests/auto/render/shader/CMakeLists.txt b/tests/auto/render/shader/CMakeLists.txt new file mode 100644 index 000000000..6704991e5 --- /dev/null +++ b/tests/auto/render/shader/CMakeLists.txt @@ -0,0 +1,38 @@ +# Generated from shader.pro. + +##################################################################### +## tst_shader Test: +##################################################################### + +qt_add_test(tst_shader + SOURCES + ../commons/testrenderer.cpp ../commons/testrenderer.h + tst_shader.cpp + INCLUDE_DIRECTORIES + ../../core/common + ../commons + PUBLIC_LIBRARIES + Qt::3DCore + Qt::3DCorePrivate + Qt::3DRender + Qt::3DRenderPrivate + Qt::CorePrivate + Qt::Gui +) + +#### Keys ignored in scope 1:.:.:shader.pro:<TRUE>: +# TEMPLATE = "app" + +## Scopes: +##################################################################### + +qt_extend_target(tst_shader CONDITION QT_FEATURE_private_tests + SOURCES + ../../core/common/qbackendnodetester.cpp ../../core/common/qbackendnodetester.h + ../../core/common/testarbiter.h +) + +qt_extend_target(tst_shader CONDITION useCommonTestAspect + SOURCES + ../commons/testaspect.cpp ../commons/testaspect.h +) diff --git a/tests/auto/render/shaderbuilder/CMakeLists.txt b/tests/auto/render/shaderbuilder/CMakeLists.txt new file mode 100644 index 000000000..dbd77de2c --- /dev/null +++ b/tests/auto/render/shaderbuilder/CMakeLists.txt @@ -0,0 +1,56 @@ +# Generated from shaderbuilder.pro. + +##################################################################### +## tst_shaderbuilder Test: +##################################################################### + +qt_add_test(tst_shaderbuilder + SOURCES + ../commons/testrenderer.cpp ../commons/testrenderer.h + tst_shaderbuilder.cpp + INCLUDE_DIRECTORIES + ../../core/common + ../commons + PUBLIC_LIBRARIES + Qt::3DCore + Qt::3DCorePrivate + Qt::3DRender + Qt::3DRenderPrivate + Qt::CorePrivate + Qt::Gui +) + +# Resources: +set(shaderbuilder_resource_files + "input.json" + "lightmodel.es2.inc" + "lightmodel.gl3.inc" + "output.es2" + "output.gl3" + "prototypes.json" +) + +qt_add_resource(tst_shaderbuilder "shaderbuilder" + PREFIX + "/" + FILES + ${shaderbuilder_resource_files} +) + + +#### Keys ignored in scope 1:.:.:shaderbuilder.pro:<TRUE>: +# TEMPLATE = "app" + +## Scopes: +##################################################################### + +qt_extend_target(tst_shaderbuilder CONDITION QT_FEATURE_private_tests + SOURCES + ../../core/common/qbackendnodetester.cpp ../../core/common/qbackendnodetester.h + ../../core/common/testarbiter.h +) + +qt_extend_target(tst_shaderbuilder CONDITION useCommonTestAspect + SOURCES + ../commons/testaspect.cpp ../commons/testaspect.h +) diff --git a/tests/auto/render/shadergraph/CMakeLists.txt b/tests/auto/render/shadergraph/CMakeLists.txt new file mode 100644 index 000000000..36789d1ec --- /dev/null +++ b/tests/auto/render/shadergraph/CMakeLists.txt @@ -0,0 +1,9 @@ +# Generated from shadergraph.pro. + +if(QT_FEATURE_private_tests) + add_subdirectory(qshadergenerator) + add_subdirectory(qshadergraph) + add_subdirectory(qshadergraphloader) + add_subdirectory(qshadernodes) + add_subdirectory(qshadernodesloader) +endif() diff --git a/tests/auto/render/shadergraph/qshadergenerator/CMakeLists.txt b/tests/auto/render/shadergraph/qshadergenerator/CMakeLists.txt new file mode 100644 index 000000000..dec233cc9 --- /dev/null +++ b/tests/auto/render/shadergraph/qshadergenerator/CMakeLists.txt @@ -0,0 +1,13 @@ +# Generated from qshadergenerator.pro. + +##################################################################### +## tst_qshadergenerator Test: +##################################################################### + +qt_add_test(tst_qshadergenerator + SOURCES + tst_qshadergenerator.cpp + PUBLIC_LIBRARIES + Qt::3DRenderPrivate + Qt::Gui +) diff --git a/tests/auto/render/shadergraph/qshadergraph/CMakeLists.txt b/tests/auto/render/shadergraph/qshadergraph/CMakeLists.txt new file mode 100644 index 000000000..55a56daf3 --- /dev/null +++ b/tests/auto/render/shadergraph/qshadergraph/CMakeLists.txt @@ -0,0 +1,13 @@ +# Generated from qshadergraph.pro. + +##################################################################### +## tst_qshadergraph Test: +##################################################################### + +qt_add_test(tst_qshadergraph + SOURCES + tst_qshadergraph.cpp + PUBLIC_LIBRARIES + Qt::3DRenderPrivate + Qt::Gui +) diff --git a/tests/auto/render/shadergraph/qshadergraphloader/CMakeLists.txt b/tests/auto/render/shadergraph/qshadergraphloader/CMakeLists.txt new file mode 100644 index 000000000..2a817770d --- /dev/null +++ b/tests/auto/render/shadergraph/qshadergraphloader/CMakeLists.txt @@ -0,0 +1,13 @@ +# Generated from qshadergraphloader.pro. + +##################################################################### +## tst_qshadergraphloader Test: +##################################################################### + +qt_add_test(tst_qshadergraphloader + SOURCES + tst_qshadergraphloader.cpp + PUBLIC_LIBRARIES + Qt::3DRenderPrivate + Qt::Gui +) diff --git a/tests/auto/render/shadergraph/qshadernodes/CMakeLists.txt b/tests/auto/render/shadergraph/qshadernodes/CMakeLists.txt new file mode 100644 index 000000000..056f7d910 --- /dev/null +++ b/tests/auto/render/shadergraph/qshadernodes/CMakeLists.txt @@ -0,0 +1,13 @@ +# Generated from qshadernodes.pro. + +##################################################################### +## tst_qshadernodes Test: +##################################################################### + +qt_add_test(tst_qshadernodes + SOURCES + tst_qshadernodes.cpp + PUBLIC_LIBRARIES + Qt::3DRenderPrivate + Qt::Gui +) diff --git a/tests/auto/render/shadergraph/qshadernodesloader/CMakeLists.txt b/tests/auto/render/shadergraph/qshadernodesloader/CMakeLists.txt new file mode 100644 index 000000000..e258735f8 --- /dev/null +++ b/tests/auto/render/shadergraph/qshadernodesloader/CMakeLists.txt @@ -0,0 +1,13 @@ +# Generated from qshadernodesloader.pro. + +##################################################################### +## tst_qshadernodesloader Test: +##################################################################### + +qt_add_test(tst_qshadernodesloader + SOURCES + tst_qshadernodesloader.cpp + PUBLIC_LIBRARIES + Qt::3DRenderPrivate + Qt::Gui +) diff --git a/tests/auto/render/shaderimage/CMakeLists.txt b/tests/auto/render/shaderimage/CMakeLists.txt new file mode 100644 index 000000000..b358810e4 --- /dev/null +++ b/tests/auto/render/shaderimage/CMakeLists.txt @@ -0,0 +1,38 @@ +# Generated from shaderimage.pro. + +##################################################################### +## tst_shaderimage Test: +##################################################################### + +qt_add_test(tst_shaderimage + SOURCES + ../commons/testrenderer.cpp ../commons/testrenderer.h + tst_shaderimage.cpp + INCLUDE_DIRECTORIES + ../../core/common + ../commons + PUBLIC_LIBRARIES + Qt::3DCore + Qt::3DCorePrivate + Qt::3DRender + Qt::3DRenderPrivate + Qt::CorePrivate + Qt::Gui +) + +#### Keys ignored in scope 1:.:.:shaderimage.pro:<TRUE>: +# TEMPLATE = "app" + +## Scopes: +##################################################################### + +qt_extend_target(tst_shaderimage CONDITION QT_FEATURE_private_tests + SOURCES + ../../core/common/qbackendnodetester.cpp ../../core/common/qbackendnodetester.h + ../../core/common/testarbiter.h +) + +qt_extend_target(tst_shaderimage CONDITION useCommonTestAspect + SOURCES + ../commons/testaspect.cpp ../commons/testaspect.h +) diff --git a/tests/auto/render/skeleton/CMakeLists.txt b/tests/auto/render/skeleton/CMakeLists.txt new file mode 100644 index 000000000..e20757b92 --- /dev/null +++ b/tests/auto/render/skeleton/CMakeLists.txt @@ -0,0 +1,38 @@ +# Generated from skeleton.pro. + +##################################################################### +## tst_skeleton Test: +##################################################################### + +qt_add_test(tst_skeleton + SOURCES + ../commons/testrenderer.cpp ../commons/testrenderer.h + tst_skeleton.cpp + INCLUDE_DIRECTORIES + ../../core/common + ../commons + PUBLIC_LIBRARIES + Qt::3DCore + Qt::3DCorePrivate + Qt::3DRender + Qt::3DRenderPrivate + Qt::CorePrivate + Qt::Gui +) + +#### Keys ignored in scope 1:.:.:skeleton.pro:<TRUE>: +# TEMPLATE = "app" + +## Scopes: +##################################################################### + +qt_extend_target(tst_skeleton CONDITION QT_FEATURE_private_tests + SOURCES + ../../core/common/qbackendnodetester.cpp ../../core/common/qbackendnodetester.h + ../../core/common/testarbiter.h +) + +qt_extend_target(tst_skeleton CONDITION useCommonTestAspect + SOURCES + ../commons/testaspect.cpp ../commons/testaspect.h +) diff --git a/tests/auto/render/sortpolicy/CMakeLists.txt b/tests/auto/render/sortpolicy/CMakeLists.txt new file mode 100644 index 000000000..d7aa14161 --- /dev/null +++ b/tests/auto/render/sortpolicy/CMakeLists.txt @@ -0,0 +1,38 @@ +# Generated from sortpolicy.pro. + +##################################################################### +## tst_sortpolicy Test: +##################################################################### + +qt_add_test(tst_sortpolicy + SOURCES + ../commons/testrenderer.cpp ../commons/testrenderer.h + tst_sortpolicy.cpp + INCLUDE_DIRECTORIES + ../../core/common + ../commons + PUBLIC_LIBRARIES + Qt::3DCore + Qt::3DCorePrivate + Qt::3DRender + Qt::3DRenderPrivate + Qt::CorePrivate + Qt::Gui +) + +#### Keys ignored in scope 1:.:.:sortpolicy.pro:<TRUE>: +# TEMPLATE = "app" + +## Scopes: +##################################################################### + +qt_extend_target(tst_sortpolicy CONDITION QT_FEATURE_private_tests + SOURCES + ../../core/common/qbackendnodetester.cpp ../../core/common/qbackendnodetester.h + ../../core/common/testarbiter.h +) + +qt_extend_target(tst_sortpolicy CONDITION useCommonTestAspect + SOURCES + ../commons/testaspect.cpp ../commons/testaspect.h +) diff --git a/tests/auto/render/technique/CMakeLists.txt b/tests/auto/render/technique/CMakeLists.txt new file mode 100644 index 000000000..7bc587113 --- /dev/null +++ b/tests/auto/render/technique/CMakeLists.txt @@ -0,0 +1,38 @@ +# Generated from technique.pro. + +##################################################################### +## tst_technique Test: +##################################################################### + +qt_add_test(tst_technique + SOURCES + ../commons/testrenderer.cpp ../commons/testrenderer.h + tst_technique.cpp + INCLUDE_DIRECTORIES + ../../core/common + ../commons + PUBLIC_LIBRARIES + Qt::3DCore + Qt::3DCorePrivate + Qt::3DRender + Qt::3DRenderPrivate + Qt::CorePrivate + Qt::Gui +) + +#### Keys ignored in scope 1:.:.:technique.pro:<TRUE>: +# TEMPLATE = "app" + +## Scopes: +##################################################################### + +qt_extend_target(tst_technique CONDITION QT_FEATURE_private_tests + SOURCES + ../../core/common/qbackendnodetester.cpp ../../core/common/qbackendnodetester.h + ../../core/common/testarbiter.h +) + +qt_extend_target(tst_technique CONDITION useCommonTestAspect + SOURCES + ../commons/testaspect.cpp ../commons/testaspect.h +) diff --git a/tests/auto/render/texture/CMakeLists.txt b/tests/auto/render/texture/CMakeLists.txt new file mode 100644 index 000000000..5188a847a --- /dev/null +++ b/tests/auto/render/texture/CMakeLists.txt @@ -0,0 +1,38 @@ +# Generated from texture.pro. + +##################################################################### +## tst_texture Test: +##################################################################### + +qt_add_test(tst_texture + SOURCES + ../commons/testrenderer.cpp ../commons/testrenderer.h + tst_texture.cpp + INCLUDE_DIRECTORIES + ../../core/common + ../commons + PUBLIC_LIBRARIES + Qt::3DCore + Qt::3DCorePrivate + Qt::3DRender + Qt::3DRenderPrivate + Qt::CorePrivate + Qt::Gui +) + +#### Keys ignored in scope 1:.:.:texture.pro:<TRUE>: +# TEMPLATE = "app" + +## Scopes: +##################################################################### + +qt_extend_target(tst_texture CONDITION QT_FEATURE_private_tests + SOURCES + ../../core/common/qbackendnodetester.cpp ../../core/common/qbackendnodetester.h + ../../core/common/testarbiter.h +) + +qt_extend_target(tst_texture CONDITION useCommonTestAspect + SOURCES + ../commons/testaspect.cpp ../commons/testaspect.h +) diff --git a/tests/auto/render/transform/CMakeLists.txt b/tests/auto/render/transform/CMakeLists.txt new file mode 100644 index 000000000..c99820cb8 --- /dev/null +++ b/tests/auto/render/transform/CMakeLists.txt @@ -0,0 +1,38 @@ +# Generated from transform.pro. + +##################################################################### +## tst_transform Test: +##################################################################### + +qt_add_test(tst_transform + SOURCES + ../commons/testrenderer.cpp ../commons/testrenderer.h + tst_transform.cpp + INCLUDE_DIRECTORIES + ../../core/common + ../commons + PUBLIC_LIBRARIES + Qt::3DCore + Qt::3DCorePrivate + Qt::3DRender + Qt::3DRenderPrivate + Qt::CorePrivate + Qt::Gui +) + +#### Keys ignored in scope 1:.:.:transform.pro:<TRUE>: +# TEMPLATE = "app" + +## Scopes: +##################################################################### + +qt_extend_target(tst_transform CONDITION QT_FEATURE_private_tests + SOURCES + ../../core/common/qbackendnodetester.cpp ../../core/common/qbackendnodetester.h + ../../core/common/testarbiter.h +) + +qt_extend_target(tst_transform CONDITION useCommonTestAspect + SOURCES + ../commons/testaspect.cpp ../commons/testaspect.h +) diff --git a/tests/auto/render/triangleboundingvolume/CMakeLists.txt b/tests/auto/render/triangleboundingvolume/CMakeLists.txt new file mode 100644 index 000000000..60563be14 --- /dev/null +++ b/tests/auto/render/triangleboundingvolume/CMakeLists.txt @@ -0,0 +1,19 @@ +# Generated from triangleboundingvolume.pro. + +##################################################################### +## tst_triangleboundingvolume Test: +##################################################################### + +qt_add_test(tst_triangleboundingvolume + SOURCES + tst_triangleboundingvolume.cpp + PUBLIC_LIBRARIES + Qt::3DCore + Qt::3DCorePrivate + Qt::3DRender + Qt::3DRenderPrivate + Qt::Gui +) + +#### Keys ignored in scope 1:.:.:triangleboundingvolume.pro:<TRUE>: +# TEMPLATE = "app" diff --git a/tests/auto/render/trianglevisitor/CMakeLists.txt b/tests/auto/render/trianglevisitor/CMakeLists.txt new file mode 100644 index 000000000..b081e4a53 --- /dev/null +++ b/tests/auto/render/trianglevisitor/CMakeLists.txt @@ -0,0 +1,38 @@ +# Generated from trianglevisitor.pro. + +##################################################################### +## trianglevisitor Test: +##################################################################### + +qt_add_test(trianglevisitor + SOURCES + ../commons/testrenderer.cpp ../commons/testrenderer.h + tst_trianglevisitor.cpp + INCLUDE_DIRECTORIES + ../../core/common + ../commons + PUBLIC_LIBRARIES + Qt::3DCore + Qt::3DCorePrivate + Qt::3DRender + Qt::3DRenderPrivate + Qt::CorePrivate + Qt::Gui +) + +#### Keys ignored in scope 1:.:.:trianglevisitor.pro:<TRUE>: +# TEMPLATE = "app" + +## Scopes: +##################################################################### + +qt_extend_target(trianglevisitor CONDITION QT_FEATURE_private_tests + SOURCES + ../../core/common/qbackendnodetester.cpp ../../core/common/qbackendnodetester.h + ../../core/common/testarbiter.h +) + +qt_extend_target(trianglevisitor CONDITION useCommonTestAspect + SOURCES + ../commons/testaspect.cpp ../commons/testaspect.h +) diff --git a/tests/auto/render/uniform/CMakeLists.txt b/tests/auto/render/uniform/CMakeLists.txt new file mode 100644 index 000000000..fb7789605 --- /dev/null +++ b/tests/auto/render/uniform/CMakeLists.txt @@ -0,0 +1,38 @@ +# Generated from uniform.pro. + +##################################################################### +## tst_uniform Test: +##################################################################### + +qt_add_test(tst_uniform + SOURCES + ../commons/testrenderer.cpp ../commons/testrenderer.h + tst_uniform.cpp + INCLUDE_DIRECTORIES + ../../core/common + ../commons + PUBLIC_LIBRARIES + Qt::3DCore + Qt::3DCorePrivate + Qt::3DRender + Qt::3DRenderPrivate + Qt::CorePrivate + Qt::Gui +) + +#### Keys ignored in scope 1:.:.:uniform.pro:<TRUE>: +# TEMPLATE = "app" + +## Scopes: +##################################################################### + +qt_extend_target(tst_uniform CONDITION QT_FEATURE_private_tests + SOURCES + ../../core/common/qbackendnodetester.cpp ../../core/common/qbackendnodetester.h + ../../core/common/testarbiter.h +) + +qt_extend_target(tst_uniform CONDITION useCommonTestAspect + SOURCES + ../commons/testaspect.cpp ../commons/testaspect.h +) diff --git a/tests/auto/render/updateshaderdatatransformjob/CMakeLists.txt b/tests/auto/render/updateshaderdatatransformjob/CMakeLists.txt new file mode 100644 index 000000000..db702602c --- /dev/null +++ b/tests/auto/render/updateshaderdatatransformjob/CMakeLists.txt @@ -0,0 +1,60 @@ +# Generated from updateshaderdatatransformjob.pro. + +##################################################################### +## tst_updateshaderdatatransformjob Test: +##################################################################### + +qt_add_test(tst_updateshaderdatatransformjob + SOURCES + ../commons/testrenderer.cpp ../commons/testrenderer.h + ../qmlscenereader/qmlscenereader.cpp ../qmlscenereader/qmlscenereader.h + tst_updateshaderdatatransformjob.cpp + INCLUDE_DIRECTORIES + ../../core/common + ../commons + ../qmlscenereader + PUBLIC_LIBRARIES + Qt::3DCore + Qt::3DCorePrivate + Qt::3DExtras + Qt::3DQuick + Qt::3DQuickPrivate + Qt::3DQuickExtras + Qt::3DRender + Qt::3DRenderPrivate + Qt::CorePrivate + Qt::Gui + Qt::Qml + Qt::Quick +) + +# Resources: +set(updateshaderdatatransformjob_resource_files + "test_scene_model_to_eye.qml" + "test_scene_model_to_world.qml" +) + +qt_add_resource(tst_updateshaderdatatransformjob "updateshaderdatatransformjob" + PREFIX + "/" + FILES + ${updateshaderdatatransformjob_resource_files} +) + + +#### Keys ignored in scope 1:.:.:updateshaderdatatransformjob.pro:<TRUE>: +# TEMPLATE = "app" + +## Scopes: +##################################################################### + +qt_extend_target(tst_updateshaderdatatransformjob CONDITION QT_FEATURE_private_tests + SOURCES + ../../core/common/qbackendnodetester.cpp ../../core/common/qbackendnodetester.h + ../../core/common/testarbiter.h +) + +qt_extend_target(tst_updateshaderdatatransformjob CONDITION useCommonTestAspect + SOURCES + ../commons/testaspect.cpp ../commons/testaspect.h +) diff --git a/tests/auto/render/vsyncframeadvanceservice/CMakeLists.txt b/tests/auto/render/vsyncframeadvanceservice/CMakeLists.txt new file mode 100644 index 000000000..c04489978 --- /dev/null +++ b/tests/auto/render/vsyncframeadvanceservice/CMakeLists.txt @@ -0,0 +1,19 @@ +# Generated from vsyncframeadvanceservice.pro. + +##################################################################### +## tst_vsyncframeadvanceservice Test: +##################################################################### + +qt_add_test(tst_vsyncframeadvanceservice + SOURCES + tst_vsyncframeadvanceservice.cpp + PUBLIC_LIBRARIES + Qt::3DCore + Qt::3DCorePrivate + Qt::3DRender + Qt::3DRenderPrivate + Qt::Gui +) + +#### Keys ignored in scope 1:.:.:vsyncframeadvanceservice.pro:<TRUE>: +# TEMPLATE = "app" diff --git a/tests/auto/render/waitfence/CMakeLists.txt b/tests/auto/render/waitfence/CMakeLists.txt new file mode 100644 index 000000000..4e191a6cd --- /dev/null +++ b/tests/auto/render/waitfence/CMakeLists.txt @@ -0,0 +1,38 @@ +# Generated from waitfence.pro. + +##################################################################### +## tst_waitfence Test: +##################################################################### + +qt_add_test(tst_waitfence + SOURCES + ../commons/testrenderer.cpp ../commons/testrenderer.h + tst_waitfence.cpp + INCLUDE_DIRECTORIES + ../../core/common + ../commons + PUBLIC_LIBRARIES + Qt::3DCore + Qt::3DCorePrivate + Qt::3DRender + Qt::3DRenderPrivate + Qt::CorePrivate + Qt::Gui +) + +#### Keys ignored in scope 1:.:.:waitfence.pro:<TRUE>: +# TEMPLATE = "app" + +## Scopes: +##################################################################### + +qt_extend_target(tst_waitfence CONDITION QT_FEATURE_private_tests + SOURCES + ../../core/common/qbackendnodetester.cpp ../../core/common/qbackendnodetester.h + ../../core/common/testarbiter.h +) + +qt_extend_target(tst_waitfence CONDITION useCommonTestAspect + SOURCES + ../commons/testaspect.cpp ../commons/testaspect.h +) |