1 puts "TODO ?OCC11111 ALL: An exception was caught"
2 puts "TODO ?OCC11111 ALL: \\*\\* Exception"
3 puts "TODO ?OCC11111 ALL: TEST INCOMPLETE"
5 puts "================"
7 puts "================"
9 #######################################################################################
10 # Gradient background is clipped by planes
11 ######################################################################################
13 set BugNumber OCC22906
27 vsetgradientbg 255 0 0 0 0 255 4
28 set Color1 [QAGetPixelColor ${x1} ${y1}]
29 set Color2 [QAGetPixelColor ${x2} ${y2}]
30 set Color3 [QAGetPixelColor ${x3} ${y3}]
31 set Color4 [QAGetPixelColor ${x4} ${y4}]
32 vclipplane create pln1
33 vclipplane change pln1 equation 1 0 0 -0.1
34 vclipplane set pln1 view Driver1/Viewer1/View1
38 set ColorRes1 [QAGetPixelColor ${x1} ${y1}]
39 set ColorRes2 [QAGetPixelColor ${x2} ${y2}]
40 set ColorRes3 [QAGetPixelColor ${x3} ${y3}]
41 set ColorRes4 [QAGetPixelColor ${x4} ${y4}]
44 if { ${Color1} == ${ColorRes1} && ${Color2} == ${ColorRes2} && ${Color3} == ${ColorRes3} && ${Color4} == ${ColorRes4}} {
52 if { ${status} != 0} {
53 puts "Faulty ${BugNumber}"
55 puts "OK ${BugNumber}"