Subversion Repositories eFlore/Projets.eflore-projets

Rev

Hide changed files | Details | Compare with Previous | Blame | RSS feed

Filtering Options

Rev Age Author Path Log message Diff Changes
946 3864 d 3 h raphael /trunk/services/ tests: retour plus adéquat en cas d'absence de la version de la table de projet demandée et correction des tests en conséquence  
/trunk/services/modules/0.1/commun/Commun.php
/trunk/services/tests/0.1/baseveg/SyntaxonsTest.php
/trunk/services/tests/0.1/bdtfx/BdtfxNomsTest.php
/trunk/services/tests/0.1/bdtfx/BdtfxTaxonsTest.php
900 3892 d 4 h raphael /trunk/services/tests/0.1/bdtfx/ tests: ajout de tests sur les meta-données bdtfx et correction de
tests vis-à-vis de bdtfx 1.02 (jamais mise en -prod) et 2.00.
 
/trunk/services/tests/0.1/bdtfx/BdtfxLMetaTest.php
/trunk/services/tests/0.1/bdtfx/BdtfxNomsTest.php
/trunk/services/tests/0.1/bdtfx/BdtfxTaxonsTest.php
897 3892 d 6 h raphael /trunk/services/tests/0.1/ tests: API phpunit: assertEquals(*, count(*)) => assertCount()

Substitution effectuée ainsi:
$ sed -ri "s|assertEquals\('?([0-9]+)'? *, *count\(([^)]+)\),|assertCount(\1, \2,|" $(egrep -rl "assertEquals\('?[0-9]+'? *, *count" *)
 
/trunk/services/tests/0.1/bdtfx/BdtfxNomsTest.php
/trunk/services/tests/0.1/bdtfx/BdtfxTaxonsTest.php
/trunk/services/tests/0.1/chorodep/ChorodepObservationsTest.php
/trunk/services/tests/0.1/commun/CommunOntologiesTest.php
/trunk/services/tests/0.1/coste/CosteNomsTest.php
/trunk/services/tests/0.1/nvjfl/NvjflNomsVernaTest.php
/trunk/services/tests/0.1/nvjfl/NvjflOntologiesTest.php
790 3925 d 22 h raphael /trunk/services/tests/0.1/ webservices/tests: consulterBrut() et creerUrl() statiques et passage de \$service et \$projet à consulterJson().
En effet, on peut observer que certains tests, tels que EfloreOntologiesTest::testRecherche(), se comportent
différemment selon que la suite est lancée en intégralité ou non.
Le service requêté peut par exemple s'avérer finalement être "baseflor" au
lieu initialement "eflore". L'usage extensif d'attribut de classe pourrait en être
la cause (dans le cas du lancement de tests en parallèles par exemple).
En tout état de cause, et pour faciliter la compréhension du code au détriment d'un léger
accroissement de la verbosité, consulterBrut(), creerUrl() et consulterJson() nécessitent
désormais l'intégralité des paramètres dont ils font usage.
[ le nombre de tests en échec ne change pas: 20 ]
 
/trunk/services/tests/0.1/ServiceEflorePhpUnit.php
/trunk/services/tests/0.1/baseflor/GraphiquesBaseflorTest.php
/trunk/services/tests/0.1/baseflor/InformationsBaseflorTest.php
/trunk/services/tests/0.1/baseflor/OntologiesBaseflorTest.php
/trunk/services/tests/0.1/baseveg/SyntaxonsTest.php
/trunk/services/tests/0.1/bdtfx/BdtfxNomsTest.php
/trunk/services/tests/0.1/bdtfx/BdtfxTaxonsTest.php
/trunk/services/tests/0.1/bibliobota/PublicationsTest.php
/trunk/services/tests/0.1/cel/CelImagesTest.php
/trunk/services/tests/0.1/chorodep/ChorodepCartesTest.php
/trunk/services/tests/0.1/chorodep/ChorodepObservationsTest.php
/trunk/services/tests/0.1/chorodep/ChorodepOntologiesTest.php
/trunk/services/tests/0.1/commun/CommunAideTest.php
/trunk/services/tests/0.1/commun/CommunMetaDonneesTest.php
/trunk/services/tests/0.1/commun/CommunOntologiesTest.php
/trunk/services/tests/0.1/eflore/EfloreCartesTest.php
/trunk/services/tests/0.1/eflore/EfloreOntologiesTest.php
/trunk/services/tests/0.1/iso-639-1/Iso6391LanguesTest.php
/trunk/services/tests/0.1/nvjfl/NvjflNomsVernaTest.php
/trunk/services/tests/0.1/wikipedia/WikipediaTexteTest.php
358 4444 d 0 h delphine /trunk/services/ ajout test retour champs  
/trunk/services/modules/0.1/bdtfx/CommunNomsTaxons.php
/trunk/services/tests/0.1/bdtfx/BdtfxNomsTest.php
195 4546 d 1 h jpm /trunk/services/tests/ Ajout des tests par version d'API.  
/trunk/services/tests/0.1
/trunk/services/tests/0.1/ServiceEflorePhpUnit.php
/trunk/services/tests/0.1/bdtfx
/trunk/services/tests/0.1/cel
/trunk/services/tests/0.1/iso-639-1
/trunk/services/tests/0.1/nvjfl
/trunk/services/tests/0.2
/trunk/services/tests/0.2/ServicePhpUnit.php
/trunk/services/tests/0.2/fournier
/trunk/services/tests/0.2/fournier/NomDetailsTest.php
/trunk/services/tests/0.2/fournier/NomsListeFournierTest.php
/trunk/services/tests/ServiceEflorePhpUnit.php
/trunk/services/tests/bdtfx
/trunk/services/tests/cel
/trunk/services/tests/iso-639-1
/trunk/services/tests/nvjfl
135 4570 d 0 h jpm /trunk/services/tests/bdtfx/ Correction des tests vérifiant la syntaxe html des nom sci.  
/trunk/services/tests/bdtfx/BdtfxNomsTest.php
115 4575 d 21 h delphine /trunk/services/tests/bdtfx/ ajout d'un test sur retour.champs à noms/id  
/trunk/services/tests/bdtfx/BdtfxNomsTest.php
113 4576 d 0 h jpm /trunk/services/tests/bdtfx/ Correction test en trop.  
/trunk/services/tests/bdtfx/BdtfxNomsTest.php
112 4576 d 0 h jpm /trunk/services/ Correction service en erreur pour parametre ns.structure avec ajout des tests.  
/trunk/services/modules/0.1/bdtfx/CommunNomsTaxons.php
/trunk/services/tests/bdtfx/BdtfxNomsTest.php
100 4576 d 23 h delphine /trunk/services/tests/bdtfx/ ajout d'un test sur le paramétre retour.champs du service noms  
/trunk/services/tests/bdtfx/BdtfxNomsTest.php
96 4577 d 21 h jpm /trunk/services/tests/ Corrections des tests pour être utilisé avec ou sans MakeGood dans Eclipse.  
/trunk/services/tests/ServiceEflorePhpUnit.php
/trunk/services/tests/ServicesTestsOutils.php
/trunk/services/tests/prepare.php
/trunk/services/tests/bdtfx/BdtfxNomsTest.php
/trunk/services/tests/bdtfx/BdtfxTaxonsTest.php
/trunk/services/tests/iso-639-1/Iso6391LanguesTest.php
17 4587 d 22 h jpm /trunk/services/tests/ Ajout de tous les tests précédement écris au fonctionnement multi-projets.  
/trunk/services/tests/ServicesTestsOutils.php
/trunk/services/tests/iso-639-1
/trunk/services/tests/iso-639-1/Iso6391LanguesTest.php
/trunk/services/tests/bdtfx/BdtfxNomsTest.php
/trunk/services/tests/bdtfx/BdtfxTaxonsTest.php
/trunk/services/tests/prepare.php
7 4588 d 6 h jpm /trunk/services/tests/ Création d'un dossier par projet pour les tests.  
/trunk/services/tests/bdtfx
/trunk/services/tests/bdtfx/BdtfxNomsTest.php
/trunk/services/tests/bdtfx/BdtfxTaxonsTest.php
/trunk/services/tests/BdtfxNomsTest.php
/trunk/services/tests/BdtfxTaxonsTest.php
/trunk/services/tests/prepare.php
3 4588 d 22 h jpm /trunk/  
/trunk/docs
/trunk/scripts
/trunk/services
/trunk/services/.htaccess
/trunk/services/bibliotheque
/trunk/services/bibliotheque/Outils.php
/trunk/services/configurations
/trunk/services/configurations/config.defaut.ini
/trunk/services/configurations/config_bdnt.ini
/trunk/services/configurations/config_bdtfx.ini
/trunk/services/framework.defaut.php
/trunk/services/index.php
/trunk/services/modules
/trunk/services/modules/0.1
/trunk/services/modules/0.1/Projets.php
/trunk/services/modules/0.1/bdtfx
/trunk/services/modules/0.1/bdtfx/CommunNomsTaxons.php
/trunk/services/modules/0.1/bdtfx/Noms.php
/trunk/services/modules/0.1/bdtfx/Taxons.php
/trunk/services/modules/0.1/commun
/trunk/services/modules/0.1/commun/Aide.php
/trunk/services/modules/0.1/commun/Commun.php
/trunk/services/modules/0.1/commun/MetaDonnees.php
/trunk/services/modules/0.1/commun/Ontologies.php
/trunk/services/tests
/trunk/services/tests/BdtfxNomsTest.php
/trunk/services/tests/BdtfxTaxonsTest.php
/trunk/services/tests/prepare.php