tests/quick: Replace Q[TRY]_VERIFY(a == b) by Q[TRY]_COMPARE(a, b).
authorFriedemann Kleint <Friedemann.Kleint@theqtcompany.com>
Fri, 24 Jul 2015 13:32:22 +0000 (15:32 +0200)
committerFriedemann Kleint <Friedemann.Kleint@theqtcompany.com>
Mon, 27 Jul 2015 18:45:21 +0000 (18:45 +0000)
commite6846850a51cbe2a8cc8b9398430d1dd4f6ac7b3
treeee08e04b3f0eca16f7f12f2c2392eee9dbae41d8
parent0959281be22c2d3317f010ac117010fdf990df7a
tests/quick: Replace Q[TRY]_VERIFY(a == b) by Q[TRY]_COMPARE(a, b).

- Replace Q[TRY]_VERIFY(pointer == 0) by Q[TRY]_VERIFY(!pointer).
- Replace Q[TRY]_VERIFY(smartPointer == 0)  by
          Q[TRY]_VERIFY(smartPointer.isNull()).
- Replace Q[TRY]_VERIFY(a == b) by  Q[TRY]_COMPARE(a, b) and
  add casts where necessary. The values will then be logged
  should a test fail.

Change-Id: Ib9f4c2486af23c47990be4b9e004b965de226dcc
Reviewed-by: Mitch Curtis <mitch.curtis@theqtcompany.com>
39 files changed:
tests/auto/particles/qquickpointattractor/tst_qquickpointattractor.cpp
tests/auto/quick/geometry/tst_geometry.cpp
tests/auto/quick/qquickanchors/tst_qquickanchors.cpp
tests/auto/quick/qquickanimatedimage/tst_qquickanimatedimage.cpp
tests/auto/quick/qquickanimations/tst_qquickanimations.cpp
tests/auto/quick/qquickapplication/tst_qquickapplication.cpp
tests/auto/quick/qquickborderimage/tst_qquickborderimage.cpp
tests/auto/quick/qquickdynamicpropertyanimation/tst_qquickdynamicpropertyanimation.cpp
tests/auto/quick/qquickflickable/tst_qquickflickable.cpp
tests/auto/quick/qquickflipable/tst_qquickflipable.cpp
tests/auto/quick/qquickfocusscope/tst_qquickfocusscope.cpp
tests/auto/quick/qquickfontloader/tst_qquickfontloader.cpp
tests/auto/quick/qquickgridview/tst_qquickgridview.cpp
tests/auto/quick/qquickimage/tst_qquickimage.cpp
tests/auto/quick/qquickimageprovider/tst_qquickimageprovider.cpp
tests/auto/quick/qquickitem/tst_qquickitem.cpp
tests/auto/quick/qquickitem2/tst_qquickitem.cpp
tests/auto/quick/qquicklistview/tst_qquicklistview.cpp
tests/auto/quick/qquickloader/tst_qquickloader.cpp
tests/auto/quick/qquickmousearea/tst_qquickmousearea.cpp
tests/auto/quick/qquickmultipointtoucharea/tst_qquickmultipointtoucharea.cpp
tests/auto/quick/qquickpathview/tst_qquickpathview.cpp
tests/auto/quick/qquickpincharea/tst_qquickpincharea.cpp
tests/auto/quick/qquickpixmapcache/tst_qquickpixmapcache.cpp
tests/auto/quick/qquickpositioners/tst_qquickpositioners.cpp
tests/auto/quick/qquickrepeater/tst_qquickrepeater.cpp
tests/auto/quick/qquicksmoothedanimation/tst_qquicksmoothedanimation.cpp
tests/auto/quick/qquickstates/tst_qquickstates.cpp
tests/auto/quick/qquickstyledtext/tst_qquickstyledtext.cpp
tests/auto/quick/qquicksystempalette/tst_qquicksystempalette.cpp
tests/auto/quick/qquicktext/tst_qquicktext.cpp
tests/auto/quick/qquicktextedit/tst_qquicktextedit.cpp
tests/auto/quick/qquicktextinput/tst_qquicktextinput.cpp
tests/auto/quick/qquickview/tst_qquickview.cpp
tests/auto/quick/qquickvisualdatamodel/tst_qquickvisualdatamodel.cpp
tests/auto/quick/qquickwindow/tst_qquickwindow.cpp
tests/auto/quick/qquickxmllistmodel/tst_qquickxmllistmodel.cpp
tests/auto/quick/touchmouse/tst_touchmouse.cpp
tests/auto/quickwidgets/qquickwidget/tst_qquickwidget.cpp