0023539: QASelect and QAShiftSelect commands
[occt.git] / tests / bugs / vis / bug597_2
1 if { [array get env os_type] != "" } {
2     set os $env(os_type)
3 }
4 if { [string compare $os "windows"] != 0 } {
5    puts "TODO OCC12345 ALL: An exception was caught"
6    puts "TODO OCC12345 ALL: \\*\\* Exception \\*\\*.*"
7    puts "TODO OCC12345 ALL: TEST INCOMPLETE"
8 }
9
10 puts "=================================="
11 puts "BUC60569"
12 puts "OCC597"
13 puts "=================================="
14 puts "It takes visual check for this BUG"
15 puts "=================================="
16 puts ""
17
18 restore [locate_data_file buc60569a.rle] result
19 tclean result
20 vinit
21
22 checkshape result
23
24 BUC60569 result
25 vfit
26 vselect 250 190
27 vselect 180 350 1
28 vmoveto 250 190
29
30 set x_coord 335
31 set y_coord 331
32
33 checkcolor $x_coord $y_coord 0.8 0.8 0.8
34
35 if {$stat != 1} {
36    puts "Error : The right face is highlighted by Move To command."
37 }
38
39 set only_screen 1