From 259a8d04eb5f30263529c39f16242529ac4e5adb Mon Sep 17 00:00:00 2001 From: apn Date: Tue, 22 Mar 2016 15:43:35 +0300 Subject: [PATCH] 0026293: Error opening the document Added test cases bugs/caf/bug26293_1 bug26293_2 Unnecessary catch were deleted. --- tests/bugs/caf/bug26293_1 | 9 +++++++++ tests/bugs/caf/bug26293_2 | 17 +++++++++++++++++ 2 files changed, 26 insertions(+) create mode 100644 tests/bugs/caf/bug26293_1 create mode 100644 tests/bugs/caf/bug26293_2 diff --git a/tests/bugs/caf/bug26293_1 b/tests/bugs/caf/bug26293_1 new file mode 100644 index 0000000000..6d3c12e2f4 --- /dev/null +++ b/tests/bugs/caf/bug26293_1 @@ -0,0 +1,9 @@ +puts "===========" +puts "OCC26293" +puts "===========" +puts "" +################################# +# Error opening the document +################################# + +Open [locate_data_file bug26293_Study1_GEOM.sgd] D \ No newline at end of file diff --git a/tests/bugs/caf/bug26293_2 b/tests/bugs/caf/bug26293_2 new file mode 100644 index 0000000000..d8b8d9d23d --- /dev/null +++ b/tests/bugs/caf/bug26293_2 @@ -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 \ No newline at end of file