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
897 3890 d 23 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 3896 d 16 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 3909 d 16 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 3909 d 16 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 3909 d 17 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 3909 d 20 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 3909 d 22 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 3910 d 16 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 3916 d 13 h raphael /trunk/services/tests/0.1/nvjfl/ tests: oublie d'un fichier (suite r834)  
/trunk/services/tests/0.1/nvjfl/NvjflOntologiesTest.php
834 3916 d 13 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 3916 d 14 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 3918 d 18 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 3918 d 18 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 3922 d 21 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 3923 d 16 h raphael /trunk/services/tests/0.1/commun/ tests: fix CommunMetaDonneesTest (projet "commun" => "eflore")  
/trunk/services/tests/0.1/commun/CommunMetaDonneesTest.php
790 3924 d 15 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 3924 d 15 h raphael /trunk/services/tests/0.1/eflore/ webservices/tests: fix EfloreOntologiesTest::testRecherche  
/trunk/services/tests/0.1/eflore/EfloreOntologiesTest.php
788 3924 d 16 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 3924 d 17 h raphael /trunk/services/tests/0.1/baseflor/ webservices: fix GraphiquesBaseflorTest [typo => tests failures]  
/trunk/services/tests/0.1/baseflor/GraphiquesBaseflorTest.php
785 3924 d 18 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

Show All