0023493: Incorrect QAGetPixelColor usage
authorski <ski@opencascade.com>
Thu, 11 Dec 2014 13:47:12 +0000 (16:47 +0300)
committerbugmaster <bugmaster@opencascade.com>
Thu, 11 Dec 2014 13:48:05 +0000 (16:48 +0300)
commitccadc126ba3a6bb0835b4c6544766858580fb25a
tree88c9bd5b83012b50d1e7f4bfe968b7f16c703a90
parenta4bb1420ca9071f3b25c8d5968a4ab0ee734aa6d
0023493: Incorrect QAGetPixelColor usage

Usage of QAGetPixelColor were checked and corrected.

Using simple comparison instead of regexp.

Improved usage of command vreadpixel for standard colors.

Command QAGetPixelColor was dropped from TKQADraw.

Procedures "checkcolor" and auxiliary "checkpoint" were moved to DrawResources/TestCommands.tcl

Some test cases using "checkcolor" for picking line color were simplified.

Procedures checkcolor and checkpoint were changed to handle situation when pixel is out of view.

Removed unnecessary use of command "vaspects -setwidth" in tests.

Revert -setwidth change in test bugs/vis/bug23525
56 files changed:
src/DrawResources/TestCommands.tcl
src/QADraw/QADraw.cxx
tests/bugs/begin
tests/bugs/iges/bug22888
tests/bugs/modalg_2/bug21909
tests/bugs/modalg_2/bug22884
tests/bugs/moddata_1/bug22039
tests/bugs/vis/buc60574
tests/bugs/vis/buc60688
tests/bugs/vis/bug11615
tests/bugs/vis/bug1174
tests/bugs/vis/bug12121
tests/bugs/vis/bug173_2
tests/bugs/vis/bug173_3
tests/bugs/vis/bug223
tests/bugs/vis/bug22900
tests/bugs/vis/bug22906
tests/bugs/vis/bug23012
tests/bugs/vis/bug23102
tests/bugs/vis/bug23153
tests/bugs/vis/bug232
tests/bugs/vis/bug23226
tests/bugs/vis/bug23363
tests/bugs/vis/bug23385
tests/bugs/vis/bug23407_2
tests/bugs/vis/bug23709_1
tests/bugs/vis/bug23709_2
tests/bugs/vis/bug23709_3
tests/bugs/vis/bug23709_4
tests/bugs/vis/bug24391
tests/bugs/vis/bug24555
tests/bugs/vis/bug24564
tests/bugs/vis/bug24714
tests/bugs/vis/bug24717
tests/bugs/vis/bug24867
tests/bugs/vis/bug24901
tests/bugs/vis/bug24966
tests/bugs/vis/bug349
tests/bugs/vis/bug349_1
tests/bugs/vis/bug597_1
tests/bugs/vis/bug597_2
tests/bugs/vis/bug597_3
tests/bugs/vis/bug597_4
tests/bugs/vis/bug597_5
tests/bugs/vis/bug597_6
tests/bugs/vis/bug597_7
tests/bugs/vis/bug5988
tests/bugs/vis/bug60
tests/bugs/vis/bug7186
tests/bugs/vis/bug74
tests/bugs/vis/ger61351_1
tests/bugs/vis/ger61351_2
tests/bugs/xde/bug22982
tests/bugs/xde/bug23193
tests/bugs/xde/bug25381
tests/demo/begin