1
0
mirror of https://git.dev.opencascade.org/repos/occt.git synced 2025-04-04 18:06:22 +03:00
occt/tests/bugs/caf/bug23306
2013-02-01 17:32:08 +04:00

29 lines
609 B
Plaintext
Executable File

puts "============"
puts "OCC23306"
puts "============"
puts ""
####################################################################################
# Failures reading some attributes of BinOcaf document
####################################################################################
set BugNumber OCC23306
NewDocument D1 BinOcaf
SetExtStringArray D1 0:1:1 0 1 3 String1 String2 String3
SaveAs D1 ${imagedir}/ocaf1.cbf
Close D1
set warn [Open ${imagedir}/ocaf1.cbf D2]
set info [lsearch $warn "warning:"]
if { $info == -1 } {
puts "OK ${BugNumber}"
} else {
puts "Faulty ${BugNumber}"
}