mirror of
https://git.dev.opencascade.org/repos/occt.git
synced 2025-09-08 14:17:06 +03:00
0024565: MgtBRep persistence bug
Fix of the persistence bug (exception with message "Persistant CurveRep is Null"). Creating new draw command for testing CR24565 Revert license header corruption Correction for new draw command OCC24565 Test case for issue CR24565
This commit is contained in:
25
tests/bugs/caf/bug24565
Normal file
25
tests/bugs/caf/bug24565
Normal file
@@ -0,0 +1,25 @@
|
||||
puts "=========="
|
||||
puts "OCC24565"
|
||||
puts "=========="
|
||||
puts ""
|
||||
###################################################
|
||||
# MgtBRep persistence bug
|
||||
###################################################
|
||||
|
||||
pload QAcommands
|
||||
|
||||
set igs_file [locate_data_file bug24565_N60E.igs]
|
||||
|
||||
set output_file ${imagedir}/bug24565_output.stor
|
||||
catch { file delete ${output_file} }
|
||||
|
||||
dlog reset
|
||||
dlog on
|
||||
OCC24565 ${igs_file} ${output_file}
|
||||
set info [dlog get]
|
||||
|
||||
if { [regexp "Exception" ${info} ] != 1 } {
|
||||
puts "OK : persistence is good"
|
||||
} else {
|
||||
puts "Error : persistence is bad"
|
||||
}
|
Reference in New Issue
Block a user