salome.kernel 9.14.0__cp37-cp37m-manylinux2014_x86_64.manylinux_2_17_x86_64.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Potentially problematic release.
This version of salome.kernel might be problematic. Click here for more details.
- salome/bin/salome/IDLparser.py +882 -0
- salome/bin/salome/KernelHelpersUseCases +0 -0
- salome/bin/salome/NSparam.py +51 -0
- salome/bin/salome/ORBConfigFile.py +55 -0
- salome/bin/salome/SALOMEDS_Client +0 -0
- salome/bin/salome/SALOMEDS_Server +0 -0
- salome/bin/salome/SALOME_ConnectionManagerServer +0 -0
- salome/bin/salome/SALOME_Container +0 -0
- salome/bin/salome/SALOME_ContainerPy.py +397 -0
- salome/bin/salome/SALOME_Container_No_NS_Serv +0 -0
- salome/bin/salome/SALOME_Container_No_NS_Serv_OutProcess +0 -0
- salome/bin/salome/SALOME_Container_No_NS_Serv_OutProcess_FT +0 -0
- salome/bin/salome/SALOME_Container_No_NS_Serv_OutProcess_Replay +0 -0
- salome/bin/salome/SALOME_Container_No_NS_Serv_OutProcess_Replay_FT +0 -0
- salome/bin/salome/SALOME_DataScopeServer +0 -0
- salome/bin/salome/SALOME_DataScopeServer_SSL +0 -0
- salome/bin/salome/SALOME_LauncherServer +0 -0
- salome/bin/salome/SALOME_Logger_Server +0 -0
- salome/bin/salome/SALOME_ModuleCatalog_Client +0 -0
- salome/bin/salome/SALOME_ModuleCatalog_Server +0 -0
- salome/bin/salome/SALOME_Registry_Server +0 -0
- salome/bin/salome/TestComponentPy.py +71 -0
- salome/bin/salome/TestContainer +0 -0
- salome/bin/salome/TestContainerManager +0 -0
- salome/bin/salome/TestLauncher +0 -0
- salome/bin/salome/TestLifeCycleCORBA.py +89 -0
- salome/bin/salome/TestLogger +0 -0
- salome/bin/salome/TestLogger.py +27 -0
- salome/bin/salome/TestModuleCatalog.py +87 -0
- salome/bin/salome/Test_LifeCycleCORBA +0 -0
- salome/bin/salome/VERSION +3 -0
- salome/bin/salome/addToKillList.py +35 -0
- salome/bin/salome/app-quickstart.py +288 -0
- salome/bin/salome/appli/.bashrc +50 -0
- salome/bin/salome/appli/extra.env.d/001.py +39 -0
- salome/bin/salome/appli/python_test_driver.py +148 -0
- salome/bin/salome/appli/salome +193 -0
- salome/bin/salome/appli/salome_instance.py +31 -0
- salome/bin/salome/appli/salome_test_driver.py +150 -0
- salome/bin/salome/appli/salome_test_driver_gui.py +82 -0
- salome/bin/salome/appli_clean.sh +53 -0
- salome/bin/salome/appli_gen.py +606 -0
- salome/bin/salome/dummyexe_loggerTraceCollector +0 -0
- salome/bin/salome/envSalome.py +59 -0
- salome/bin/salome/killSalome.py +48 -0
- salome/bin/salome/killSalomeWithPort.py +56 -0
- salome/bin/salome/prepare_generating_doc.py +104 -0
- salome/bin/salome/pythonpath_reduction.py +184 -0
- salome/bin/salome/runConsole.py +39 -0
- salome/bin/salome/runIDLparser +58 -0
- salome/bin/salome/runRemote.py +101 -0
- salome/bin/salome/runSalome.py +30 -0
- salome/bin/salome/runSalomeNoServer.py +24 -0
- salome/bin/salome/runSalomeOld.py +36 -0
- salome/bin/salome/runSalomeOnDemand.py +41 -0
- salome/bin/salome/salomeContext.py +36 -0
- salome/bin/salome/salome_process_attach +44 -0
- salome/bin/salome/salome_process_launcher +58 -0
- salome/bin/salome/setenv.py +32 -0
- salome/bin/salome/showNS.py +33 -0
- salome/bin/salome/test/kernel/ArgvKeeper/CTestTestfile.cmake +31 -0
- salome/bin/salome/test/kernel/ArgvKeeper/TestArgvKeeper +0 -0
- salome/bin/salome/test/kernel/ArgvKeeper/test_ArgvKeeper.py +34 -0
- salome/bin/salome/test/kernel/CTestTestfile.cmake +49 -0
- salome/bin/salome/test/kernel/Container/CTestTestfile.cmake +29 -0
- salome/bin/salome/test/kernel/Container/testProxy.py +291 -0
- salome/bin/salome/test/kernel/Container/testcontainer.py +106 -0
- salome/bin/salome/test/kernel/KernelHelpers/CTestTestfile.cmake +31 -0
- salome/bin/salome/test/kernel/KernelHelpers/KernelHelpersUnitTests.hxx +58 -0
- salome/bin/salome/test/kernel/KernelHelpers/TestKernelHelpers +0 -0
- salome/bin/salome/test/kernel/KernelHelpers/TestKernelHelpers.py +55 -0
- salome/bin/salome/test/kernel/Launcher/CTestTestfile.cmake +43 -0
- salome/bin/salome/test/kernel/Launcher/TestSSLAttached.py +110 -0
- salome/bin/salome/test/kernel/Launcher/launcher_use_case.py +65 -0
- salome/bin/salome/test/kernel/Launcher/testCrashProofContainer.py +423 -0
- salome/bin/salome/test/kernel/Launcher/testPerfLogManager1.py +382 -0
- salome/bin/salome/test/kernel/Launcher/test_launcher.py +674 -0
- salome/bin/salome/test/kernel/Launcher/test_stress.sh +45 -0
- salome/bin/salome/test/kernel/Launcher_SWIG/CTestTestfile.cmake +30 -0
- salome/bin/salome/test/kernel/Launcher_SWIG/test_swig_launcher.py +706 -0
- salome/bin/salome/test/kernel/LifeCycleCORBA/CTestTestfile.cmake +27 -0
- salome/bin/salome/test/kernel/LifeCycleCORBA/LifeCycleCORBATest.hxx +105 -0
- salome/bin/salome/test/kernel/LifeCycleCORBA/TestLifeCycleCORBA +0 -0
- salome/bin/salome/test/kernel/LifeCycleCORBA/TestLifeCycleCORBA.py +93 -0
- salome/bin/salome/test/kernel/LifeCycleCORBA_SWIG/CTestTestfile.cmake +40 -0
- salome/bin/salome/test/kernel/LifeCycleCORBA_SWIG/CatalogResources_resource.xml +15 -0
- salome/bin/salome/test/kernel/LifeCycleCORBA_SWIG/LifeCycleCORBA_SWIGTest.py +217 -0
- salome/bin/salome/test/kernel/LifeCycleCORBA_SWIG/SALOME_TestComponentPy.py +49 -0
- salome/bin/salome/test/kernel/LifeCycleCORBA_SWIG/TestLifeCycleCORBA_SWIG.py +100 -0
- salome/bin/salome/test/kernel/LifeCycleCORBA_SWIG/testcontainermanager.py +88 -0
- salome/bin/salome/test/kernel/LifeCycleCORBA_SWIG/testresourcemanager.py +155 -0
- salome/bin/salome/test/kernel/NamingService/CTestTestfile.cmake +28 -0
- salome/bin/salome/test/kernel/NamingService/NamingServiceTest.hxx +169 -0
- salome/bin/salome/test/kernel/NamingService/TestNamingService +0 -0
- salome/bin/salome/test/kernel/NamingService/TestNamingService.py +64 -0
- salome/bin/salome/test/kernel/SALOMEDS/CTestTestfile.cmake +27 -0
- salome/bin/salome/test/kernel/SALOMEDS/SALOMEDSTest.hxx +192 -0
- salome/bin/salome/test/kernel/SALOMEDS/TestSALOMEDS +0 -0
- salome/bin/salome/test/kernel/SALOMEDS/TestSALOMEDS.py +55 -0
- salome/bin/salome/test/kernel/SALOMEDSImpl/CTestTestfile.cmake +27 -0
- salome/bin/salome/test/kernel/SALOMEDSImpl/SALOMEDSImplTest.hxx +51 -0
- salome/bin/salome/test/kernel/SALOMEDSImpl/TestSALOMEDSImpl +0 -0
- salome/bin/salome/test/kernel/SALOMEDSImpl/TestSALOMEDSImpl.py +55 -0
- salome/bin/salome/test/kernel/SALOMELocalTrace/CTestTestfile.cmake +27 -0
- salome/bin/salome/test/kernel/SALOMELocalTrace/SALOMELocalTraceTest.hxx +59 -0
- salome/bin/salome/test/kernel/SALOMELocalTrace/TestSALOMELocalTrace +0 -0
- salome/bin/salome/test/kernel/SALOMELocalTrace/TestSALOMELocalTrace.py +40 -0
- salome/bin/salome/test/kernel/SALOMETraceCollector/CTestTestfile.cmake +27 -0
- salome/bin/salome/test/kernel/SALOMETraceCollector/SALOMETraceCollectorTest.hxx +51 -0
- salome/bin/salome/test/kernel/SALOMETraceCollector/TestSALOMETraceCollector +0 -0
- salome/bin/salome/test/kernel/SALOMETraceCollector/TestSALOMETraceCollector.py +57 -0
- salome/bin/salome/test/kernel/UnitTests/CTestTestfile.cmake +28 -0
- salome/bin/salome/test/kernel/UnitTests/UnitTests +0 -0
- salome/bin/salome/test/kernel/UnitTests/UnitTests.py +89 -0
- salome/bin/salome/test/kernel/Utils/CTestTestfile.cmake +27 -0
- salome/bin/salome/test/kernel/Utils/TestUtils +0 -0
- salome/bin/salome/test/kernel/Utils/TestUtils.py +55 -0
- salome/bin/salome/test/kernel/Utils/UtilsTest.hxx +58 -0
- salome/bin/salome/test/kernel/lib/libLifeCycleCORBATest.so +0 -0
- salome/bin/salome/test/kernel/lib/libNamingServiceTest.so +0 -0
- salome/bin/salome/test/kernel/lib/libSALOMEDSImplTest.so +0 -0
- salome/bin/salome/test/kernel/lib/libSALOMEDSTest.so +0 -0
- salome/bin/salome/test/kernel/lib/libSALOMELocalTraceTest.so +0 -0
- salome/bin/salome/test/kernel/lib/libSALOMETraceCollectorTest.so +0 -0
- salome/bin/salome/test/kernel/lib/libSalomeKernelHelpersTest.so +0 -0
- salome/bin/salome/test/kernel/lib/libUtilsTest.so +0 -0
- salome/bin/salome/testDF +0 -0
- salome/bin/salome/testDS +0 -0
- salome/bin/salome/virtual_salome.py +38 -0
- salome/bin/salome/waitContainers.py +82 -0
- salome/bin/salome/waitNS.py +31 -0
- salome/kernel/ArgvKeeper.py +132 -0
- salome/kernel/Calcium_Ports_idl.py +645 -0
- salome/kernel/DSC_Engines_idl.py +443 -0
- salome/kernel/Engines/__init__.py +24 -0
- salome/kernel/Engines__POA/__init__.py +24 -0
- salome/kernel/Help.py +141 -0
- salome/kernel/KernelBasis.py +463 -0
- salome/kernel/KernelContainer.py +81 -0
- salome/kernel/KernelDS.py +87 -0
- salome/kernel/KernelLauncher.py +117 -0
- salome/kernel/KernelLogger.py +75 -0
- salome/kernel/KernelModuleCatalog.py +76 -0
- salome/kernel/KernelSDS.py +92 -0
- salome/kernel/KernelServices.py +105 -0
- salome/kernel/LifeCycleCORBA.py +92 -0
- salome/kernel/Logger_idl.py +89 -0
- salome/kernel/NSTEST/__init__.py +13 -0
- salome/kernel/NSTEST__POA/__init__.py +13 -0
- salome/kernel/NSparam_impl.py +50 -0
- salome/kernel/NamingService.py +365 -0
- salome/kernel/ORBConfigFile_impl.py +102 -0
- salome/kernel/Palm_Ports_idl.py +162 -0
- salome/kernel/PortManager.py +259 -0
- salome/kernel/Ports/Calcium_Ports/__init__.py +13 -0
- salome/kernel/Ports/Palm_Ports/__init__.py +13 -0
- salome/kernel/Ports/__init__.py +18 -0
- salome/kernel/Ports__POA/Calcium_Ports/__init__.py +13 -0
- salome/kernel/Ports__POA/Palm_Ports/__init__.py +13 -0
- salome/kernel/Ports__POA/__init__.py +18 -0
- salome/kernel/PyInterp.py +99 -0
- salome/kernel/Registry/__init__.py +13 -0
- salome/kernel/Registry__POA/__init__.py +13 -0
- salome/kernel/SALOME/__init__.py +19 -0
- salome/kernel/SALOMEDS/__init__.py +14 -0
- salome/kernel/SALOMEDS_Attributes_idl.py +2288 -0
- salome/kernel/SALOMEDS__POA/__init__.py +14 -0
- salome/kernel/SALOMEDS_idl.py +1590 -0
- salome/kernel/SALOMEWrappedStdType.py +383 -0
- salome/kernel/SALOME_Comm_idl.py +1045 -0
- salome/kernel/SALOME_CommonTypes_idl.py +69 -0
- salome/kernel/SALOME_ComponentPy.py +338 -0
- salome/kernel/SALOME_Component_idl.py +962 -0
- salome/kernel/SALOME_Container.py +242 -0
- salome/kernel/SALOME_ContainerHelper.py +840 -0
- salome/kernel/SALOME_ContainerManager_idl.py +236 -0
- salome/kernel/SALOME_DriverPy.py +86 -0
- salome/kernel/SALOME_Embedded_NamingService.py +41 -0
- salome/kernel/SALOME_Embedded_NamingService_ClientPy.py +59 -0
- salome/kernel/SALOME_Embedded_NamingService_idl.py +125 -0
- salome/kernel/SALOME_Exception_idl.py +75 -0
- salome/kernel/SALOME_ExternalServerLauncher_idl.py +199 -0
- salome/kernel/SALOME_GenericObj_idl.py +154 -0
- salome/kernel/SALOME_GlobalsImpl.py +38 -0
- salome/kernel/SALOME_Launcher_idl.py +327 -0
- salome/kernel/SALOME_Locker_idl.py +185 -0
- salome/kernel/SALOME_LogManager.py +103 -0
- salome/kernel/SALOME_LogManager_idl.py +348 -0
- salome/kernel/SALOME_Logger/__init__.py +13 -0
- salome/kernel/SALOME_Logger__POA/__init__.py +13 -0
- salome/kernel/SALOME_MPIObject_idl.py +100 -0
- salome/kernel/SALOME_ModuleCatalog/__init__.py +13 -0
- salome/kernel/SALOME_ModuleCatalog__POA/__init__.py +13 -0
- salome/kernel/SALOME_ModuleCatalog_idl.py +624 -0
- salome/kernel/SALOME_NamingServicePy.py +313 -0
- salome/kernel/SALOME_PACOExtension_idl.py +292 -0
- salome/kernel/SALOME_ParamPorts_idl.py +102 -0
- salome/kernel/SALOME_Parametric_idl.py +154 -0
- salome/kernel/SALOME_Ports_idl.py +347 -0
- salome/kernel/SALOME_PyNode.py +1557 -0
- salome/kernel/SALOME_PyNode_idl.py +387 -0
- salome/kernel/SALOME_Registry_idl.py +155 -0
- salome/kernel/SALOME_ResourcesManager_idl.py +215 -0
- salome/kernel/SALOME_SDS_idl.py +1181 -0
- salome/kernel/SALOME_Session_idl.py +214 -0
- salome/kernel/SALOME_TYPES/__init__.py +14 -0
- salome/kernel/SALOME_TYPES__POA/__init__.py +14 -0
- salome/kernel/SALOME_TestComponent_idl.py +121 -0
- salome/kernel/SALOME_TestModuleCatalog/__init__.py +13 -0
- salome/kernel/SALOME_TestModuleCatalog__POA/__init__.py +13 -0
- salome/kernel/SALOME_TestModuleCatalog_idl.py +194 -0
- salome/kernel/SALOME_Trace.py +96 -0
- salome/kernel/SALOME_Types_idl.py +81 -0
- salome/kernel/SALOME__POA/__init__.py +19 -0
- salome/kernel/SALOME_utilities.py +63 -0
- salome/kernel/SalomeSDSClt.py +552 -0
- salome/kernel/TestKiller.py +76 -0
- salome/kernel/Utils_Identity.py +93 -0
- salome/kernel/_ArgvKeeper.so +0 -0
- salome/kernel/_KernelBasis.so +0 -0
- salome/kernel/_KernelContainer.so +0 -0
- salome/kernel/_KernelDS.so +0 -0
- salome/kernel/_KernelLauncher.so +0 -0
- salome/kernel/_KernelLogger.so +0 -0
- salome/kernel/_KernelModuleCatalog.so +0 -0
- salome/kernel/_KernelSDS.so +0 -0
- salome/kernel/_KernelServices.so +0 -0
- salome/kernel/_NamingService.so +0 -0
- salome/kernel/_calcium.so +0 -0
- salome/kernel/_libNOTIFICATION.so +0 -0
- salome/kernel/_libSALOME_Comm.so +0 -0
- salome/kernel/_libSALOME_LifeCycleCORBA.so +0 -0
- salome/kernel/_pylauncher.so +0 -0
- salome/kernel/addToKillList_impl.py +127 -0
- salome/kernel/batchmode_salome.py +295 -0
- salome/kernel/calcium.py +866 -0
- salome/kernel/dsccalcium.py +98 -0
- salome/kernel/iparameters.py +255 -0
- salome/kernel/kernel_test.py +114 -0
- salome/kernel/killSalomeWithPort_impl.py +518 -0
- salome/kernel/killSalome_impl.py +94 -0
- salome/kernel/launchConfigureParser.py +1234 -0
- salome/kernel/launcher_proxy.py +122 -0
- salome/kernel/libNOTIFICATION.py +119 -0
- salome/kernel/libSALOME_Comm.py +85 -0
- salome/kernel/libSALOME_LifeCycleCORBA.py +232 -0
- salome/kernel/main.py +8 -0
- salome/kernel/nameserver.py +134 -0
- salome/kernel/nstest_idl.py +129 -0
- salome/kernel/omnipatch.py +136 -0
- salome/kernel/orbmodule.py +246 -0
- salome/kernel/parseConfigFile.py +261 -0
- salome/kernel/pylauncher.py +883 -0
- salome/kernel/runConsole_impl.py +224 -0
- salome/kernel/runSalomeCommon.py +418 -0
- salome/kernel/runSalomeNoServer_impl.py +48 -0
- salome/kernel/runSalomeOld_impl.py +603 -0
- salome/kernel/runSalomeOnDemand_impl.py +72 -0
- salome/kernel/runSalome_impl.py +341 -0
- salome/kernel/runSession.py +360 -0
- salome/kernel/runTests.py +90 -0
- salome/kernel/salome/__init__.py +646 -0
- salome/kernel/salome/kernel/__init__.py +111 -0
- salome/kernel/salome/kernel/datamodeler.py +363 -0
- salome/kernel/salome/kernel/deprecation.py +165 -0
- salome/kernel/salome/kernel/diclookup.py +137 -0
- salome/kernel/salome/kernel/enumerate.py +232 -0
- salome/kernel/salome/kernel/logconfig.py +27 -0
- salome/kernel/salome/kernel/logger.py +290 -0
- salome/kernel/salome/kernel/parametric/__init__.py +26 -0
- salome/kernel/salome/kernel/parametric/compo_utils.py +137 -0
- salome/kernel/salome/kernel/parametric/pyscript_utils.py +135 -0
- salome/kernel/salome/kernel/parametric/study_exchange_vars.py +285 -0
- salome/kernel/salome/kernel/pyunittester.py +184 -0
- salome/kernel/salome/kernel/services.py +267 -0
- salome/kernel/salome/kernel/studyedit.py +637 -0
- salome/kernel/salome/kernel/syshelper.py +116 -0
- salome/kernel/salome/kernel/termcolor.py +239 -0
- salome/kernel/salome/kernel/testdata.py +159 -0
- salome/kernel/salome/kernel/threadhelper.py +385 -0
- salome/kernel/salome/kernel/uiexception.py +121 -0
- salome/kernel/salome/kernel/unittester.py +89 -0
- salome/kernel/salomeContextUtils.py +353 -0
- salome/kernel/salomeContext_impl.py +731 -0
- salome/kernel/salome_ComponentGUI.py +92 -0
- salome/kernel/salome_genericobj.py +44 -0
- salome/kernel/salome_iapp.py +206 -0
- salome/kernel/salome_instance_impl.py +109 -0
- salome/kernel/salome_kernel_utils.py +88 -0
- salome/kernel/salome_notebook.py +183 -0
- salome/kernel/salome_psutil.py +94 -0
- salome/kernel/salome_pynode.py +74 -0
- salome/kernel/salome_study.py +347 -0
- salome/kernel/salome_test.py +56 -0
- salome/kernel/salome_utils.py +563 -0
- salome/kernel/salome_version.py +164 -0
- salome/kernel/searchFreePort.py +130 -0
- salome/kernel/server.py +154 -0
- salome/kernel/setenv_impl.py +240 -0
- salome/kernel/version_and_config.py +24 -0
- salome/share/salome/resources/kernel/Anita semi square.ttf +0 -0
- salome/share/salome/resources/kernel/CatalogModulePersonnel.xml_skel +24 -0
- salome/share/salome/resources/kernel/CatalogResources.xml +4 -0
- salome/share/salome/resources/kernel/KERNELCatalog.xml +102 -0
- salome/share/salome/resources/kernel/SALOMEDS_Resources +10 -0
- salome/share/salome/resources/kernel/ScriptsTemplate/SALOME_CM_LOCAL_MPI_LAN.py +19 -0
- salome/share/salome/resources/kernel/ScriptsTemplate/SALOME_CM_LOCAL_MPI_MPICH.py +18 -0
- salome/share/salome/resources/kernel/ScriptsTemplate/SALOME_CM_LOCAL_MPI_OPENMPI.py +21 -0
- salome/share/salome/resources/kernel/ScriptsTemplate/SALOME_CM_LOCAL_NO_MPI.py +25 -0
- salome/share/salome/resources/kernel/ScriptsTemplate/SALOME_CM_REMOTE.py +108 -0
- salome/share/salome/resources/kernel/ScriptsTemplate/SALOME_CM_REMOTE_OLD.py +115 -0
- salome/share/salome/resources/kernel/ScriptsTemplate/script_parameters.py +25 -0
- salome/share/salome/resources/kernel/app-template/CMakeLists.txt +125 -0
- salome/share/salome/resources/kernel/app-template/LICENCE +504 -0
- salome/share/salome/resources/kernel/app-template/README +0 -0
- salome/share/salome/resources/kernel/app-template/doc/CMakeLists.txt +31 -0
- salome/share/salome/resources/kernel/app-template/doc/README +1 -0
- salome/share/salome/resources/kernel/app-template/doc/conf.py.in +197 -0
- salome/share/salome/resources/kernel/app-template/doc/index.rst +14 -0
- salome/share/salome/resources/kernel/app-template/doc/intro.rst +4 -0
- salome/share/salome/resources/kernel/app-template/doc/link.rst +4 -0
- salome/share/salome/resources/kernel/app-template/resources/CMakeLists.txt +36 -0
- salome/share/salome/resources/kernel/app-template/resources/SalomeApp.xml.in +30 -0
- salome/share/salome/resources/kernel/app-template/resources/about.png +0 -0
- salome/share/salome/resources/kernel/app-template/resources/app_icon.png +0 -0
- salome/share/salome/resources/kernel/app-template/resources/app_logo.png +0 -0
- salome/share/salome/resources/kernel/app-template/resources/doc/CMakeLists.txt +27 -0
- salome/share/salome/resources/kernel/app-template/resources/doc/README +1 -0
- salome/share/salome/resources/kernel/app-template/resources/doc/sample.pdf +0 -0
- salome/share/salome/resources/kernel/app-template/resources/icon_about.png +0 -0
- salome/share/salome/resources/kernel/app-template/resources/splash.png +0 -0
- salome/share/salome/resources/kernel/app-template/src/CMakeLists.txt +22 -0
- salome/share/salome/resources/kernel/app-template/src/resources/CMakeLists.txt +34 -0
- salome/share/salome/resources/kernel/app-template/src/resources/LightApp_images.ts +23 -0
- salome/share/salome/resources/kernel/app-template/src/resources/LightApp_msg_en.ts +35 -0
- salome/share/salome/resources/kernel/app-template/src/resources/LightApp_msg_fr.ts +35 -0
- salome/share/salome/resources/kernel/app-template/src/resources/LightApp_msg_ja.ts +35 -0
- salome/share/salome/resources/kernel/app-template/src/tests/CMakeLists.txt +29 -0
- salome/share/salome/resources/kernel/app-template/src/tests/README +1 -0
- salome/share/salome/resources/kernel/app-template/src/tests/helloWorld.py +1 -0
- salome/share/salome/resources/kernel/background.png +0 -0
- salome/share/salome/resources/kernel/channel.cfg +278 -0
- salome/share/salome/resources/kernel/testLauncher.xml +10 -0
- salome.kernel-9.14.0.dist-info/METADATA +24 -0
- salome.kernel-9.14.0.dist-info/RECORD +399 -0
- salome.kernel-9.14.0.dist-info/WHEEL +6 -0
- salome.kernel-9.14.0.dist-info/entry_points.txt +2 -0
- salome.kernel.libs/libArgvKeeper-822351d5.so +0 -0
- salome.kernel.libs/libCOS4-b4544fb9.so.2.5 +0 -0
- salome.kernel.libs/libCOSDynamic4-618dbb1d.so.2.5 +0 -0
- salome.kernel.libs/libCalciumC-a61b99a1.so +0 -0
- salome.kernel.libs/libDF-281cc999.so +0 -0
- salome.kernel.libs/libLauncher-09c39914.so +0 -0
- salome.kernel.libs/libLauncherWrapHelper-5ee25ab2.so +0 -0
- salome.kernel.libs/libOpUtil-8d37ccc8.so +0 -0
- salome.kernel.libs/libRegistry-e4a63a9e.so +0 -0
- salome.kernel.libs/libResourcesManager-f4ef9548.so +0 -0
- salome.kernel.libs/libSALOMEBasics-f4d874ac.so +0 -0
- salome.kernel.libs/libSALOMELocalTrace-a3992e5b.so +0 -0
- salome.kernel.libs/libSALOMELog-55805468.so +0 -0
- salome.kernel.libs/libSalomeCalcium-6800d8d0.so +0 -0
- salome.kernel.libs/libSalomeCatalog-96c5b2bc.so +0 -0
- salome.kernel.libs/libSalomeCommunication-451307b4.so +0 -0
- salome.kernel.libs/libSalomeContainer-d1a25367.so +0 -0
- salome.kernel.libs/libSalomeContainerServer-372d46c2.so +0 -0
- salome.kernel.libs/libSalomeDS-34cd5abf.so +0 -0
- salome.kernel.libs/libSalomeDSCContainer-ee0cf498.so +0 -0
- salome.kernel.libs/libSalomeDSCSuperv-f529bca5.so +0 -0
- salome.kernel.libs/libSalomeDSCSupervBasic-e6a3b4cf.so +0 -0
- salome.kernel.libs/libSalomeDSClient-dc9947bb.so +0 -0
- salome.kernel.libs/libSalomeDSImpl-cb508584.so +0 -0
- salome.kernel.libs/libSalomeDatastream-755ff3cb.so +0 -0
- salome.kernel.libs/libSalomeGenericObj-3ccf0028.so +0 -0
- salome.kernel.libs/libSalomeHDFPersist-69945ed0.so +0 -0
- salome.kernel.libs/libSalomeIDLKernel-2eb1ed8e.so +0 -0
- salome.kernel.libs/libSalomeKernelHelpers-1514c9e0.so +0 -0
- salome.kernel.libs/libSalomeLauncher-6d57b2ba.so +0 -0
- salome.kernel.libs/libSalomeLifeCycleCORBA-69902a7b.so +0 -0
- salome.kernel.libs/libSalomeLoggerServer-3668e9ae.so +0 -0
- salome.kernel.libs/libSalomeNS-a03a7eba.so +0 -0
- salome.kernel.libs/libSalomeNotification-66efcfbd.so +0 -0
- salome.kernel.libs/libSalomeORB-f304f4df.so +0 -0
- salome.kernel.libs/libSalomePalm-4204405e.so +0 -0
- salome.kernel.libs/libSalomeResourcesManager-fd411949.so +0 -0
- salome.kernel.libs/libSalomeSDS-7822101d.so +0 -0
- salome.kernel.libs/libSalomeTestComponentEngine-9899af25.so +0 -0
- salome.kernel.libs/libTOOLSDS-db8e8629.so +0 -0
- salome.kernel.libs/libbatch-6b5b319f.so +0 -0
- salome.kernel.libs/libboost_atomic-489c2d94.so.1.81.0 +0 -0
- salome.kernel.libs/libboost_filesystem-e610b554.so.1.81.0 +0 -0
- salome.kernel.libs/libboost_system-4a7650ea.so.1.81.0 +0 -0
- salome.kernel.libs/libcppunit-1-17e77af1.12.so.1.0.0 +0 -0
- salome.kernel.libs/libhdf5-60e81d69.so.103.0.0 +0 -0
- salome.kernel.libs/liblzma-004595ca.so.5.2.2 +0 -0
- salome.kernel.libs/libomniDynamic4-9edc765d.so.2.5 +0 -0
- salome.kernel.libs/libomniORB4-4725824d.so.2.5 +0 -0
- salome.kernel.libs/libomnithread-99f9d0d3.so.4.1 +0 -0
- salome.kernel.libs/libwith_loggerTraceCollector-6b94c51b.so +0 -0
- salome.kernel.libs/libwith_loggerTraceCollector.so +0 -0
- salome.kernel.libs/libxml2-3998bec4.so.2.9.1 +0 -0
|
@@ -0,0 +1,192 @@
|
|
|
1
|
+
// Copyright (C) 2007-2024 CEA, EDF, OPEN CASCADE
|
|
2
|
+
//
|
|
3
|
+
// Copyright (C) 2003-2007 OPEN CASCADE, EADS/CCR, LIP6, CEA/DEN,
|
|
4
|
+
// CEDRAT, EDF R&D, LEG, PRINCIPIA R&D, BUREAU VERITAS
|
|
5
|
+
//
|
|
6
|
+
// This library is free software; you can redistribute it and/or
|
|
7
|
+
// modify it under the terms of the GNU Lesser General Public
|
|
8
|
+
// License as published by the Free Software Foundation; either
|
|
9
|
+
// version 2.1 of the License, or (at your option) any later version.
|
|
10
|
+
//
|
|
11
|
+
// This library is distributed in the hope that it will be useful,
|
|
12
|
+
// but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
13
|
+
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
|
14
|
+
// Lesser General Public License for more details.
|
|
15
|
+
//
|
|
16
|
+
// You should have received a copy of the GNU Lesser General Public
|
|
17
|
+
// License along with this library; if not, write to the Free Software
|
|
18
|
+
// Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
|
|
19
|
+
//
|
|
20
|
+
// See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
|
|
21
|
+
//
|
|
22
|
+
|
|
23
|
+
#ifndef _SALOMEDSTEST_HXX_
|
|
24
|
+
#define _SALOMEDSTEST_HXX_
|
|
25
|
+
|
|
26
|
+
#include <cppunit/extensions/HelperMacros.h>
|
|
27
|
+
|
|
28
|
+
#include <SALOMEconfig.h>
|
|
29
|
+
#include CORBA_SERVER_HEADER(SALOMEDS)
|
|
30
|
+
|
|
31
|
+
#ifdef WIN32
|
|
32
|
+
# if defined SALOMEDSTEST_EXPORTS || defined SALOMEDSTest_EXPORTS
|
|
33
|
+
# define SALOMEDSTEST_EXPORT __declspec( dllexport )
|
|
34
|
+
# else
|
|
35
|
+
# define SALOMEDSTEST_EXPORT __declspec( dllimport )
|
|
36
|
+
# endif
|
|
37
|
+
#else
|
|
38
|
+
# define SALOMEDSTEST_EXPORT
|
|
39
|
+
#endif
|
|
40
|
+
|
|
41
|
+
class SALOMEDSTEST_EXPORT SALOMEDSTest : public CppUnit::TestFixture
|
|
42
|
+
{
|
|
43
|
+
CPPUNIT_TEST_SUITE( SALOMEDSTest );
|
|
44
|
+
|
|
45
|
+
//Attributes' tests
|
|
46
|
+
|
|
47
|
+
CPPUNIT_TEST( testAttributeComment );
|
|
48
|
+
CPPUNIT_TEST( testAttributeDrawable );
|
|
49
|
+
CPPUNIT_TEST( testAttributeExpandable );
|
|
50
|
+
CPPUNIT_TEST( testAttributeExternalFileDef );
|
|
51
|
+
CPPUNIT_TEST( testAttributeFileType );
|
|
52
|
+
CPPUNIT_TEST( testAttributeFlags );
|
|
53
|
+
CPPUNIT_TEST( testAttributeGraphic );
|
|
54
|
+
CPPUNIT_TEST( testAttributeIOR );
|
|
55
|
+
CPPUNIT_TEST( testAttributeInteger );
|
|
56
|
+
CPPUNIT_TEST( testAttributeLocalID );
|
|
57
|
+
CPPUNIT_TEST( testAttributeName );
|
|
58
|
+
CPPUNIT_TEST( testAttributeOpened );
|
|
59
|
+
CPPUNIT_TEST( testAttributeParameter );
|
|
60
|
+
CPPUNIT_TEST( testAttributePersistentRef );
|
|
61
|
+
CPPUNIT_TEST( testAttributePixMap );
|
|
62
|
+
CPPUNIT_TEST( testAttributePythonObject );
|
|
63
|
+
CPPUNIT_TEST( testAttributeReal );
|
|
64
|
+
CPPUNIT_TEST( testAttributeSelectable );
|
|
65
|
+
CPPUNIT_TEST( testAttributeSequenceOfInteger );
|
|
66
|
+
CPPUNIT_TEST( testAttributeSequenceOfReal );
|
|
67
|
+
CPPUNIT_TEST( testAttributeStudyProperties );
|
|
68
|
+
CPPUNIT_TEST( testAttributeTableOfInteger );
|
|
69
|
+
CPPUNIT_TEST( testAttributeTableOfReal );
|
|
70
|
+
CPPUNIT_TEST( testAttributeTableOfString );
|
|
71
|
+
CPPUNIT_TEST( testAttributeTarget );
|
|
72
|
+
CPPUNIT_TEST( testAttributeTextColor );
|
|
73
|
+
CPPUNIT_TEST( testAttributeTextHighlightColor );
|
|
74
|
+
CPPUNIT_TEST( testAttributeTreeNode );
|
|
75
|
+
CPPUNIT_TEST( testAttributeUserID );
|
|
76
|
+
CPPUNIT_TEST( testChildIterator );
|
|
77
|
+
CPPUNIT_TEST( testSComponent );
|
|
78
|
+
CPPUNIT_TEST( testSComponentIterator );
|
|
79
|
+
CPPUNIT_TEST( testSObject );
|
|
80
|
+
CPPUNIT_TEST( testStudy );
|
|
81
|
+
CPPUNIT_TEST( testStudyBuilder );
|
|
82
|
+
CPPUNIT_TEST( testUseCase );
|
|
83
|
+
|
|
84
|
+
|
|
85
|
+
CPPUNIT_TEST_SUITE_END();
|
|
86
|
+
|
|
87
|
+
public:
|
|
88
|
+
|
|
89
|
+
virtual void setUp();
|
|
90
|
+
virtual void tearDown();
|
|
91
|
+
|
|
92
|
+
//Attributes
|
|
93
|
+
void testAttributeComment();
|
|
94
|
+
void testAttributeDrawable();
|
|
95
|
+
void testAttributeExpandable();
|
|
96
|
+
void testAttributeExternalFileDef();
|
|
97
|
+
void testAttributeFileType();
|
|
98
|
+
void testAttributeFlags();
|
|
99
|
+
void testAttributeGraphic();
|
|
100
|
+
void testAttributeIOR();
|
|
101
|
+
void testAttributeInteger();
|
|
102
|
+
void testAttributeLocalID();
|
|
103
|
+
void testAttributeName();
|
|
104
|
+
void testAttributeOpened();
|
|
105
|
+
void testAttributeParameter();
|
|
106
|
+
void testAttributePersistentRef();
|
|
107
|
+
void testAttributePixMap();
|
|
108
|
+
void testAttributePythonObject();
|
|
109
|
+
void testAttributeReal();
|
|
110
|
+
void testAttributeSelectable();
|
|
111
|
+
void testAttributeSequenceOfInteger();
|
|
112
|
+
void testAttributeSequenceOfReal();
|
|
113
|
+
void testAttributeStudyProperties();
|
|
114
|
+
void testAttributeTableOfInteger();
|
|
115
|
+
void testAttributeTableOfReal();
|
|
116
|
+
void testAttributeTableOfString();
|
|
117
|
+
void testAttributeTarget();
|
|
118
|
+
void testAttributeTextColor();
|
|
119
|
+
void testAttributeTextHighlightColor();
|
|
120
|
+
void testAttributeTreeNode();
|
|
121
|
+
void testAttributeUserID();
|
|
122
|
+
|
|
123
|
+
//Objects
|
|
124
|
+
void testChildIterator();
|
|
125
|
+
void testSComponent();
|
|
126
|
+
void testSComponentIterator();
|
|
127
|
+
void testSObject();
|
|
128
|
+
void testStudy();
|
|
129
|
+
void testStudyBuilder();
|
|
130
|
+
void testUseCase();
|
|
131
|
+
|
|
132
|
+
protected:
|
|
133
|
+
|
|
134
|
+
SALOMEDS::Study_var _study;
|
|
135
|
+
CORBA::ORB_var _orb;
|
|
136
|
+
|
|
137
|
+
};
|
|
138
|
+
|
|
139
|
+
|
|
140
|
+
|
|
141
|
+
class SALOMEDSTEST_EXPORT SALOMEDSTest_Embedded : public SALOMEDSTest
|
|
142
|
+
{
|
|
143
|
+
CPPUNIT_TEST_SUITE( SALOMEDSTest_Embedded );
|
|
144
|
+
|
|
145
|
+
//Attributes' tests
|
|
146
|
+
|
|
147
|
+
CPPUNIT_TEST( testAttributeComment );
|
|
148
|
+
CPPUNIT_TEST( testAttributeDrawable );
|
|
149
|
+
CPPUNIT_TEST( testAttributeExpandable );
|
|
150
|
+
CPPUNIT_TEST( testAttributeExternalFileDef );
|
|
151
|
+
CPPUNIT_TEST( testAttributeFileType );
|
|
152
|
+
CPPUNIT_TEST( testAttributeFlags );
|
|
153
|
+
CPPUNIT_TEST( testAttributeGraphic );
|
|
154
|
+
CPPUNIT_TEST( testAttributeIOR );
|
|
155
|
+
CPPUNIT_TEST( testAttributeInteger );
|
|
156
|
+
CPPUNIT_TEST( testAttributeLocalID );
|
|
157
|
+
CPPUNIT_TEST( testAttributeName );
|
|
158
|
+
CPPUNIT_TEST( testAttributeOpened );
|
|
159
|
+
CPPUNIT_TEST( testAttributeParameter );
|
|
160
|
+
CPPUNIT_TEST( testAttributePersistentRef );
|
|
161
|
+
CPPUNIT_TEST( testAttributePixMap );
|
|
162
|
+
CPPUNIT_TEST( testAttributePythonObject );
|
|
163
|
+
CPPUNIT_TEST( testAttributeReal );
|
|
164
|
+
CPPUNIT_TEST( testAttributeSelectable );
|
|
165
|
+
CPPUNIT_TEST( testAttributeSequenceOfInteger );
|
|
166
|
+
CPPUNIT_TEST( testAttributeSequenceOfReal );
|
|
167
|
+
CPPUNIT_TEST( testAttributeStudyProperties );
|
|
168
|
+
CPPUNIT_TEST( testAttributeTableOfInteger );
|
|
169
|
+
CPPUNIT_TEST( testAttributeTableOfReal );
|
|
170
|
+
CPPUNIT_TEST( testAttributeTableOfString );
|
|
171
|
+
CPPUNIT_TEST( testAttributeTarget );
|
|
172
|
+
CPPUNIT_TEST( testAttributeTextColor );
|
|
173
|
+
CPPUNIT_TEST( testAttributeTextHighlightColor );
|
|
174
|
+
CPPUNIT_TEST( testAttributeTreeNode );
|
|
175
|
+
CPPUNIT_TEST( testAttributeUserID );
|
|
176
|
+
CPPUNIT_TEST( testChildIterator );
|
|
177
|
+
CPPUNIT_TEST( testSComponent );
|
|
178
|
+
CPPUNIT_TEST( testSComponentIterator );
|
|
179
|
+
CPPUNIT_TEST( testSObject );
|
|
180
|
+
CPPUNIT_TEST( testStudy );
|
|
181
|
+
CPPUNIT_TEST( testStudyBuilder );
|
|
182
|
+
CPPUNIT_TEST( testChildIterator );
|
|
183
|
+
CPPUNIT_TEST( testUseCase );
|
|
184
|
+
|
|
185
|
+
CPPUNIT_TEST_SUITE_END();
|
|
186
|
+
|
|
187
|
+
public:
|
|
188
|
+
|
|
189
|
+
virtual void setUp();
|
|
190
|
+
};
|
|
191
|
+
|
|
192
|
+
#endif
|
|
Binary file
|
|
@@ -0,0 +1,55 @@
|
|
|
1
|
+
# -*- coding: iso-8859-1 -*-
|
|
2
|
+
# Copyright (C) 2007-2024 CEA, EDF, OPEN CASCADE
|
|
3
|
+
#
|
|
4
|
+
# Copyright (C) 2003-2007 OPEN CASCADE, EADS/CCR, LIP6, CEA/DEN,
|
|
5
|
+
# CEDRAT, EDF R&D, LEG, PRINCIPIA R&D, BUREAU VERITAS
|
|
6
|
+
#
|
|
7
|
+
# This library is free software; you can redistribute it and/or
|
|
8
|
+
# modify it under the terms of the GNU Lesser General Public
|
|
9
|
+
# License as published by the Free Software Foundation; either
|
|
10
|
+
# version 2.1 of the License, or (at your option) any later version.
|
|
11
|
+
#
|
|
12
|
+
# This library is distributed in the hope that it will be useful,
|
|
13
|
+
# but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
14
|
+
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
|
15
|
+
# Lesser General Public License for more details.
|
|
16
|
+
#
|
|
17
|
+
# You should have received a copy of the GNU Lesser General Public
|
|
18
|
+
# License along with this library; if not, write to the Free Software
|
|
19
|
+
# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
|
|
20
|
+
#
|
|
21
|
+
# See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
|
|
22
|
+
#
|
|
23
|
+
|
|
24
|
+
import sys, os,signal,string,subprocess
|
|
25
|
+
import subprocess
|
|
26
|
+
import runSalomeOld
|
|
27
|
+
import orbmodule
|
|
28
|
+
import TestKiller
|
|
29
|
+
import setenv
|
|
30
|
+
|
|
31
|
+
# get SALOME environment :
|
|
32
|
+
|
|
33
|
+
args, modules_list, modules_root_dir = setenv.get_config()
|
|
34
|
+
setenv.set_env(args, modules_list, modules_root_dir)
|
|
35
|
+
|
|
36
|
+
# launch CORBA naming server
|
|
37
|
+
|
|
38
|
+
clt=orbmodule.client()
|
|
39
|
+
|
|
40
|
+
# launch CORBA logger server
|
|
41
|
+
|
|
42
|
+
myServer=runSalomeOld.LoggerServer(args)
|
|
43
|
+
myServer.run()
|
|
44
|
+
clt.waitLogger("Logger")
|
|
45
|
+
|
|
46
|
+
# execute Unit Test
|
|
47
|
+
|
|
48
|
+
command = ['./TestSALOMEDS']
|
|
49
|
+
ret = subprocess.call(command)
|
|
50
|
+
|
|
51
|
+
# kill Test process
|
|
52
|
+
|
|
53
|
+
TestKiller.killProcess(runSalomeOld.process_id)
|
|
54
|
+
TestKiller.closeSalome()
|
|
55
|
+
exit(ret)
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
# Copyright (C) 2015-2024 CEA, EDF
|
|
2
|
+
#
|
|
3
|
+
# This library is free software; you can redistribute it and/or
|
|
4
|
+
# modify it under the terms of the GNU Lesser General Public
|
|
5
|
+
# License as published by the Free Software Foundation; either
|
|
6
|
+
# version 2.1 of the License, or (at your option) any later version.
|
|
7
|
+
#
|
|
8
|
+
# This library is distributed in the hope that it will be useful,
|
|
9
|
+
# but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
10
|
+
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
|
11
|
+
# Lesser General Public License for more details.
|
|
12
|
+
#
|
|
13
|
+
# You should have received a copy of the GNU Lesser General Public
|
|
14
|
+
# License along with this library; if not, write to the Free Software
|
|
15
|
+
# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
|
|
16
|
+
#
|
|
17
|
+
# See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
|
|
18
|
+
#
|
|
19
|
+
|
|
20
|
+
IF(NOT WIN32)
|
|
21
|
+
SET(TEST_NAME ${COMPONENT_NAME}_SALOMEDSImpl)
|
|
22
|
+
ADD_TEST(${TEST_NAME} ${SALOME_TEST_DRIVER} ${TIMEOUT} TestSALOMEDSImpl.py)
|
|
23
|
+
SET_TESTS_PROPERTIES(${TEST_NAME} PROPERTIES
|
|
24
|
+
LABELS "${COMPONENT_NAME}"
|
|
25
|
+
ENVIRONMENT "LD_LIBRARY_PATH=${KERNEL_TEST_LIB}:$ENV{LD_LIBRARY_PATH}"
|
|
26
|
+
)
|
|
27
|
+
ENDIF()
|
|
@@ -0,0 +1,51 @@
|
|
|
1
|
+
// Copyright (C) 2007-2024 CEA, EDF, OPEN CASCADE
|
|
2
|
+
//
|
|
3
|
+
// Copyright (C) 2003-2007 OPEN CASCADE, EADS/CCR, LIP6, CEA/DEN,
|
|
4
|
+
// CEDRAT, EDF R&D, LEG, PRINCIPIA R&D, BUREAU VERITAS
|
|
5
|
+
//
|
|
6
|
+
// This library is free software; you can redistribute it and/or
|
|
7
|
+
// modify it under the terms of the GNU Lesser General Public
|
|
8
|
+
// License as published by the Free Software Foundation; either
|
|
9
|
+
// version 2.1 of the License, or (at your option) any later version.
|
|
10
|
+
//
|
|
11
|
+
// This library is distributed in the hope that it will be useful,
|
|
12
|
+
// but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
13
|
+
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
|
14
|
+
// Lesser General Public License for more details.
|
|
15
|
+
//
|
|
16
|
+
// You should have received a copy of the GNU Lesser General Public
|
|
17
|
+
// License along with this library; if not, write to the Free Software
|
|
18
|
+
// Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
|
|
19
|
+
//
|
|
20
|
+
// See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
|
|
21
|
+
//
|
|
22
|
+
|
|
23
|
+
#ifndef _SALOMEDSImplTEST_HXX_
|
|
24
|
+
#define _SALOMEDSImplTEST_HXX_
|
|
25
|
+
|
|
26
|
+
#include <cppunit/extensions/HelperMacros.h>
|
|
27
|
+
|
|
28
|
+
#ifdef WIN32
|
|
29
|
+
# if defined SALOMEDSIMPLTEST_EXPORTS || defined SALOMEDSImplTest_EXPORTS
|
|
30
|
+
# define SALOMEDSIMPLTEST_EXPORT __declspec( dllexport )
|
|
31
|
+
# else
|
|
32
|
+
# define SALOMEDSIMPLTEST_EXPORT __declspec( dllimport )
|
|
33
|
+
# endif
|
|
34
|
+
#else
|
|
35
|
+
# define SALOMEDSIMPLTEST_EXPORT
|
|
36
|
+
#endif
|
|
37
|
+
|
|
38
|
+
class SALOMEDSIMPLTEST_EXPORT SALOMEDSImplTest : public CppUnit::TestFixture
|
|
39
|
+
{
|
|
40
|
+
CPPUNIT_TEST_SUITE( SALOMEDSImplTest );
|
|
41
|
+
CPPUNIT_TEST( testAttributeParameter );
|
|
42
|
+
CPPUNIT_TEST_SUITE_END();
|
|
43
|
+
|
|
44
|
+
public:
|
|
45
|
+
|
|
46
|
+
void setUp();
|
|
47
|
+
void tearDown();
|
|
48
|
+
void testAttributeParameter();
|
|
49
|
+
};
|
|
50
|
+
|
|
51
|
+
#endif
|
|
Binary file
|
|
@@ -0,0 +1,55 @@
|
|
|
1
|
+
# -*- coding: iso-8859-1 -*-
|
|
2
|
+
# Copyright (C) 2007-2024 CEA, EDF, OPEN CASCADE
|
|
3
|
+
#
|
|
4
|
+
# Copyright (C) 2003-2007 OPEN CASCADE, EADS/CCR, LIP6, CEA/DEN,
|
|
5
|
+
# CEDRAT, EDF R&D, LEG, PRINCIPIA R&D, BUREAU VERITAS
|
|
6
|
+
#
|
|
7
|
+
# This library is free software; you can redistribute it and/or
|
|
8
|
+
# modify it under the terms of the GNU Lesser General Public
|
|
9
|
+
# License as published by the Free Software Foundation; either
|
|
10
|
+
# version 2.1 of the License, or (at your option) any later version.
|
|
11
|
+
#
|
|
12
|
+
# This library is distributed in the hope that it will be useful,
|
|
13
|
+
# but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
14
|
+
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
|
15
|
+
# Lesser General Public License for more details.
|
|
16
|
+
#
|
|
17
|
+
# You should have received a copy of the GNU Lesser General Public
|
|
18
|
+
# License along with this library; if not, write to the Free Software
|
|
19
|
+
# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
|
|
20
|
+
#
|
|
21
|
+
# See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
|
|
22
|
+
#
|
|
23
|
+
|
|
24
|
+
import sys, os,signal,string,subprocess
|
|
25
|
+
import subprocess
|
|
26
|
+
from salome.kernel import runSalomeOld_impl
|
|
27
|
+
from salome.kernel import orbmodule
|
|
28
|
+
from salome.kernel import TestKiller
|
|
29
|
+
from salome.kernel import setenv_impl
|
|
30
|
+
|
|
31
|
+
# get SALOME environment :
|
|
32
|
+
|
|
33
|
+
args, modules_list, modules_root_dir = setenv_impl.get_config()
|
|
34
|
+
setenv_impl.set_env(args, modules_list, modules_root_dir)
|
|
35
|
+
|
|
36
|
+
# launch CORBA naming server
|
|
37
|
+
|
|
38
|
+
clt=orbmodule.client()
|
|
39
|
+
|
|
40
|
+
# launch CORBA logger server
|
|
41
|
+
|
|
42
|
+
myServer=runSalomeOld_impl.LoggerServer(args)
|
|
43
|
+
myServer.run()
|
|
44
|
+
clt.waitLogger("Logger")
|
|
45
|
+
|
|
46
|
+
# execute Unit Test
|
|
47
|
+
|
|
48
|
+
command = ['./TestSALOMEDSImpl']
|
|
49
|
+
ret = subprocess.call(command)
|
|
50
|
+
|
|
51
|
+
# kill Test process
|
|
52
|
+
|
|
53
|
+
TestKiller.killProcess(runSalomeOld_impl.process_id)
|
|
54
|
+
TestKiller.closeSalome()
|
|
55
|
+
exit(ret)
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
# Copyright (C) 2015-2024 CEA, EDF
|
|
2
|
+
#
|
|
3
|
+
# This library is free software; you can redistribute it and/or
|
|
4
|
+
# modify it under the terms of the GNU Lesser General Public
|
|
5
|
+
# License as published by the Free Software Foundation; either
|
|
6
|
+
# version 2.1 of the License, or (at your option) any later version.
|
|
7
|
+
#
|
|
8
|
+
# This library is distributed in the hope that it will be useful,
|
|
9
|
+
# but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
10
|
+
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
|
11
|
+
# Lesser General Public License for more details.
|
|
12
|
+
#
|
|
13
|
+
# You should have received a copy of the GNU Lesser General Public
|
|
14
|
+
# License along with this library; if not, write to the Free Software
|
|
15
|
+
# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
|
|
16
|
+
#
|
|
17
|
+
# See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
|
|
18
|
+
#
|
|
19
|
+
|
|
20
|
+
IF(NOT WIN32)
|
|
21
|
+
SET(TEST_NAME ${COMPONENT_NAME}_LocalTrace)
|
|
22
|
+
ADD_TEST(${TEST_NAME} ${SALOME_TEST_DRIVER} ${TIMEOUT} TestSALOMELocalTrace.py)
|
|
23
|
+
SET_TESTS_PROPERTIES(${TEST_NAME} PROPERTIES
|
|
24
|
+
LABELS "${COMPONENT_NAME}"
|
|
25
|
+
ENVIRONMENT "LD_LIBRARY_PATH=${KERNEL_TEST_LIB}:$ENV{LD_LIBRARY_PATH}"
|
|
26
|
+
)
|
|
27
|
+
ENDIF()
|
|
@@ -0,0 +1,59 @@
|
|
|
1
|
+
// Copyright (C) 2007-2024 CEA, EDF, OPEN CASCADE
|
|
2
|
+
//
|
|
3
|
+
// Copyright (C) 2003-2007 OPEN CASCADE, EADS/CCR, LIP6, CEA/DEN,
|
|
4
|
+
// CEDRAT, EDF R&D, LEG, PRINCIPIA R&D, BUREAU VERITAS
|
|
5
|
+
//
|
|
6
|
+
// This library is free software; you can redistribute it and/or
|
|
7
|
+
// modify it under the terms of the GNU Lesser General Public
|
|
8
|
+
// License as published by the Free Software Foundation; either
|
|
9
|
+
// version 2.1 of the License, or (at your option) any later version.
|
|
10
|
+
//
|
|
11
|
+
// This library is distributed in the hope that it will be useful,
|
|
12
|
+
// but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
13
|
+
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
|
14
|
+
// Lesser General Public License for more details.
|
|
15
|
+
//
|
|
16
|
+
// You should have received a copy of the GNU Lesser General Public
|
|
17
|
+
// License along with this library; if not, write to the Free Software
|
|
18
|
+
// Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
|
|
19
|
+
//
|
|
20
|
+
// See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
|
|
21
|
+
//
|
|
22
|
+
|
|
23
|
+
#ifndef _SALOMELOCALTRACETEST_HXX_
|
|
24
|
+
#define _SALOMELOCALTRACETEST_HXX_
|
|
25
|
+
|
|
26
|
+
#include <cppunit/extensions/HelperMacros.h>
|
|
27
|
+
#include <string>
|
|
28
|
+
|
|
29
|
+
#ifdef WIN32
|
|
30
|
+
# if defined SALOMELOCALTRACETEST_EXPORTS || defined SALOMELocalTraceTest_EXPORTS
|
|
31
|
+
# define SALOMELOCALTRACETEST_EXPORT __declspec( dllexport )
|
|
32
|
+
# else
|
|
33
|
+
# define SALOMELOCALTRACETEST_EXPORT __declspec( dllimport )
|
|
34
|
+
# endif
|
|
35
|
+
#else
|
|
36
|
+
# define SALOMELOCALTRACETEST_EXPORT
|
|
37
|
+
#endif
|
|
38
|
+
|
|
39
|
+
class SALOMELOCALTRACETEST_EXPORT SALOMELocalTraceTest : public CppUnit::TestFixture
|
|
40
|
+
{
|
|
41
|
+
CPPUNIT_TEST_SUITE( SALOMELocalTraceTest );
|
|
42
|
+
CPPUNIT_TEST( testSingletonBufferPool );
|
|
43
|
+
CPPUNIT_TEST( testLoadBufferPoolLocal );
|
|
44
|
+
CPPUNIT_TEST( testLoadBufferPoolFile );
|
|
45
|
+
CPPUNIT_TEST_SUITE_END();
|
|
46
|
+
|
|
47
|
+
public:
|
|
48
|
+
void setUp();
|
|
49
|
+
void tearDown();
|
|
50
|
+
|
|
51
|
+
void testSingletonBufferPool();
|
|
52
|
+
void testLoadBufferPoolLocal();
|
|
53
|
+
void testLoadBufferPoolFile();
|
|
54
|
+
|
|
55
|
+
private:
|
|
56
|
+
std::string _getTraceFileName();
|
|
57
|
+
};
|
|
58
|
+
|
|
59
|
+
#endif
|
|
Binary file
|
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
# -*- coding: iso-8859-1 -*-
|
|
2
|
+
# Copyright (C) 2007-2024 CEA, EDF, OPEN CASCADE
|
|
3
|
+
#
|
|
4
|
+
# Copyright (C) 2003-2007 OPEN CASCADE, EADS/CCR, LIP6, CEA/DEN,
|
|
5
|
+
# CEDRAT, EDF R&D, LEG, PRINCIPIA R&D, BUREAU VERITAS
|
|
6
|
+
#
|
|
7
|
+
# This library is free software; you can redistribute it and/or
|
|
8
|
+
# modify it under the terms of the GNU Lesser General Public
|
|
9
|
+
# License as published by the Free Software Foundation; either
|
|
10
|
+
# version 2.1 of the License, or (at your option) any later version.
|
|
11
|
+
#
|
|
12
|
+
# This library is distributed in the hope that it will be useful,
|
|
13
|
+
# but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
14
|
+
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
|
15
|
+
# Lesser General Public License for more details.
|
|
16
|
+
#
|
|
17
|
+
# You should have received a copy of the GNU Lesser General Public
|
|
18
|
+
# License along with this library; if not, write to the Free Software
|
|
19
|
+
# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
|
|
20
|
+
#
|
|
21
|
+
# See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
|
|
22
|
+
#
|
|
23
|
+
|
|
24
|
+
import sys, signal,string,subprocess
|
|
25
|
+
import subprocess
|
|
26
|
+
from salome.kernel import setenv_impl
|
|
27
|
+
|
|
28
|
+
# get SALOME environment :
|
|
29
|
+
# here we need KERNEL_ROOT_DIR, PATH, LD_LIBRARY_PATH
|
|
30
|
+
|
|
31
|
+
args, modules_list, modules_root_dir = setenv_impl.get_config()
|
|
32
|
+
setenv_impl.set_env(args, modules_list, modules_root_dir)
|
|
33
|
+
|
|
34
|
+
# execute Unit Test
|
|
35
|
+
|
|
36
|
+
command = ['./TestSALOMELocalTrace']
|
|
37
|
+
ret = subprocess.call(command)
|
|
38
|
+
|
|
39
|
+
# no process to kill
|
|
40
|
+
exit(ret)
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
# Copyright (C) 2015-2024 CEA, EDF
|
|
2
|
+
#
|
|
3
|
+
# This library is free software; you can redistribute it and/or
|
|
4
|
+
# modify it under the terms of the GNU Lesser General Public
|
|
5
|
+
# License as published by the Free Software Foundation; either
|
|
6
|
+
# version 2.1 of the License, or (at your option) any later version.
|
|
7
|
+
#
|
|
8
|
+
# This library is distributed in the hope that it will be useful,
|
|
9
|
+
# but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
10
|
+
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
|
11
|
+
# Lesser General Public License for more details.
|
|
12
|
+
#
|
|
13
|
+
# You should have received a copy of the GNU Lesser General Public
|
|
14
|
+
# License along with this library; if not, write to the Free Software
|
|
15
|
+
# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
|
|
16
|
+
#
|
|
17
|
+
# See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
|
|
18
|
+
#
|
|
19
|
+
|
|
20
|
+
IF(NOT WIN32)
|
|
21
|
+
SET(TEST_NAME ${COMPONENT_NAME}_SALOMETraceCollector)
|
|
22
|
+
ADD_TEST(${TEST_NAME} ${SALOME_TEST_DRIVER} ${TIMEOUT} TestSALOMETraceCollector.py)
|
|
23
|
+
SET_TESTS_PROPERTIES(${TEST_NAME} PROPERTIES
|
|
24
|
+
LABELS "${COMPONENT_NAME}"
|
|
25
|
+
ENVIRONMENT "LD_LIBRARY_PATH=${KERNEL_TEST_LIB}:$ENV{LD_LIBRARY_PATH}"
|
|
26
|
+
)
|
|
27
|
+
ENDIF()
|
|
@@ -0,0 +1,51 @@
|
|
|
1
|
+
// Copyright (C) 2007-2024 CEA, EDF, OPEN CASCADE
|
|
2
|
+
//
|
|
3
|
+
// Copyright (C) 2003-2007 OPEN CASCADE, EADS/CCR, LIP6, CEA/DEN,
|
|
4
|
+
// CEDRAT, EDF R&D, LEG, PRINCIPIA R&D, BUREAU VERITAS
|
|
5
|
+
//
|
|
6
|
+
// This library is free software; you can redistribute it and/or
|
|
7
|
+
// modify it under the terms of the GNU Lesser General Public
|
|
8
|
+
// License as published by the Free Software Foundation; either
|
|
9
|
+
// version 2.1 of the License, or (at your option) any later version.
|
|
10
|
+
//
|
|
11
|
+
// This library is distributed in the hope that it will be useful,
|
|
12
|
+
// but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
13
|
+
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
|
14
|
+
// Lesser General Public License for more details.
|
|
15
|
+
//
|
|
16
|
+
// You should have received a copy of the GNU Lesser General Public
|
|
17
|
+
// License along with this library; if not, write to the Free Software
|
|
18
|
+
// Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
|
|
19
|
+
//
|
|
20
|
+
// See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
|
|
21
|
+
//
|
|
22
|
+
|
|
23
|
+
#ifndef _SALOMETRACECOLLECTORTTEST_HXX_
|
|
24
|
+
#define _SALOMETRACECOLLECTORTTEST_HXX_
|
|
25
|
+
|
|
26
|
+
#include <cppunit/extensions/HelperMacros.h>
|
|
27
|
+
|
|
28
|
+
#ifdef WIN32
|
|
29
|
+
# if defined SALOMETRACECOLLECTORTEST_EXPORTS || defined SALOMETraceCollectorTest_EXPORTS
|
|
30
|
+
# define SALOMETRACECOLLECTORTEST_EXPORT __declspec( dllexport )
|
|
31
|
+
# else
|
|
32
|
+
# define SALOMETRACECOLLECTORTEST_EXPORT __declspec( dllimport )
|
|
33
|
+
# endif
|
|
34
|
+
#else
|
|
35
|
+
# define SALOMETRACECOLLECTORTEST_EXPORT
|
|
36
|
+
#endif
|
|
37
|
+
|
|
38
|
+
class SALOMETRACECOLLECTORTEST_EXPORT SALOMETraceCollectorTest : public CppUnit::TestFixture
|
|
39
|
+
{
|
|
40
|
+
CPPUNIT_TEST_SUITE( SALOMETraceCollectorTest );
|
|
41
|
+
CPPUNIT_TEST( testLoadBufferPoolCORBA );
|
|
42
|
+
CPPUNIT_TEST_SUITE_END();
|
|
43
|
+
|
|
44
|
+
public:
|
|
45
|
+
void setUp();
|
|
46
|
+
void tearDown();
|
|
47
|
+
|
|
48
|
+
void testLoadBufferPoolCORBA();
|
|
49
|
+
};
|
|
50
|
+
|
|
51
|
+
#endif
|
|
@@ -0,0 +1,57 @@
|
|
|
1
|
+
#! /usr/bin/env python3
|
|
2
|
+
# -*- coding: iso-8859-1 -*-
|
|
3
|
+
# Copyright (C) 2007-2024 CEA, EDF, OPEN CASCADE
|
|
4
|
+
#
|
|
5
|
+
# Copyright (C) 2003-2007 OPEN CASCADE, EADS/CCR, LIP6, CEA/DEN,
|
|
6
|
+
# CEDRAT, EDF R&D, LEG, PRINCIPIA R&D, BUREAU VERITAS
|
|
7
|
+
#
|
|
8
|
+
# This library is free software; you can redistribute it and/or
|
|
9
|
+
# modify it under the terms of the GNU Lesser General Public
|
|
10
|
+
# License as published by the Free Software Foundation; either
|
|
11
|
+
# version 2.1 of the License, or (at your option) any later version.
|
|
12
|
+
#
|
|
13
|
+
# This library is distributed in the hope that it will be useful,
|
|
14
|
+
# but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
15
|
+
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
|
16
|
+
# Lesser General Public License for more details.
|
|
17
|
+
#
|
|
18
|
+
# You should have received a copy of the GNU Lesser General Public
|
|
19
|
+
# License along with this library; if not, write to the Free Software
|
|
20
|
+
# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
|
|
21
|
+
#
|
|
22
|
+
# See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
|
|
23
|
+
#
|
|
24
|
+
|
|
25
|
+
import sys, os,signal,string,subprocess
|
|
26
|
+
import subprocess
|
|
27
|
+
from salome.kernel import runSalomeOld_impl
|
|
28
|
+
from salome.kernel import orbmodule
|
|
29
|
+
from salome.kernel import TestKiller
|
|
30
|
+
from salome.kernel import setenv_impl
|
|
31
|
+
|
|
32
|
+
# get SALOME environment :
|
|
33
|
+
|
|
34
|
+
args, modules_list, modules_root_dir = setenv_impl.get_config()
|
|
35
|
+
setenv_impl.set_env(args, modules_list, modules_root_dir)
|
|
36
|
+
|
|
37
|
+
# launch CORBA naming server
|
|
38
|
+
|
|
39
|
+
clt=orbmodule.client()
|
|
40
|
+
|
|
41
|
+
# launch CORBA logger server
|
|
42
|
+
|
|
43
|
+
myServer=runSalomeOld_impl.LoggerServer(args)
|
|
44
|
+
myServer.run()
|
|
45
|
+
clt.waitLogger("Logger")
|
|
46
|
+
|
|
47
|
+
# execute Unit Test
|
|
48
|
+
|
|
49
|
+
command = ['./TestSALOMETraceCollector']
|
|
50
|
+
valgrind = ['valgrind', '--leak-check=full']
|
|
51
|
+
#command = valgrind+command
|
|
52
|
+
ret = subprocess.call(command)
|
|
53
|
+
|
|
54
|
+
# kill Test process
|
|
55
|
+
|
|
56
|
+
TestKiller.killProcess(runSalomeOld_impl.process_id)
|
|
57
|
+
exit(ret)
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
# Copyright (C) 2015-2024 CEA, EDF
|
|
2
|
+
#
|
|
3
|
+
# This library is free software; you can redistribute it and/or
|
|
4
|
+
# modify it under the terms of the GNU Lesser General Public
|
|
5
|
+
# License as published by the Free Software Foundation; either
|
|
6
|
+
# version 2.1 of the License, or (at your option) any later version.
|
|
7
|
+
#
|
|
8
|
+
# This library is distributed in the hope that it will be useful,
|
|
9
|
+
# but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
10
|
+
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
|
11
|
+
# Lesser General Public License for more details.
|
|
12
|
+
#
|
|
13
|
+
# You should have received a copy of the GNU Lesser General Public
|
|
14
|
+
# License along with this library; if not, write to the Free Software
|
|
15
|
+
# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
|
|
16
|
+
#
|
|
17
|
+
# See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
|
|
18
|
+
#
|
|
19
|
+
|
|
20
|
+
IF(NOT WIN32)
|
|
21
|
+
SET(TEST_NAME ${COMPONENT_NAME}_UnitTests)
|
|
22
|
+
ADD_TEST(${TEST_NAME} ${SALOME_TEST_DRIVER} ${TIMEOUT} UnitTests.py)
|
|
23
|
+
SET_TESTS_PROPERTIES(${TEST_NAME} PROPERTIES
|
|
24
|
+
LABELS "${COMPONENT_NAME}"
|
|
25
|
+
ENVIRONMENT "LD_LIBRARY_PATH=${KERNEL_TEST_LIB}:$ENV{LD_LIBRARY_PATH}"
|
|
26
|
+
)
|
|
27
|
+
|
|
28
|
+
ENDIF()
|