1
0
mirror of https://git.dev.opencascade.org/repos/occt.git synced 2025-04-03 17:56:21 +03:00

0026293: Error opening the document

Added test cases bugs/caf/bug26293_1 bug26293_2

Unnecessary catch were deleted.
This commit is contained in:
apn 2016-03-22 15:43:35 +03:00 committed by bugmaster
parent 5be33fb667
commit 259a8d04eb
2 changed files with 26 additions and 0 deletions

View File

@ -0,0 +1,9 @@
puts "==========="
puts "OCC26293"
puts "==========="
puts ""
#################################
# Error opening the document
#################################
Open [locate_data_file bug26293_Study1_GEOM.sgd] D

17
tests/bugs/caf/bug26293_2 Normal file
View File

@ -0,0 +1,17 @@
puts "==========="
puts "OCC26293"
puts "==========="
puts ""
#################################
# Error opening the document
#################################
Open [locate_data_file bug26293_all_geom.sgd] D
vinit
for {set i 1} {$i < 1065} {incr i} {
if { ![catch {GetShape D 0:1:$i:1:1:2 res$i}] } {
vdisplay res$i
}
}
vfit
checkview -screenshot -3d -path ${imagedir}/${test_image}.png