mirror of
https://git.dev.opencascade.org/repos/occt.git
synced 2025-08-29 14:00:49 +03:00
0024852: Crash on storage of an Ocaf document in XML file format
Blanks are removed. A check is implemented to correct a GUID in case of presence of the blanks. Test case for issues CR24852
This commit is contained in:
18
tests/bugs/caf/bug24852
Executable file
18
tests/bugs/caf/bug24852
Executable file
@@ -0,0 +1,18 @@
|
||||
puts "=========="
|
||||
puts "OCC24852"
|
||||
puts "=========="
|
||||
puts ""
|
||||
########################################################
|
||||
# Crash on storage of an Ocaf document in XML file format
|
||||
########################################################
|
||||
|
||||
NewDocument D XmlOcaf
|
||||
|
||||
set File ${imagedir}/bug24852_test.xml
|
||||
|
||||
if { [catch {set res [SaveAs D ${File}]}] != 0 } {
|
||||
puts "Error : Crash on storage of an Ocaf document in XML file format"
|
||||
} else {
|
||||
puts "OK : Storage of an Ocaf document in XML file format is good"
|
||||
file delete ${File}
|
||||
}
|
Reference in New Issue
Block a user