From: crouzet Date: Mon, 25 Oct 2010 10:11:36 +0000 (+0000) Subject: change name of module X-Git-Tag: V5_1_5rc1~3 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=245bd3edbdfcab1a96b83e2e3d16d080c200ee08;p=tools%2Fyacsgen.git change name of module add test for 5.1.5 --- diff --git a/Examples/hxx1/test_compohxx.py b/Examples/hxx1/test_compohxx.py index 9d84a6a..bd8fbe9 100644 --- a/Examples/hxx1/test_compohxx.py +++ b/Examples/hxx1/test_compohxx.py @@ -12,7 +12,7 @@ import SALOME import salome salome.salome_init() print "Test du composant CALCUL généré généré par hxx2salome" -import hxxcompos +import hxxcompos_ORB myCalc = salome.lcc.FindOrLoadComponent("FactoryServer", "CALCUL") print "10+15 = ",myCalc.add(10,15) print "10x15 = ",myCalc.mul(10,15) @@ -121,9 +121,9 @@ myCoco2 = salome.lcc.FindOrLoadComponent("FactoryServerI2", "ICOCO") # myCoco1.initialize() m=myCoco1.getInputFieldTemplate("TargetField") -#myCoco1.solve() to test with 5.1.5 -#f=myCoco1.getOutputField("SourceField") -#myCoco2.printField(f) +myCoco1.solve() #to test with 5.1.5 +f=myCoco1.getOutputField("SourceField") +myCoco2.printField(f) # print "##################################" print "Fin test hxx2salome/ICOCO/A2"