cvs: pear /PHPUnit/Framework TestSuite.php
| From: | Sebastian Bergmann | Date: | Thu, 18 Mar 2004 10:37:59 +0000 |
| Subject: | cvs: pear /PHPUnit/Framework TestSuite.php | ||
| Groups: | php.pear.cvs | ||
| Request: | Send a blank email to pear-cvs+get-17498@lists.php.net to get a copy of this message | ||
sebastian Thu Mar 18 05:37:59 2004 EDT
Modified files:
/pear/PHPUnit/Framework TestSuite.php
Log:
More meaningful documentation for __construct().
http://cvs.php.net/diff.php/pear/PHPUnit/Framework/TestSuite.php?r1=1.15&r2=1.16&ty=u
Index: pear/PHPUnit/Framework/TestSuite.php
diff -u pear/PHPUnit/Framework/TestSuite.php:1.15 pear/PHPUnit/Framework/TestSuite.php:1.16
--- pear/PHPUnit/Framework/TestSuite.php:1.15 Mon Mar 15 02:30:22 2004
+++ pear/PHPUnit/Framework/TestSuite.php Thu Mar 18 05:37:56 2004
@@ -12,7 +12,7 @@
// | license@php.net so we can mail you a copy immediately. |
// +------------------------------------------------------------------------+
//
-// $Id: TestSuite.php,v 1.15 2004/03/15 07:30:22 sebastian Exp $
+// $Id: TestSuite.php,v 1.16 2004/03/18 10:37:56 sebastian Exp $
//
require_once 'PHPUnit/Framework/Test.php';
@@ -62,7 +62,19 @@
// {{{ public function __construct($theClass = '', $name = '')
/**
- * Constructs a TestSuite.
+ * Constructs a new TestSuite:
+ *
+ * - PHPUnit_Framework_TestSuite() constructs an empty TestSuite.
+ *
+ * - PHPUnit_Framework_TestSuite(Reflection_Class) constructs a
+ * TestSuite from the given class.
+ *
+ * - PHPUnit_Framework_TestSuite(Reflection_Class, String)
+ * constructs a TestSuite from the given class with the given
+ * name.
+ *
+ * - PHPUnit_Framework_TestSuite(String) constructs an empty
+ * TestSuite with the given name.
*
* @param optional mixed $theClass
* @param optional string $name