cvs: peardoc /ja/package/php/phpunit testcase.xml
| From: | Rui Hirokawa | Date: | Sat, 05 Apr 2003 05:40:31 +0000 |
| Subject: | cvs: peardoc /ja/package/php/phpunit testcase.xml | ||
| Groups: | php.pear.doc | ||
| Request: | Send a blank email to pear-doc+get-606@lists.php.net to get a copy of this message | ||
hirokawa Sat Apr 5 00:40:31 2003 EDT
Modified files:
/peardoc/ja/package/php/phpunit testcase.xml
Log:
added phpunit/*.xml
Index: peardoc/ja/package/php/phpunit/testcase.xml
diff -u peardoc/ja/package/php/phpunit/testcase.xml:1.1
peardoc/ja/package/php/phpunit/testcase.xml:1.2
--- peardoc/ja/package/php/phpunit/testcase.xml:1.1 Sat Apr 5 00:31:39 2003
+++ peardoc/ja/package/php/phpunit/testcase.xml Sat Apr 5 00:40:31 2003
@@ -1,24 +1,24 @@
<refentry id="package.php.phpunit.testcase">
- <refnamediv>
- <refname><classname>TestCase</classname></refname>
- <refpurpose>A TestCase defines the fixture to run multiple tests.</refpurpose>
- </refnamediv>
- <refsect1 id="package.php.phpunit.testcase.desc">
- &title.desc;
- <para>
- &class.testcase;
- To define a TestCase
-
- 1) Implement a subclass of PHPUnit_TestCase.
- 2) Define instance variables that store the state of the fixture.
- 3) Initialize the fixture state by overriding setUp().
- 4) Clean-up after a test by overriding tearDown().
-
- Each test runs in its own fixture so there can be no side effects
- among test runs.
- </para>
- </refsect1>
- </refentry>
+ <refnamediv>
+ <refname><classname>TestCase</classname></refname>
+ <refpurpose>TestCase:
è¤æ°ã®ãã¹ããå®è¡ããããã®è¨å(fixture)ãå®ç¾©ãã</refpurpose>
+ </refnamediv>
+ <refsect1 id="package.php.phpunit.testcase.desc">
+ &title.desc;
+ <para>
+ &class.testcase;
+ TestCaseãå®ç¾©ããæé ï¼
+
+ 1)
PHPUnit_TestCaseã®ãµãã¯ã©ã¹ãå®è£
ãã¾ãã
+ 2)
è¨åã®ç¶æ
ãä¿åããã¤ã³ã¹ã¿ã³ã¹å¤æ°ãå®ç¾©ãã¾ãã
+ 3)
setUp()ããªã¼ãã¼ã©ã¤ããããã¨ã«ããè¨åã®ç¶æ
ãåæåãã¾ãã
+ 4)
tearDown()ã䏿¸ããããã¨ã«ãããã¹ãå¾ã®æ¸
æãè¡ãã¾ãã
+
+
åãã¹ãã¯ãåèªã®è¨åã«ããã¦å®è¡ãããããããã¹ãã®å®è¡ã«ããå¯
+ ä½ç¨ã¯ããã¾ããã
+ </para>
+ </refsect1>
+</refentry>
&package.php.phpunit.testcase.example;
&package.php.phpunit.testcase.counttestcases;