From: rahuel Date: Tue, 15 Feb 2005 12:35:07 +0000 (+0000) Subject: New tests of SIGSEGV management X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=76cb1305c9cb47dcb50845acfd50037c6fa821e2;p=modules%2Fsuperv.git New tests of SIGSEGV management --- diff --git a/examples/SIGSEGV.py b/examples/SIGSEGV.py new file mode 100644 index 0000000..db00dc9 --- /dev/null +++ b/examples/SIGSEGV.py @@ -0,0 +1,8 @@ +from LifeCycleCORBA import * +orb = CORBA.ORB_init([''], CORBA.ORB_ID) +lcc = LifeCycleCORBA(orb) +import SIGNALSComponent_idl +SIGNALSComponent = lcc.FindOrLoadComponent('FactoryServer','SIGNALSComponent') +SIGNALSComponent.SIGSEGVfunc() +SIGNALSComponent.ping() + diff --git a/examples/SIGSEGVTUI.py b/examples/SIGSEGVTUI.py new file mode 100644 index 0000000..ed168ab --- /dev/null +++ b/examples/SIGSEGVTUI.py @@ -0,0 +1,7 @@ +import salome +orb = salome.CORBA.ORB_init([''], salome.CORBA.ORB_ID) +lcc = salome.LifeCycleCORBA(orb) +import SIGNALSComponent_idl +SIGNALSComponent = lcc.FindOrLoadComponent('FactoryServer','SIGNALSComponent') +SIGNALSComponent.SIGSEGVfunc() +SIGNALSComponent.ping() diff --git a/examples/SIGSEGV_Swig.py b/examples/SIGSEGV_Swig.py new file mode 100644 index 0000000..1757de2 --- /dev/null +++ b/examples/SIGSEGV_Swig.py @@ -0,0 +1,3 @@ +import libSIGNALSComponent_Swig +s = libSIGNALSComponent_Swig.SIGNALSComponentEngine() +s.SIGSEGVfunc()