cvs: peardoc /peardoc2/en/package/php/phpunit/testcase counttestcases.xml
| From: | Arnaud Limbourg | Date: | Sat, 30 Nov 2002 18:16:49 +0000 |
| Subject: | cvs: peardoc /peardoc2/en/package/php/phpunit/testcase counttestcases.xml | ||
| Groups: | php.pear.doc | ||
| Request: | Send a blank email to pear-doc+get-88@lists.php.net to get a copy of this message | ||
arnaud Sat Nov 30 13:16:49 2002 EDT
Added files:
/peardoc/peardoc2/en/package/php/phpunit/testcase
counttestcases.xml
Log:
* counttestcases file
Index: peardoc/peardoc2/en/package/php/phpunit/testcase/counttestcases.xml
+++ peardoc/peardoc2/en/package/php/phpunit/testcase/counttestcases.xml
<!-- $Revision: 1.1 $ -->
<refentry id="package.php.phpunit.testcase.counttestcases">
<refnamediv>
<refname>PHPUnit_TestCase::countTestCases()</refname>
<refpurpose>Counts the number of test cases executed by run(TestResult
result)</refpurpose>
</refnamediv>
<refsynopsisdiv>
<funcsynopsis>
<funcsynopsisinfo>
require_once 'PHPUnit/TestCase.php';
</funcsynopsisinfo>
<funcprototype>
<funcdef>string
<function>TestCase::countTestCases</function></funcdef>
</funcprototype>
</funcsynopsis>
</refsynopsisdiv>
<refsect1 id="package.php.phpunit.testcase.counttestcases.desc">
&title.desc;
<para>
Counts the number of test cases executed by run(TestResult result)
</para>
</refsect1>
</para>
</refsect1>
<refsect1 id="package.php.phpunit.testcase.counttestcases.return">
&title.returns;
<para>
<parameter>int</parameter> - 1
</para>
</refsect1>
<refsect1 id="package.php.phpunit.testcase.counttestcases.example">
&title.example;
<example>
<title>Using <function>countTestCases</function></title>
<programlisting role="php">
<![CDATA[
<?php
require_once "PHPUnit/TestCase.php"
$tests_count = PHPUnit_TestCase::countTestCases();
echo $$tests_count;
?>
]]>
</programlisting>
</example>
</refsect1>
</refentry>
<!-- Keep this comment at the end of the file
Local variables:
mode: sgml
sgml-omittag:t
sgml-shorttag:t
sgml-minimize-attributes:nil
sgml-always-quote-attributes:t
sgml-indent-step:1
sgml-indent-data:t
sgml-parent-document:nil
sgml-default-dtd-file:"../../../../manual.ced"
sgml-exposed-tags:nil
sgml-local-catalogs:nil
sgml-local-ecat-files:nil
End:
vim600: syn=xml fen fdm=syntax fdl=2 si
vim: et tw=78 syn=sgml
vi: ts=1 sw=1
-->