1 puts "========================"
3 puts "========================"
5 ##################################################################################################
6 # It is not possible to check presence of a document in OCAF session via IsInSession() on Windows
7 ##################################################################################################
12 set aFile1 $imagedir/${test_image}-1.cbf
13 set aFile2 $imagedir/${test_image}-2.cbf
17 if { [file exists ${aFile1}] } {
20 if { [file exists ${aFile2}] } {
24 set info1 [ IsInSession ${aFile1} ]
25 set info0 [ IsInSession ${aFile2} ]
26 if { ${info1} == 1 && ${info0} == 0 } {
27 puts "OK ${BugNumber}"
29 puts "Faulty ${BugNumber}"