Subversion Repositories eFlore/Projets.eflore-projets

Rev

Go to most recent revision | Hide changed files | Directory listing | RSS feed

Filtering Options

Rev Age Author Path Log message Diff Changes
959 3881 d 11 h raphael /trunk/services/ baseflor: factorisation de code + tests  
/trunk/services/modules/0.1/baseflor/Informations.php
/trunk/services/modules/0.1/baseflor/InformationsBaseflor.php
/trunk/services/tests/0.1/baseflor/InformationsBaseflorTest.php
958 3881 d 12 h raphael /trunk/services/ config: baseflor: la directive "champs_ontologiques" est dans la section [Paramètres]  
/trunk/services/modules/0.1/baseflor/CommunGraphiques.php
/trunk/services/modules/0.1/baseflor/InformationsBaseflor.php
/trunk/services/modules/0.1/baseflor/InformationsTaxonsSup.php
/trunk/services/tests/0.1/baseflor/InformationsBaseflorTest.php
954 3883 d 14 h aurelien /trunk/services/tests/0.1/liste-rouge/ Finalisation du service liste rouge + ajout de test unitaires  
/trunk/services/tests/0.1/liste-rouge
/trunk/services/tests/0.1/liste-rouge/ListeRougeCategorieTest.php
949 3884 d 14 h raphael /trunk/services/ tests: correction de tests: plus aucune erreur, uniquement des "failures"  
/trunk/services/modules/0.1/cel/Images.php
/trunk/services/modules/0.1/moissonnage/cartes/SourceDonnees.php
/trunk/services/tests/0.1/ServiceEflorePhpUnit.php
/trunk/services/tests/0.1/baseflor/InformationsBaseflorTest.php
/trunk/services/tests/0.1/chorodep/ChorodepCartesTest.php
/trunk/services/tests/0.1/chorodep/ChorodepObservationsTest.php
/trunk/services/tests/0.1/coste/CosteNomsTest.php
/trunk/services/tests/0.1/nvjfl/NvjflNomsVernaTest.php
947 3884 d 16 h raphael /trunk/services/tests/0.1/ tests: corrections de notices liées au Framework et autres corrections  
/trunk/services/tests/0.1/ServiceEflorePhpUnit.php
/trunk/services/tests/0.1/baseflor/InformationsBaseflorTest.php
/trunk/services/tests/0.1/nvjfl/NvjflNomsVernaTest.php
946 3884 d 16 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
923 3905 d 12 h jpm /trunk/services/ Suite suppression de code inutile de l'essai de la version 0.2 de l'api  
/trunk/services/modules/0.2
/trunk/services/tests/0.2
903 3912 d 16 h raphael /trunk/services/tests/0.1/baseveg/ tests: simple reformatage suite aux r901 et r902 optimisant les appels d'ontologies de baseveg  
/trunk/services/tests/0.1/baseveg/SyntaxonsTest.php
900 3912 d 17 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 3912 d 18 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
889 3918 d 11 h raphael /trunk/services/tests/0.1/nvjfl/ tests: r888 follow-up: présence de code_langue dans les retours de nvjfl  
/trunk/services/tests/0.1/nvjfl/NvjflNomsVernaTest.php
863 3931 d 12 h raphael /trunk/services/ coste: ajout d'un retour.indexBy permettant de formater le retour des résultat indexé par coste:nn ou bdtfx:nn + tests  
/trunk/services/modules/0.1/coste/Textes.php
/trunk/services/tests/0.1/coste/CosteNomsTest.php
862 3931 d 12 h raphael /trunk/services/ coste: ajout d'un masque sur numéro taxonomique + tests  
/trunk/services/modules/0.1/coste/Textes.php
/trunk/services/tests/0.1/coste/CosteNomsTest.php
861 3931 d 12 h raphael /trunk/services/ coste: correction, le sens de l'attribut "num_nom" est différent selon coste et bdtfx  
/trunk/services/modules/0.1/coste/Textes.php
/trunk/services/tests/0.1/coste/CosteNomsTest.php
859 3931 d 15 h raphael /trunk/services/ coste: support du multi-num_nom: sanitization et ajout de tests  
/trunk/services/modules/0.1/coste/Textes.php
/trunk/services/tests/0.1/coste/CosteNomsTest.php
856 3931 d 17 h raphael /trunk/services/ coste/textes: remplacement de l'ancien webservice par la version réécrite  
/trunk/services/modules/0.1/coste/Textes2.php
/trunk/services/tests/0.1/coste/CosteNomsTest.php
855 3932 d 11 h raphael /trunk/services/tests/0.1/ coste/textes/tests: ajouts de tests pour la prochaine version du webservice coste/textes  
/trunk/services/tests/0.1/coste
/trunk/services/tests/0.1/coste/CosteNomsTest.php
/trunk/services/tests/0.1/ServiceEflorePhpUnit.php
835 3938 d 9 h raphael /trunk/services/tests/0.1/nvjfl/ tests: oublie d'un fichier (suite r834)  
/trunk/services/tests/0.1/nvjfl/NvjflOntologiesTest.php
834 3938 d 9 h raphael /trunk/services/tests/0.1/ tests: ajout de plusieurs tests relatifs aux ontologies:
* relatifs aux ontologies bdnt (ontologies communes aux ontologies de référentiel)
* relatifs aux ontologies bdnt multiplexés (plusieurs paramètres séparés par des virgules)
* relatifs aux ontologies nvjfl multiplexées (cf r832 eflore/projet)
+ bugfix de tests existants.

==> 8 failures (api 0.1 uniquement)
 
/trunk/services/tests/0.1/commun/CommunOntologiesTest.php
/trunk/services/tests/0.1/nvjfl/NvjflNomsVernaTest.php
833 3938 d 9 h raphael /trunk/services/tests/0.1/ tests: optionnalité du passage des paramètres dans l'utilisation de l'API de test  
/trunk/services/tests/0.1/ServiceEflorePhpUnit.php
826 3940 d 14 h raphael /trunk/services/tests/0.1/cel/ tests: cel: ajout d'un test sur une date antérieure à 1901 (php 64 bits) associée à une image Cel  
/trunk/services/tests/0.1/cel/CelImagesTest.php
825 3940 d 14 h raphael /trunk/services/tests/0.1/baseflor/ tests: baseflor: ajout d'un test sur /baseflor/informations/bdtfx.nn:XXX/relations/catminat  
/trunk/services/tests/0.1/baseflor/InformationsBaseflorTest.php
796 3944 d 17 h raphael /trunk/services/tests/0.1/baseflor/ config: substitution de cache.stockageChemin par cache_stockageChemin  
/trunk/services/tests/0.1/baseflor/GraphiquesBaseflorTest.php
793 3945 d 12 h raphael /trunk/services/tests/0.1/commun/ tests: fix CommunMetaDonneesTest (projet "commun" => "eflore")  
/trunk/services/tests/0.1/commun/CommunMetaDonneesTest.php
790 3946 d 10 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
789 3946 d 11 h raphael /trunk/services/tests/0.1/eflore/ webservices/tests: fix EfloreOntologiesTest::testRecherche  
/trunk/services/tests/0.1/eflore/EfloreOntologiesTest.php
788 3946 d 11 h raphael /trunk/services/ webservices: fix des tests sur baseflor/informations (paramètres depart/limite)  
/trunk/services/modules/0.1/baseflor/Informations.php
/trunk/services/tests/0.1/baseflor/InformationsBaseflorTest.php
786 3946 d 13 h raphael /trunk/services/tests/0.1/baseflor/ webservices: fix GraphiquesBaseflorTest [typo => tests failures]  
/trunk/services/tests/0.1/baseflor/GraphiquesBaseflorTest.php
785 3946 d 13 h raphael /trunk/services/tests/0.1/ webservices: actualisation de plusieurs tests (aide, suite au changement du webservice "commun" => "eflore"  
/trunk/services/tests/0.1/chorodep/ChorodepOntologiesTest.php
/trunk/services/tests/0.1/commun/CommunAideTest.php
784 3946 d 14 h raphael /trunk/services/ webservices: actualisation de plusieurs tests (chorodep/nvjfl/bdtfx)  
/trunk/services/modules/0.1/chorodep/Observations.php
/trunk/services/modules/0.1/nvjfl/NomsVernaculaires.php
/trunk/services/tests/0.1/bdtfx/BdtfxTaxonsTest.php
/trunk/services/tests/0.1/chorodep/ChorodepObservationsTest.php
/trunk/services/tests/0.1/commun/CommunAideTest.php
/trunk/services/tests/0.1/nvjfl/NvjflNomsVernaTest.php
/trunk/services/tests/0.1/wikipedia/WikipediaTexteTest.php
783 3946 d 15 h raphael /trunk/services/ webservices: actualisation de plusieurs tests (ontologies/baseflor)  
/trunk/services/modules/0.1/baseflor/Informations.php
/trunk/services/tests/0.1/baseflor/GraphiquesBaseflorTest.php
/trunk/services/tests/0.1/baseflor/InformationsBaseflorTest.php
/trunk/services/tests/0.1/commun/CommunOntologiesTest.php
/trunk/services/tests/0.1/eflore/EfloreOntologiesTest.php
/trunk/services/tests/0.1/nvjfl/NvjflNomsVernaTest.php
594 4329 d 19 h mathilde /trunk/services/tests/0.1/baseflor/  
/trunk/services/tests/0.1/baseflor/InformationsBaseflorTest.php
581 4330 d 17 h mathilde /trunk/services/tests/0.1/baseveg/ test de baseveg  
/trunk/services/tests/0.1/baseveg
/trunk/services/tests/0.1/baseveg/SyntaxonsTest.php
555 4366 d 15 h mathilde /trunk/services/tests/0.1/baseflor/  
/trunk/services/tests/0.1/baseflor/InformationsBaseflorTest.php
554 4366 d 15 h mathilde /trunk/services/tests/0.1/baseflor/ ajout d'un test pour les champs types biologiques  
/trunk/services/tests/0.1/baseflor/InformationsBaseflorTest.php
520 4388 d 11 h mathilde /trunk/services/tests/0.1/baseflor/ tests pour baseflor et ses rangs supérieurs  
/trunk/services/tests/0.1/baseflor
/trunk/services/tests/0.1/baseflor/GraphiquesBaseflorTest.php
/trunk/services/tests/0.1/baseflor/InformationsBaseflorTest.php
/trunk/services/tests/0.1/baseflor/OntologiesBaseflorTest.php
358 4464 d 12 h delphine /trunk/services/ ajout test retour champs  
/trunk/services/modules/0.1/bdtfx/CommunNomsTaxons.php
/trunk/services/tests/0.1/bdtfx/BdtfxNomsTest.php
324 4491 d 10 h delphine /trunk/services/tests/0.1/eflore/ test eflore cartes et ontologies  
/trunk/services/tests/0.1/eflore
/trunk/services/tests/0.1/eflore/EfloreCartesTest.php
/trunk/services/tests/0.1/eflore/EfloreOntologiesTest.php
321 4493 d 16 h aurelien /trunk/services/tests/0.1/bibliobota/ Ajout de test sur les publications pour bibliobota  
/trunk/services/tests/0.1/bibliobota
/trunk/services/tests/0.1/bibliobota/PublicationsTest.php
296 4512 d 17 h aurelien /trunk/services/tests/0.1/bdtfx/ Ajout de tests pour les relations supérieures et inférieures  
/trunk/services/tests/0.1/bdtfx/BdtfxTaxonsTest.php