From: Christian Caremoli <> Date: Mon, 29 May 2006 08:16:50 +0000 (+0000) Subject: CCAR:mise a niveau aster 8.2.22 X-Git-Tag: V1_10b2~26 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=d27f29e2a54f93d728411c07810297c638d46139;p=modules%2Feficas.git CCAR:mise a niveau aster 8.2.22 --- diff --git a/Tests/testcomm/c.comm b/Tests/testcomm/c.comm index 36906c57..26c16b36 100644 --- a/Tests/testcomm/c.comm +++ b/Tests/testcomm/c.comm @@ -44,6 +44,6 @@ DEFI_FICHIER (ACTION='LIBERER',UNITE=50) DEFI_FICHIER (ACTION='LIBERER',UNITE=u) # test de validateur qui accepte tout (typ=assd) -IMPR_CO(CO=MA) +IMPR_CO(CONCEPT=_F(NOM=MA)) FIN() diff --git a/Tests/testcomm/e.comm b/Tests/testcomm/e.comm index ffd11857..15bf3261 100644 --- a/Tests/testcomm/e.comm +++ b/Tests/testcomm/e.comm @@ -63,8 +63,8 @@ CHS2=[None]*5 # parse: +affectation -for k in range(1,5): - DS1[k] = CREA_CHAMP( OPERATION='EXTR', TYPE_CHAM='NOEU_DEPL_R', - RESULTAT= MODESTA1, NUME_ORDRE=k, NOM_CHAM = 'DEPL'); +#for k in range(1,5): +# DS1[k] = CREA_CHAMP( OPERATION='EXTR', TYPE_CHAM='NOEU_DEPL_R', +# RESULTAT= MODESTA1, NUME_ORDRE=k, NOM_CHAM = 'DEPL'); FIN() diff --git a/Tests/testcomm/g.comm b/Tests/testcomm/g.comm index f8393148..8756209b 100644 --- a/Tests/testcomm/g.comm +++ b/Tests/testcomm/g.comm @@ -5,7 +5,7 @@ sensible=[2.1E11, 0.3, 1.E-6, 1.E-6, ] n=len(sensible) PS=[None]*n -for i in range(n): - PS[i]=DEFI_PARA_SENSI(VALE=sensible[i]) +#for i in range(n): +# PS[i]=DEFI_PARA_SENSI(VALE=sensible[i]) FIN() diff --git a/Tests/testcomm/testcomm.py b/Tests/testcomm/testcomm.py index 9622ffb2..0945bf98 100644 --- a/Tests/testcomm/testcomm.py +++ b/Tests/testcomm/testcomm.py @@ -40,13 +40,14 @@ class TestCase(unittest.TestCase): i=i+1 exec """def test%s(self,file="%s"): + "fichier:%s" self.commtest(file) -""" % (i,f) +""" % (i,f,f) del i def commtest(self,file): """ Test generique""" - print file + #print file j=self.app.openJDC(file=file) assert j.isvalid(),j.report() CONTEXT.unset_current_step() diff --git a/Tests/testcomm/titi.comm b/Tests/testcomm/titi.comm index 62077618..a235be8a 100644 --- a/Tests/testcomm/titi.comm +++ b/Tests/testcomm/titi.comm @@ -60,28 +60,6 @@ THETA0=CALC_THETA( MODELE=MO, DIRECTION=(1., 0., 0.,) ) -G0=CALC_G_THETA_T( RESULTAT=DEP, - THETA=THETA0, - SYME_CHAR='SANS', - COMP_ELAS=_F( RELATION = 'ELAS', - DEFORMATION = 'PETIT') - ) - -DG0=CALC_G_THETA_T( RESULTAT=DEP, - SENSIBILITE = (FORC), - THETA=THETA0, - SYME_CHAR='SANS', - COMP_ELAS=_F( RELATION = 'ELAS', - DEFORMATION = 'PETIT') - ) - -TEST_TABLE( TABLE=DG0, - NOM_PARA='G', - SENSIBILITE = (FORC), - VALE=1.06E-2, - REFERENCE='ANALYTIQUE', - PRECISION=0.0005 ) - FIN() MA1=LIRE_MAILLAGE()