Subversion Repositories eFlore/Projets.eflore-projets

Rev

Go to most recent revision | Hide changed files | Details | Compare with Previous | Blame | RSS feed

Filtering Options

Rev Age Author Path Log message Diff Changes
946 3888 d 4 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 3909 d 1 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 3916 d 5 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 3916 d 5 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 3916 d 7 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 3922 d 0 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 3935 d 0 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 3935 d 1 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 3935 d 1 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 3935 d 4 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 3935 d 6 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 3936 d 0 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 3941 d 22 h raphael /trunk/services/tests/0.1/nvjfl/ tests: oublie d'un fichier (suite r834)  
/trunk/services/tests/0.1/nvjfl/NvjflOntologiesTest.php
834 3941 d 22 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 3941 d 22 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 3944 d 3 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 3944 d 3 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 3948 d 6 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 3949 d 0 h raphael /trunk/services/tests/0.1/commun/ tests: fix CommunMetaDonneesTest (projet "commun" => "eflore")  
/trunk/services/tests/0.1/commun/CommunMetaDonneesTest.php
790 3949 d 23 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

Show All