Subversion Repositories eFlore/Applications.cel

Compare Revisions

Problem with comparison.

Ignore whitespace Rev HEAD → Rev 1817

/trunk/jrest/tests/phptests/localisation-detect.result.php
New file
0,0 → 1,4
<?php return array (
'zone_geo' => 'Marseille',
'ce_zone_geo' => '13',
);
/trunk/jrest/tests/phptests/date-pre-1900.result.php
New file
0,0 → 1,3
<?php return array (
'date_observation' => '1811/06/23',
);
/trunk/jrest/tests/phptests/date-post-1900.test.php
New file
0,0 → 1,3
<?php
// test date format texte, post 1900
return array('data' => array('Date' => '23/01/1991'));
/trunk/jrest/tests/phptests/localisation-cp-seul.test.php
New file
0,0 → 1,3
<?php
// test localisation sur code insee seul
return array('data' => array('Commune' => '34172'));
/trunk/jrest/tests/phptests/date-post-2900.test.php
New file
0,0 → 1,4
<?php
// test date format texte, futur
return array('warn' => 1,
'data' => array('Date' => '23/06/2900'));
/trunk/jrest/tests/phptests/transmission.result.php
New file
0,0 → 1,4
<?php return array (
'transmission' => 'oui',
//'date_transmission' => '2013-07-26 18:20:08',
);
/trunk/jrest/tests/phptests/localisation-nom-cp2.result.php
New file
0,0 → 1,3
<?php return array (
'zone_geo' => 'Villers-lès-Nancy',
'ce_zone_geo' => '54');
/trunk/jrest/tests/phptests/determ-espece-bdnffnn.result.php
New file
0,0 → 1,8
<?php return array (
'nom_sel' => 'Viola riviniana subsp. bavarica',
'nom_sel_nn' => '72475',
'nom_ret' => 'Viola x bavarica Schrank',
'nom_ret_nn' => '72090',
'nt' => '7705',
'famille' => 'Violaceae',
);
/trunk/jrest/tests/phptests/colonne-abbrev.test.php
New file
0,0 → 1,3
<?php
// test détermination espèce avec bdnffnn
return array('data' => array('espece' => 'blah'));
/trunk/jrest/tests/phptests/milieu-255.result.php
New file
0,0 → 1,3
<?php return array (
'milieu' => 'Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Lorem ipsum dolor sit amet, consectetur test long commentaire : adipisicing elit, sed do eiusmod tempor incididunt consectetur adi',
);
/trunk/jrest/tests/phptests/commentaire-quote.result.php
New file
0,0 → 1,3
<?php return array (
'commentaire' => 'test quote : a\'’"a',
);
/trunk/jrest/tests/phptests/01-sample.result.php
New file
0,0 → 1,3
<?php return array (
'date_observation' => '1991/06/23',
);
/trunk/jrest/tests/phptests/determ-espece-bdnffnt.result.php
New file
0,0 → 1,8
<?php return array (
'nom_sel' => 'Viola riviniana subsp. riviniana',
'nom_sel_nn' => '72478',
'nom_ret' => 'Viola riviniana subsp. riviniana',
'nom_ret_nn' => '72478',
'nt' => '5757',
'famille' => 'Violaceae',
);
/trunk/jrest/tests/phptests/determ-espece-noref-bdnffnn.result.php
New file
0,0 → 1,3
<?php return array (
'nom_sel' => 'bdtfx:nn:72475',
'nom_referentiel' => 'autre');
/trunk/jrest/tests/phptests/latitude-point.result.php
New file
0,0 → 1,3
<?php return array (
'latitude' => '3.3',
);
/trunk/jrest/tests/phptests/date-format-revert.result.php
New file
0,0 → 1,3
<?php return array (
'date_observation' => '1991/01/23',
);
/trunk/jrest/tests/phptests/date-format-invert.test.php
New file
0,0 → 1,3
<?php
// test date format inverse YYYY/MM/DD
return array('data' => array('Date' => '1991/01/23'));
/trunk/jrest/tests/phptests/determ-espece-badref-bdnffnn.result.php
New file
0,0 → 1,3
<?php return array (
'nom_sel' => 'bdtfx:nn:72475',
'nom_referentiel' => 'bdtxa');
/trunk/jrest/tests/phptests/altitude.test.php
New file
0,0 → 1,3
<?php
// test altitude
return array('data' => array('altitude' => '800'));
/trunk/jrest/tests/phptests/accents.result.php
New file
0,0 → 1,5
<?php return array (
'lieudit' => 'œufs',
'station' => 'Ératostène',
'milieu' => 'Byørg',
);
/trunk/jrest/tests/phptests/determ-espece.test.php
New file
0,0 → 1,3
<?php
// test détermination espèce, simple avec erreur, sans référentiel
return array('data' => array('Espèce' => 'heliotropium europaeum Xxumm'));
/trunk/jrest/tests/phptests/localisation-insee.test.php
New file
0,0 → 1,3
<?php
// test localisation nom (cp sur deux chiffres)
return array('data' => array('ce_zone_geo' => 'INSEE-C:34172'));
/trunk/jrest/tests/phptests/determ-espece-syno-bdnff.test.php
New file
0,0 → 1,11
<?php
// test détermination espèce sur synonyme:
/*
+---------+----------------+-----------------------+
| num_nom | num_nom_retenu | nom_sci |
+---------+----------------+-----------------------+
| 38821 | 101838 | Leuzea conifera |
| 101838 | 101838 | Rhaponticum coniferum |
+---------+----------------+-----------------------+
*/
return array('data' => array('Espèce' => 'bdtfx:nn:38821'));
/trunk/jrest/tests/phptests/date-post-1900.result.php
New file
0,0 → 1,3
<?php return array (
'date_observation' => '1991/01/23',
);
/trunk/jrest/tests/phptests/latitude-virgule.test.php
New file
0,0 → 1,3
<?php
// test latitude, séparateur décimales = virgule
return array('data' => array('latitude' => '3,3'));
/trunk/jrest/tests/phptests/localisation-cp-seul.result.php
New file
0,0 → 1,3
<?php return array (
'zone_geo' => 'Montpellier',
'ce_zone_geo' => '34');
/trunk/jrest/tests/phptests/localisation-detect.test.php
New file
0,0 → 1,3
<?php
// test localisation simple (commune seule)
return array('data' => array('Commune' => 'Marseille'));
/trunk/jrest/tests/phptests/date-post-2900.result.php
New file
0,0 → 1,3
<?php return array (
'date_observation' => '',
);
/trunk/jrest/tests/phptests/date-pre-1900.test.php
New file
0,0 → 1,4
<?php
// test date format texte, pré 1900
// il est normal que ce test faillisse avec une arch 32bits (ou un xampp 32bits)
return array('data' => array('Date' => '23/06/1811'));
/trunk/jrest/tests/phptests/transmission.test.php
New file
0,0 → 1,4
<?php
// test transmission
return array('dumpCols' => 'avance',
'data' => array('Transmis' => 'OuI'));
/trunk/jrest/tests/phptests/localisation-nom-cp2.test.php
New file
0,0 → 1,3
<?php
// test localisation nom (cp sur deux chiffres)
return array('data' => array('Commune' => 'Villers-lès-Nancy (54)'));
/trunk/jrest/tests/phptests/colonne-abbrev.result.php
New file
0,0 → 1,3
<?php return array (
'nom_sel' => 'blah'
);
/trunk/jrest/tests/phptests/determ-espece-bdnffnn.test.php
New file
0,0 → 1,3
<?php
// test détermination espèce avec bdnffnn
return array('data' => array('Espèce' => 'bdtfx:nn:72475'));
/trunk/jrest/tests/phptests/milieu-255.test.php
New file
0,0 → 1,3
<?php
// test milieu, 255 caractères
return array('data' => array('milieu' => 'Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Lorem ipsum dolor sit amet, consectetur test long commentaire : adipisicing elit, sed do eiusmod tempor incididunt consectetur adipisicing'));
/trunk/jrest/tests/phptests/commentaire-quote.test.php
New file
0,0 → 1,3
<?php
// test commentaire avec quotes et double-quotes
return array('data' => array('notes' => "test quote : a'’\"a"));
/trunk/jrest/tests/phptests/01-sample.test.php
New file
0,0 → 1,14
<?php
/*
Clefs prises en compte:
 
* dumpCols = 'standard,...':
colonnes (standard, avancé, ...) : '
* cmpCols' = [+]date,transmis,.. |-date,id_observation,... |"def"
Champs à comparer, ou à exclure de la comparaison. Par défaut: "def" = les champs de "data".
* warn = \d
nombre de warnings attendus
*/
// sample test
return array('cmpCols' => 'Date', // colonne à comparer
'data' => array('ordre' => 1, 'Date' => '23/06/1991', 'rien' => 'rien'));
/trunk/jrest/tests/phptests/determ-espece-bdnffnt.test.php
New file
0,0 → 1,3
<?php
// test détermination espèce avec bdnffnt, minuscules
return array('data' => array('Espèce' => 'bdtfx:nt:5757'));
/trunk/jrest/tests/phptests/latitude-point.test.php
New file
0,0 → 1,3
<?php
// test latitude, séparateur décimales = point
return array('data' => array('latitude' => '3.3'));
/trunk/jrest/tests/phptests/determ-espece-noref-bdnffnn.test.php
New file
0,0 → 1,3
<?php
// test détermination espèce avec bdnffnn mais sans référentiel
return array('data' => array('Espèce' => 'bdtfx:nn:72475', 'nom_referentiel' => 'autre'));
/trunk/jrest/tests/phptests/date-format-invert.result.php
New file
0,0 → 1,3
<?php return array (
'date_observation' => '1991/01/23',
);
/trunk/jrest/tests/phptests/date-format-revert.test.php
New file
0,0 → 1,3
<?php
// test date format inverse YYYY/MM/DD
return array('data' => array('Date' => '23/01/1991'));
/trunk/jrest/tests/phptests/altitude.result.php
New file
0,0 → 1,3
<?php return array (
'altitude' => '800',
);
/trunk/jrest/tests/phptests/determ-espece-badref-bdnffnn.test.php
New file
0,0 → 1,5
<?php
// test détermination espèce avec bdnffnn mais avec un référentiel erroné
// TODO: RechercheInfosTaxonBeta.php, ligne 186 devrait être modifié afin que la détermination
// prennent en priorité le préfixe "bdtfx" et ignore la colonne "nom_referentiel"
return array('data' => array('Espèce' => 'bdtfx:nn:72475', 'nom_referentiel' => 'bdtxa'));
/trunk/jrest/tests/phptests/accents.test.php
New file
0,0 → 1,3
<?php
// test date format texte, pré 1900
return array('data' => array('Lieu-dit' => 'œufs', 'Station' => 'Ératostène', 'Milieu' => 'Byørg'));
/trunk/jrest/tests/phptests/determ-espece.result.php
New file
0,0 → 1,8
<?php return array (
'nom_sel' => 'heliotropium europaeum Xxumm',
'nom_sel_nn' => '31468',
'nom_ret' => 'Heliotropium europaeum L.',
'nom_ret_nn' => '31468',
'nt' => '1382',
'famille' => 'Boraginaceae',
);
/trunk/jrest/tests/phptests/localisation-insee.result.php
New file
0,0 → 1,3
<?php return array (
'zone_geo' => 'Montpellier',
'ce_zone_geo' => '34');
/trunk/jrest/tests/phptests/determ-espece-syno-bdnff.result.php
New file
0,0 → 1,9
<?php
return array (
'nom_sel' => 'Leuzea conifera',
'nom_sel_nn' => '38821',
'nom_ret' => 'Rhaponticum coniferum (L.) Greuter',
'nom_ret_nn' => '101838',
'nt' => '1050',
'famille' => 'Asteraceae');
?>
/trunk/jrest/tests/phptests/latitude-virgule.result.php
New file
0,0 → 1,3
<?php return array (
'latitude' => '3.3',
);