4 # Testing order of attributes on Undo/Redo
6 # Testing command: SetInteger
7 # Testing command: GetReal
8 # Testing command: Undo and Redo
19 set res1 [CheckLabel D 0:1]
20 set indexReal1 [lsearch ${res1} TDataStd_Real]
21 set indexInt1 [lsearch ${res1} TDataStd_Integer]
22 if { ${indexReal1} != 11} {
23 puts "Error: Wrong position 1 of TDataStd_Real attribute."
25 if { ${indexInt1} != 5} {
26 puts "Error: Wrong position 1 of TDataStd_Integer attribute."
33 set res2 [CheckLabel D 0:1]
34 set indexReal2 [lsearch ${res2} TDataStd_Real]
35 set indexInt2 [lsearch ${res2} TDataStd_Integer]
36 if { ${indexReal1} != ${indexReal2}} {
37 puts "Error: Wrong position 2 of TDataStd_Real attribute."
39 if { ${indexInt1} != ${indexInt2}} {
40 puts "Error: Wrong position 2 of TDataStd_Integer attribute."