Subversion Repositories eFlore/Projets.eflore-projets

Rev

Hide changed files | Directory listing | RSS feed

Filtering Options

Rev Age Author Path Log message Diff Changes
996 3797 d 3 h mathias /tags/v5.3-amandaie/ Création tag v5.3-amandaie  
/tags/v5.3-amandaie
949 3874 d 6 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
897 3902 d 10 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 3936 d 2 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
785 3936 d 5 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 3936 d 6 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
258 4518 d 1 h jpm /trunk/services/tests/0.1/chorodep/ Ajout de tests pour le service Cartes.  
/trunk/services/tests/0.1/chorodep/ChorodepCartesTest.php
251 4523 d 2 h delphine /trunk/services/ ammélioration test & code chorodep  
/trunk/services/tests/0.1/chorodep/ChorodepOntologiesTest.php
/trunk/services/modules/0.1/chorodep/Observations.php
/trunk/services/tests/0.1/chorodep/ChorodepObservationsTest.php
241 4525 d 5 h delphine /trunk/services/tests/0.1/chorodep/ creation dossier test chorodep  
/trunk/services/tests/0.1/chorodep
/trunk/services/tests/0.1/chorodep/ChorodepObservationsTest.php