cvs: peardoc /fr/core/ppm/pear-runtest generate-diff.xml pear-runtest.xml run.xml
| From: | Yannick Torres | Date: | Sun, 18 Dec 2005 16:51:48 +0000 |
| Subject: | cvs: peardoc /fr/core/ppm/pear-runtest generate-diff.xml pear-runtest.xml run.xml | ||
| Groups: | php.pear.doc | ||
| Request: | Send a blank email to pear-doc+get-7351@lists.php.net to get a copy of this message | ||
yannick Sun Dec 18 16:51:48 2005 EDT
Added files:
/peardoc/fr/core/ppm/pear-runtest generate-diff.xml
pear-runtest.xml run.xml
Log:
initiale translation
http://cvs.php.net/viewcvs.cgi/peardoc/fr/core/ppm/pear-runtest/generate-diff.xml?view=markup&rev=1.1 Index: peardoc/fr/core/ppm/pear-runtest/generate-diff.xml +++ peardoc/fr/core/ppm/pear-runtest/generate-diff.xml <!-- $Revision: 1.1 $ --> <!-- EN-Revision: 1.1 Maintainer: yannick Status: ready --> <refentry id="core.ppm.pear-runtest.generate-diff"> <refnamediv> <refname> <function>PEAR_RunTest::generate_diff</function> </refname> <refpurpose>generate_diff</refpurpose> </refnamediv> <refsynopsisdiv> <funcsynopsis> <funcsynopsisinfo>require_once '/RunTest.php';</funcsynopsisinfo> <funcprototype> <funcdef> void <function>PEAR_RunTest::generate_diff</function> </funcdef> <paramdef> string <parameter>$wanted</parameter> </paramdef> <paramdef> string <parameter>$output</parameter> </paramdef> <paramdef> array|false <parameter>$return_value</parameter> </paramdef> </funcprototype> </funcsynopsis> </refsynopsisdiv> <refsect1 id="core.ppm.pear-runtest.generate-diff.desc"> &title.desc; <para> Retourne la différence par ligne entre la sortie attendue (<parameter>$wanted</parameter>) et la sortie actuelle (<parameter>$output</parameter>). De plus, la valeur retournée par le script peut également être testée. Le test peut être effectué en dehors de la fonction <function>generate_diff</function>. Si la valeur retournée correspond à la valeur attendue, &false; est retourné, sinon, un tableau est retourné dont le premier élément est la valeur attendue et le second, la valeur retournée actuelle. </para> </refsect1> <refsect1 id="core.ppm.pear-runtest.generate-diff.param"> &title.param; <para> <variablelist> <varlistentry> <term> &type.string; <parameter>$wanted</parameter> </term> <listitem> <para> Sortie attendue </para> </listitem> </varlistentry> </variablelist> <variablelist> <varlistentry> <term> &type.string; <parameter>$output</parameter> </term> <listitem> <para> Sortie actuelle </para> </listitem> </varlistentry> </variablelist> <variablelist> <varlistentry> <term> &type.array;|&false; <parameter>$return_value</parameter> </term> <listitem> <para> &false; si la valeur retournée est incorrect, sinon, un tableau au format : </para> <para> <programlisting role="php"> <![CDATA[ <?php array( 1, // retour attendu 2, // valeur actuellement retournée ); ?> ]]> </programlisting> </para> </listitem> </varlistentry> </variablelist> </para> </refsect1> <refsect1 id="core.ppm.pear-runtest.generate-diff.throws"> &title.throws; <para> Aucune exception n'est lançée. </para> </refsect1> <refsect1 id="core.ppm.pear-runtest.generate-diff.note"> &title.note; ¬e.notstatic; </refsect1> </refentry> http://cvs.php.net/viewcvs.cgi/peardoc/fr/core/ppm/pear-runtest/pear-runtest.xml?view=markup&rev=1.1 Index: peardoc/fr/core/ppm/pear-runtest/pear-runtest.xml +++ peardoc/fr/core/ppm/pear-runtest/pear-runtest.xml <!-- $Revision: 1.1 $ --> <!-- EN-Revision: 1.1 Maintainer: yannick Status: ready --> <refentry id="core.ppm.pear-runtest.pear-runtest"> <refnamediv> <refname> constructeur <function>PEAR_RunTest::PEAR_RunTest</function> </refname> <refpurpose>Instantiate a PEAR_RunTest object.</refpurpose> </refnamediv> <refsynopsisdiv> <funcsynopsis> <funcsynopsisinfo>require_once '/RunTest.php';</funcsynopsisinfo> <funcprototype> <funcdef> void constructor <function>PEAR_RunTest::PEAR_RunTest</function> </funcdef> <paramdef> PEAR_Common|null <parameter> <optional>$logger = &null;</optional> </parameter> </paramdef> <paramdef> array <parameter> <optional>$options = array()</optional> </parameter> </paramdef> </funcprototype> </funcsynopsis> </refsynopsisdiv> <refsect1 id="core.ppm.pear-runtest.pear-runtest.desc"> &title.desc; <para> Si aucun logger n'est spécifié, un nouvel objet PEAR_Common sera instancié et utilisé pour afficher la sortie à l'écran. </para> </refsect1> <refsect1 id="core.ppm.pear-runtest.pear-runtest.param"> &title.param; <para> <variablelist> <varlistentry> <term> <link linkend="core.ppm.pear-common"><classname>PEAR_Common</classname></link>|&null; <parameter>$logger</parameter> </term> <listitem> <para> Une classe contenant une méthode <function>log</function> correspondant à la signature de <classname>PEAR_Common</classname>. </para> </listitem> </varlistentry> </variablelist> <variablelist> <varlistentry> <term> &type.array; <parameter>$options</parameter> </term> <listitem> <para> Les options actuellement supportées sont <literal>simple</literal> et <literal>quiet</literal>. L'option <literal>simple</literal> fait que le test affiche simplement le titre du test et non le chemin complet du fichier de test. L'option <literal>quiet</literal> fait que toutes les erreurs des tests seront affichées. </para> </listitem> </varlistentry> </variablelist> </para> </refsect1> <refsect1 id="core.ppm.pear-runtest.pear-runtest.throws"> &title.throws; <para> Aucune exception n'est lançée. </para> </refsect1> <refsect1 id="core.ppm.pear-runtest.pear-runtest.note"> &title.note; ¬e.notstatic; </refsect1> </refentry> http://cvs.php.net/viewcvs.cgi/peardoc/fr/core/ppm/pear-runtest/run.xml?view=markup&rev=1.1 Index: peardoc/fr/core/ppm/pear-runtest/run.xml +++ peardoc/fr/core/ppm/pear-runtest/run.xml <!-- $Revision: 1.1 $ --> <!-- EN-Revision: 1.1 Maintainer: yannick Status: ready --> <refentry id="core.ppm.pear-runtest.run"> <refnamediv> <refname> <function>PEAR_RunTest::run</function> </refname> <refpurpose>run</refpurpose> </refnamediv> <refsynopsisdiv> <funcsynopsis> <funcsynopsisinfo>require_once '/RunTest.php';</funcsynopsisinfo> <funcprototype> <funcdef> string|PEAR_Error <function>PEAR_RunTest::run</function> </funcdef> <paramdef> string <parameter>$file</parameter> </paramdef> <paramdef> string <parameter> <optional>$ini_settings = ''</optional> </parameter> </paramdef> </funcprototype> </funcsynopsis> </refsynopsisdiv> <refsect1 id="core.ppm.pear-runtest.run.desc"> &title.desc; <para> Effectue un seul test. La valeur retournée est une parmis : </para> <para> <itemizedlist> <listitem> <para> <literal>PASSED</literal> </para> </listitem> <listitem> <para> <literal>SKIPPED</literal> </para> </listitem> <listitem> <para> <literal>WARNED</literal> </para> </listitem> <listitem> <para> <literal>FAILED</literal> </para> </listitem> </itemizedlist> </para> </refsect1> <refsect1 id="core.ppm.pear-runtest.run.param"> &title.param; <para> <variablelist> <varlistentry> <term> &type.string; <parameter>$file</parameter> </term> <listitem> <para> Chemin complet vers le fichier test à exécuter. </para> </listitem> </varlistentry> </variablelist> <variablelist> <varlistentry> <term> &type.string; <parameter>$ini_settings</parameter> </term> <listitem> <para> Configurations supplémentaires personnalisées à passer par la ligne de commande à l'instance PHP utilisée pour tester. Par exemple, demander la désactivation de l'utilisation de php.ini ou un php.ini de test peut être spécifié. Pour une liste complète de configuration possible, tapez : </para> <para> <screen> <![CDATA[ $ php -h ]]> </screen> </para> </listitem> </varlistentry> </variablelist> </para> </refsect1> <refsect1 id="core.ppm.pear-runtest.run.throws"> &title.throws; <para> Aucune exception n'est lançée. </para> </refsect1> <refsect1 id="core.ppm.pear-runtest.run.note"> &title.note; ¬e.notstatic; </refsect1> </refentry>
http://cvs.php.net/viewcvs.cgi/peardoc/fr/core/ppm/pear-runtest/generate-diff.xml?view=markup&rev=1.1 Index: peardoc/fr/core/ppm/pear-runtest/generate-diff.xml +++ peardoc/fr/core/ppm/pear-runtest/generate-diff.xml <!-- $Revision: 1.1 $ --> <!-- EN-Revision: 1.1 Maintainer: yannick Status: ready --> <refentry id="core.ppm.pear-runtest.generate-diff"> <refnamediv> <refname> <function>PEAR_RunTest::generate_diff</function> </refname> <refpurpose>generate_diff</refpurpose> </refnamediv> <refsynopsisdiv> <funcsynopsis> <funcsynopsisinfo>require_once '/RunTest.php';</funcsynopsisinfo> <funcprototype> <funcdef> void <function>PEAR_RunTest::generate_diff</function> </funcdef> <paramdef> string <parameter>$wanted</parameter> </paramdef> <paramdef> string <parameter>$output</parameter> </paramdef> <paramdef> array|false <parameter>$return_value</parameter> </paramdef> </funcprototype> </funcsynopsis> </refsynopsisdiv> <refsect1 id="core.ppm.pear-runtest.generate-diff.desc"> &title.desc; <para> Retourne la différence par ligne entre la sortie attendue (<parameter>$wanted</parameter>) et la sortie actuelle (<parameter>$output</parameter>). De plus, la valeur retournée par le script peut également être testée. Le test peut être effectué en dehors de la fonction <function>generate_diff</function>. Si la valeur retournée correspond à la valeur attendue, &false; est retourné, sinon, un tableau est retourné dont le premier élément est la valeur attendue et le second, la valeur retournée actuelle. </para> </refsect1> <refsect1 id="core.ppm.pear-runtest.generate-diff.param"> &title.param; <para> <variablelist> <varlistentry> <term> &type.string; <parameter>$wanted</parameter> </term> <listitem> <para> Sortie attendue </para> </listitem> </varlistentry> </variablelist> <variablelist> <varlistentry> <term> &type.string; <parameter>$output</parameter> </term> <listitem> <para> Sortie actuelle </para> </listitem> </varlistentry> </variablelist> <variablelist> <varlistentry> <term> &type.array;|&false; <parameter>$return_value</parameter> </term> <listitem> <para> &false; si la valeur retournée est incorrect, sinon, un tableau au format : </para> <para> <programlisting role="php"> <![CDATA[ <?php array( 1, // retour attendu 2, // valeur actuellement retournée ); ?> ]]> </programlisting> </para> </listitem> </varlistentry> </variablelist> </para> </refsect1> <refsect1 id="core.ppm.pear-runtest.generate-diff.throws"> &title.throws; <para> Aucune exception n'est lançée. </para> </refsect1> <refsect1 id="core.ppm.pear-runtest.generate-diff.note"> &title.note; ¬e.notstatic; </refsect1> </refentry> http://cvs.php.net/viewcvs.cgi/peardoc/fr/core/ppm/pear-runtest/pear-runtest.xml?view=markup&rev=1.1 Index: peardoc/fr/core/ppm/pear-runtest/pear-runtest.xml +++ peardoc/fr/core/ppm/pear-runtest/pear-runtest.xml <!-- $Revision: 1.1 $ --> <!-- EN-Revision: 1.1 Maintainer: yannick Status: ready --> <refentry id="core.ppm.pear-runtest.pear-runtest"> <refnamediv> <refname> constructeur <function>PEAR_RunTest::PEAR_RunTest</function> </refname> <refpurpose>Instantiate a PEAR_RunTest object.</refpurpose> </refnamediv> <refsynopsisdiv> <funcsynopsis> <funcsynopsisinfo>require_once '/RunTest.php';</funcsynopsisinfo> <funcprototype> <funcdef> void constructor <function>PEAR_RunTest::PEAR_RunTest</function> </funcdef> <paramdef> PEAR_Common|null <parameter> <optional>$logger = &null;</optional> </parameter> </paramdef> <paramdef> array <parameter> <optional>$options = array()</optional> </parameter> </paramdef> </funcprototype> </funcsynopsis> </refsynopsisdiv> <refsect1 id="core.ppm.pear-runtest.pear-runtest.desc"> &title.desc; <para> Si aucun logger n'est spécifié, un nouvel objet PEAR_Common sera instancié et utilisé pour afficher la sortie à l'écran. </para> </refsect1> <refsect1 id="core.ppm.pear-runtest.pear-runtest.param"> &title.param; <para> <variablelist> <varlistentry> <term> <link linkend="core.ppm.pear-common"><classname>PEAR_Common</classname></link>|&null; <parameter>$logger</parameter> </term> <listitem> <para> Une classe contenant une méthode <function>log</function> correspondant à la signature de <classname>PEAR_Common</classname>. </para> </listitem> </varlistentry> </variablelist> <variablelist> <varlistentry> <term> &type.array; <parameter>$options</parameter> </term> <listitem> <para> Les options actuellement supportées sont <literal>simple</literal> et <literal>quiet</literal>. L'option <literal>simple</literal> fait que le test affiche simplement le titre du test et non le chemin complet du fichier de test. L'option <literal>quiet</literal> fait que toutes les erreurs des tests seront affichées. </para> </listitem> </varlistentry> </variablelist> </para> </refsect1> <refsect1 id="core.ppm.pear-runtest.pear-runtest.throws"> &title.throws; <para> Aucune exception n'est lançée. </para> </refsect1> <refsect1 id="core.ppm.pear-runtest.pear-runtest.note"> &title.note; ¬e.notstatic; </refsect1> </refentry> http://cvs.php.net/viewcvs.cgi/peardoc/fr/core/ppm/pear-runtest/run.xml?view=markup&rev=1.1 Index: peardoc/fr/core/ppm/pear-runtest/run.xml +++ peardoc/fr/core/ppm/pear-runtest/run.xml <!-- $Revision: 1.1 $ --> <!-- EN-Revision: 1.1 Maintainer: yannick Status: ready --> <refentry id="core.ppm.pear-runtest.run"> <refnamediv> <refname> <function>PEAR_RunTest::run</function> </refname> <refpurpose>run</refpurpose> </refnamediv> <refsynopsisdiv> <funcsynopsis> <funcsynopsisinfo>require_once '/RunTest.php';</funcsynopsisinfo> <funcprototype> <funcdef> string|PEAR_Error <function>PEAR_RunTest::run</function> </funcdef> <paramdef> string <parameter>$file</parameter> </paramdef> <paramdef> string <parameter> <optional>$ini_settings = ''</optional> </parameter> </paramdef> </funcprototype> </funcsynopsis> </refsynopsisdiv> <refsect1 id="core.ppm.pear-runtest.run.desc"> &title.desc; <para> Effectue un seul test. La valeur retournée est une parmis : </para> <para> <itemizedlist> <listitem> <para> <literal>PASSED</literal> </para> </listitem> <listitem> <para> <literal>SKIPPED</literal> </para> </listitem> <listitem> <para> <literal>WARNED</literal> </para> </listitem> <listitem> <para> <literal>FAILED</literal> </para> </listitem> </itemizedlist> </para> </refsect1> <refsect1 id="core.ppm.pear-runtest.run.param"> &title.param; <para> <variablelist> <varlistentry> <term> &type.string; <parameter>$file</parameter> </term> <listitem> <para> Chemin complet vers le fichier test à exécuter. </para> </listitem> </varlistentry> </variablelist> <variablelist> <varlistentry> <term> &type.string; <parameter>$ini_settings</parameter> </term> <listitem> <para> Configurations supplémentaires personnalisées à passer par la ligne de commande à l'instance PHP utilisée pour tester. Par exemple, demander la désactivation de l'utilisation de php.ini ou un php.ini de test peut être spécifié. Pour une liste complète de configuration possible, tapez : </para> <para> <screen> <![CDATA[ $ php -h ]]> </screen> </para> </listitem> </varlistentry> </variablelist> </para> </refsect1> <refsect1 id="core.ppm.pear-runtest.run.throws"> &title.throws; <para> Aucune exception n'est lançée. </para> </refsect1> <refsect1 id="core.ppm.pear-runtest.run.note"> &title.note; ¬e.notstatic; </refsect1> </refentry>