Skip to content

Zoom test failing on master #3

@giallu

Description

@giallu

There is a single failing test in master, OSX platform:

********* Start testing of tst_qnitezoomtool *********
Config: Using QtTest library 5.15.8, Qt 5.15.8 (arm64-little_endian-lp64 shared (dynamic) release build; by Clang 14.0.3 (clang-1403.0.22.14.1) (Apple)), osx 13.3
PASS : tst_qnitezoomtool::QniteZoomTool::initTestCase()
QWARN : tst_qnitezoomtool::QniteZoomTool::test_default_zoom_factor() qrc:/qml/Qnite/Axes.qml:109:5: QML Connections: Implicitly defined onFoo properties in Connections are deprecated. Use this syntax instead: function onFoo() { ... }
QWARN : tst_qnitezoomtool::QniteZoomTool::test_default_zoom_factor() qrc:/qml/Qnite/Axes.qml:103:5: QML Connections: Implicitly defined onFoo properties in Connections are deprecated. Use this syntax instead: function onFoo() { ... }
QDEBUG : tst_qnitezoomtool::QniteZoomTool::test_default_zoom_factor() Creating suitable QNanoBackend for OpenGL 2.1 context
QDEBUG : tst_qnitezoomtool::QniteZoomTool::test_default_zoom_factor() Using backend: "OpenGL 2"
QDEBUG : tst_qnitezoomtool::QniteZoomTool::test_default_zoom_factor() qnite.zoom.painter: synchronizing qnitezoom
QDEBUG : tst_qnitezoomtool::QniteZoomTool::test_default_zoom_factor() qnite.zoom.painter: painting qnitezoom
UNSUPPORTED (log once): POSSIBLE ISSUE: unit 0 GLD_TEXTURE_INDEX_2D is unloadable and bound to sampler type (Float) - using zero texture because texture unloadable
QDEBUG : tst_qnitezoomtool::QniteZoomTool::test_default_zoom_factor() qnite.zoom.painter: synchronizing qnitezoom
QDEBUG : tst_qnitezoomtool::QniteZoomTool::test_default_zoom_factor() qnite.zoom.painter: painting qnitezoom
QDEBUG : tst_qnitezoomtool::QniteZoomTool::test_default_zoom_factor() qnite.zoom.painter: synchronizing qnitezoom
QDEBUG : tst_qnitezoomtool::QniteZoomTool::test_default_zoom_factor() qnite.zoom.painter: painting qnitezoom
QDEBUG : tst_qnitezoomtool::QniteZoomTool::test_default_zoom_factor() qnite.zoom.painter: synchronizing qnitezoom
QDEBUG : tst_qnitezoomtool::QniteZoomTool::test_default_zoom_factor() qnite.zoom.painter: painting qnitezoom
FAIL! : tst_qnitezoomtool::QniteZoomTool::test_default_zoom_factor() Compared values are not the same with delta(0.000001)
Actual (): -0.24063068365924534
Expected (): -0.242766
Loc: [/Users/giallu/sources/moka2/3rdparty/qnite/tests/tst_qnitezoomtool/data/tst_qnitezoomtool.qml(137)]
QDEBUG : tst_qnitezoomtool::QniteZoomTool::test_default_zoom_factor() qnite.zoom.painter: synchronizing qnitezoom
QDEBUG : tst_qnitezoomtool::QniteZoomTool::test_default_zoom_factor() qnite.zoom.painter: painting qnitezoom
QWARN : tst_qnitezoomtool::QniteZoomTool::test_reset_zoom() qrc:/qml/Qnite/Axes.qml:109:5: QML Connections: Implicitly defined onFoo properties in Connections are deprecated. Use this syntax instead: function onFoo() { ... }
QWARN : tst_qnitezoomtool::QniteZoomTool::test_reset_zoom() qrc:/qml/Qnite/Axes.qml:103:5: QML Connections: Implicitly defined onFoo properties in Connections are deprecated. Use this syntax instead: function onFoo() { ... }
FAIL! : tst_qnitezoomtool::QniteZoomTool::test_reset_zoom() Compared values are not the same with delta(0.01)
Actual (): -4.10805028082375
Expected (): -4.28
Loc: [/Users/giallu/sources/moka2/3rdparty/qnite/tests/tst_qnitezoomtool/data/tst_qnitezoomtool.qml(79)]
QDEBUG : tst_qnitezoomtool::QniteZoomTool::test_reset_zoom() qnite.zoom.painter: synchronizing qnitezoom
QDEBUG : tst_qnitezoomtool::QniteZoomTool::test_reset_zoom() qnite.zoom.painter: painting qnitezoom
QWARN : tst_qnitezoomtool::QniteZoomTool::test_zoom_bounds_update() qrc:/qml/Qnite/Axes.qml:109:5: QML Connections: Implicitly defined onFoo properties in Connections are deprecated. Use this syntax instead: function onFoo() { ... }
QWARN : tst_qnitezoomtool::QniteZoomTool::test_zoom_bounds_update() qrc:/qml/Qnite/Axes.qml:103:5: QML Connections: Implicitly defined onFoo properties in Connections are deprecated. Use this syntax instead: function onFoo() { ... }
FAIL! : tst_qnitezoomtool::QniteZoomTool::test_zoom_bounds_update() Compared values are not the same
Actual (): 256.03125
Expected (): 258
Loc: [/Users/giallu/sources/moka2/3rdparty/qnite/tests/tst_qnitezoomtool/data/tst_qnitezoomtool.qml(42)]
QDEBUG : tst_qnitezoomtool::QniteZoomTool::test_zoom_bounds_update() qnite.zoom.painter: synchronizing qnitezoom
QDEBUG : tst_qnitezoomtool::QniteZoomTool::test_zoom_bounds_update() qnite.zoom.painter: painting qnitezoom
PASS : tst_qnitezoomtool::QniteZoomTool::cleanupTestCase()
Totals: 2 passed, 3 failed, 0 skipped, 0 blacklisted, 148ms
********* Finished testing of tst_qnitezoomtool *********

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions