From 7bf4b4a625906a41a14ce1a92ec9ca17f9bebcb7 Mon Sep 17 00:00:00 2001 From: mkv Date: Wed, 30 Apr 2014 15:36:02 +0400 Subject: [PATCH] Test case for issues CR24865 --- tests/bugs/xde/bug24865 | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) create mode 100644 tests/bugs/xde/bug24865 diff --git a/tests/bugs/xde/bug24865 b/tests/bugs/xde/bug24865 new file mode 100644 index 0000000000..abff0caeb3 --- /dev/null +++ b/tests/bugs/xde/bug24865 @@ -0,0 +1,23 @@ +puts "============" +puts "OCC24865" +puts "============" +puts "" +################################################################# +# igesread loopback transfer process should not skip any entity +################################################################# + +ReadIges D_First [locate_data_file BUC50003.igs] + +WriteIges D_First ${imagedir}/R1_D_First.igs + +ReadIges D_Second ${imagedir}/R1_D_First.igs + +set info [ tpstat c ] + +set SkippString "CurveOnSurface +\: +3D +and +2D +curve +representations +are +invalid +\: +entity +skipped" + +if { [regexp ${SkippString} ${info}] } { + puts "Error: igesread loopback transfer process skip entity" +} else { + puts "Ok: igesread loopback transfer process should not skip any entity" +}