mirror of
https://git.dev.opencascade.org/repos/occt.git
synced 2025-04-04 18:06:22 +03:00
Improved output of Xdump command using Draw_Interpretor. Improved output of Xdump command using Standard_SStream. OStream is used instead of SStream. Test cases for issue CR23911
31 lines
650 B
Plaintext
Executable File
31 lines
650 B
Plaintext
Executable File
puts "================"
|
|
puts "OCC23047"
|
|
puts "================"
|
|
puts ""
|
|
########################################################################################################
|
|
# Behaviour of XDE sample is non-stable
|
|
########################################################################################################
|
|
|
|
set BugNumber OCC23047
|
|
|
|
pload QAcommands
|
|
|
|
XNewDoc D
|
|
box b 1 1 1
|
|
ttranslate b 1 0 0
|
|
XAddShape D b
|
|
XRemoveShape D 0:1:1:1 0
|
|
|
|
set xd [Xdump D]
|
|
|
|
regexp {Free Shapes: ([-0-9.+eE]+)} $xd full FreeShapes
|
|
puts "FreeShapes=${FreeShapes}"
|
|
|
|
if { ${FreeShapes} != 1 } {
|
|
puts "Faulty ${BugNumber}"
|
|
} else {
|
|
puts "OK ${BugNumber}"
|
|
}
|
|
|
|
|