cvs: pear /PhpDocumentor/tests AllTests.php HighlightParserGetInlineTagsTests.php IntermediateParserAddPrivatePageTests.php
ParserClassGetSourceLocationTests.php ParserPageGetSourceLocationTests.php phpDocumentorSetupCleanConverterNamePieceTests.php
phpDocumentorSetupDecideOnOrOffTests.php phpDocumentorTParserGetInlineTagsTests.php
| From: | Chuck Burgess | Date: | Tue, 28 Aug 2007 20:13:39 +0000 |
| Subject: | cvs: pear /PhpDocumentor/tests AllTests.php HighlightParserGetInlineTagsTests.php IntermediateParserAddPrivatePageTests.php ParserClassGetSourceLocationTests.php ParserPageGetSourceLocationTests.php phpDocumentorSetupCleanConverterNamePieceTests.php phpDocumentorSetupDecideOnOrOffTests.php phpDocumentorTParserGetInlineTagsTests.php |
||
| Groups: | php.pear.cvs | ||
| Request: | Send a blank email to pear-cvs+get-48510@lists.php.net to get a copy of this message | ||
ashnazg Tue Aug 28 20:13:39 2007 UTC
Modified files:
/pear/PhpDocumentor/tests AllTests.php
HighlightParserGetInlineTagsTests.php
IntermediateParserAddPrivatePageTests.php
ParserClassGetSourceLocationTests.php
ParserPageGetSourceLocationTests.php
phpDocumentorSetupCleanConverterNamePieceTests.php
phpDocumentorSetupDecideOnOrOffTests.php
phpDocumentorTParserGetInlineTagsTests.php
Log:
ensure each and every testcase file and testsuite file can be run standalone, from any directory;
http://cvs.php.net/viewvc.cgi/pear/PhpDocumentor/tests/AllTests.php?r1=1.2&r2=1.3&diff_format=u
Index: pear/PhpDocumentor/tests/AllTests.php
diff -u pear/PhpDocumentor/tests/AllTests.php:1.2 pear/PhpDocumentor/tests/AllTests.php:1.3
--- pear/PhpDocumentor/tests/AllTests.php:1.2 Tue Aug 28 15:44:12 2007
+++ pear/PhpDocumentor/tests/AllTests.php Tue Aug 28 20:13:38 2007
@@ -15,7 +15,7 @@
* @subpackage UnitTesting
* @author Chuck Burgess <ashnazg@php.net>
* @license http://www.opensource.org/licenses/lgpl-license.php
LGPL
- * @version CVS: $Id: AllTests.php,v 1.2 2007/08/28 15:44:12 ashnazg Exp $
+ * @version CVS: $Id: AllTests.php,v 1.3 2007/08/28 20:13:38 ashnazg Exp $
* @link http://pear.php.net/PhpDocumentor
* @since 1.4.0a2
*/
@@ -59,15 +59,6 @@
/**
- * Base directory of code being PhpDoc'd
- *
- * Needed by some of the objects being tested in the suites
- * @since 1.4.0a2
- */
-define("PHPDOCUMENTOR_BASE", '.');
-
-
-/**
* Master Unit Test Suite class for PhpDocumentor
*
* This top-level test suite class organizes
http://cvs.php.net/viewvc.cgi/pear/PhpDocumentor/tests/HighlightParserGetInlineTagsTests.php?r1=1.1&r2=1.2&diff_format=u
Index: pear/PhpDocumentor/tests/HighlightParserGetInlineTagsTests.php
diff -u pear/PhpDocumentor/tests/HighlightParserGetInlineTagsTests.php:1.1
pear/PhpDocumentor/tests/HighlightParserGetInlineTagsTests.php:1.2
--- pear/PhpDocumentor/tests/HighlightParserGetInlineTagsTests.php:1.1 Sun Aug 5 03:05:51 2007
+++ pear/PhpDocumentor/tests/HighlightParserGetInlineTagsTests.php Tue Aug 28 20:13:38 2007
@@ -32,6 +32,17 @@
require_once "PHPUnit/Framework/TestSuite.php";
/**
+ * Base directory of code
+ *
+ * Needed by some of the objects being tested in the suites.
+ * @since 1.4.1
+ */
+chdir(dirname(dirname(__FILE__)));
+if (!defined("PHPDOCUMENTOR_BASE")) {
+ define("PHPDOCUMENTOR_BASE", dirname(dirname(__FILE__)));
+}
+
+/**
* PhpDocumentor Setup
*
* required by PhpDocumentor to instantiate the environment
http://cvs.php.net/viewvc.cgi/pear/PhpDocumentor/tests/IntermediateParserAddPrivatePageTests.php?r1=1.2&r2=1.3&diff_format=u
Index: pear/PhpDocumentor/tests/IntermediateParserAddPrivatePageTests.php
diff -u pear/PhpDocumentor/tests/IntermediateParserAddPrivatePageTests.php:1.2
pear/PhpDocumentor/tests/IntermediateParserAddPrivatePageTests.php:1.3
--- pear/PhpDocumentor/tests/IntermediateParserAddPrivatePageTests.php:1.2 Wed Aug 8 08:11:23 2007
+++ pear/PhpDocumentor/tests/IntermediateParserAddPrivatePageTests.php Tue Aug 28 20:13:38 2007
@@ -32,6 +32,17 @@
require_once "PHPUnit/Framework/TestSuite.php";
/**
+ * Base directory of code
+ *
+ * Needed by some of the objects being tested in the suites.
+ * @since 1.4.1
+ */
+chdir(dirname(dirname(__FILE__)));
+if (!defined("PHPDOCUMENTOR_BASE")) {
+ define("PHPDOCUMENTOR_BASE", dirname(dirname(__FILE__)));
+}
+
+/**
* PhpDocumentor Setup
*
* required by PhpDocumentor to instantiate the environment
http://cvs.php.net/viewvc.cgi/pear/PhpDocumentor/tests/ParserClassGetSourceLocationTests.php?r1=1.1&r2=1.2&diff_format=u
Index: pear/PhpDocumentor/tests/ParserClassGetSourceLocationTests.php
diff -u pear/PhpDocumentor/tests/ParserClassGetSourceLocationTests.php:1.1
pear/PhpDocumentor/tests/ParserClassGetSourceLocationTests.php:1.2
--- pear/PhpDocumentor/tests/ParserClassGetSourceLocationTests.php:1.1 Sun Aug 5 03:05:51 2007
+++ pear/PhpDocumentor/tests/ParserClassGetSourceLocationTests.php Tue Aug 28 20:13:38 2007
@@ -39,6 +39,17 @@
require_once "PHPUnit/Framework/TestSuite.php";
/**
+ * Base directory of code
+ *
+ * Needed by some of the objects being tested in the suites.
+ * @since 1.4.1
+ */
+chdir(dirname(dirname(__FILE__)));
+if (!defined("PHPDOCUMENTOR_BASE")) {
+ define("PHPDOCUMENTOR_BASE", dirname(dirname(__FILE__)));
+}
+
+/**
* PhpDocumentor Setup
*
* required by PhpDocumentor to instantiate the environment
http://cvs.php.net/viewvc.cgi/pear/PhpDocumentor/tests/ParserPageGetSourceLocationTests.php?r1=1.1&r2=1.2&diff_format=u
Index: pear/PhpDocumentor/tests/ParserPageGetSourceLocationTests.php
diff -u pear/PhpDocumentor/tests/ParserPageGetSourceLocationTests.php:1.1
pear/PhpDocumentor/tests/ParserPageGetSourceLocationTests.php:1.2
--- pear/PhpDocumentor/tests/ParserPageGetSourceLocationTests.php:1.1 Sun Aug 5 03:05:51 2007
+++ pear/PhpDocumentor/tests/ParserPageGetSourceLocationTests.php Tue Aug 28 20:13:38 2007
@@ -39,6 +39,17 @@
require_once "PHPUnit/Framework/TestSuite.php";
/**
+ * Base directory of code
+ *
+ * Needed by some of the objects being tested in the suites.
+ * @since 1.4.1
+ */
+chdir(dirname(dirname(__FILE__)));
+if (!defined("PHPDOCUMENTOR_BASE")) {
+ define("PHPDOCUMENTOR_BASE", dirname(dirname(__FILE__)));
+}
+
+/**
* PhpDocumentor Setup
*
* required by PhpDocumentor to instantiate the environment
http://cvs.php.net/viewvc.cgi/pear/PhpDocumentor/tests/phpDocumentorSetupCleanConverterNamePieceTests.php?r1=1.1&r2=1.2&diff_format=u
Index: pear/PhpDocumentor/tests/phpDocumentorSetupCleanConverterNamePieceTests.php
diff -u pear/PhpDocumentor/tests/phpDocumentorSetupCleanConverterNamePieceTests.php:1.1
pear/PhpDocumentor/tests/phpDocumentorSetupCleanConverterNamePieceTests.php:1.2
--- pear/PhpDocumentor/tests/phpDocumentorSetupCleanConverterNamePieceTests.php:1.1 Sun Aug 5
03:05:51 2007
+++ pear/PhpDocumentor/tests/phpDocumentorSetupCleanConverterNamePieceTests.php Tue Aug 28 20:13:38
2007
@@ -32,6 +32,17 @@
require_once "PHPUnit/Framework/TestSuite.php";
/**
+ * Base directory of code
+ *
+ * Needed by some of the objects being tested in the suites.
+ * @since 1.4.1
+ */
+chdir(dirname(dirname(__FILE__)));
+if (!defined("PHPDOCUMENTOR_BASE")) {
+ define("PHPDOCUMENTOR_BASE", dirname(dirname(__FILE__)));
+}
+
+/**
* PhpDocumentor Setup
*
* required by PhpDocumentor to instantiate the environment
http://cvs.php.net/viewvc.cgi/pear/PhpDocumentor/tests/phpDocumentorSetupDecideOnOrOffTests.php?r1=1.1&r2=1.2&diff_format=u
Index: pear/PhpDocumentor/tests/phpDocumentorSetupDecideOnOrOffTests.php
diff -u pear/PhpDocumentor/tests/phpDocumentorSetupDecideOnOrOffTests.php:1.1
pear/PhpDocumentor/tests/phpDocumentorSetupDecideOnOrOffTests.php:1.2
--- pear/PhpDocumentor/tests/phpDocumentorSetupDecideOnOrOffTests.php:1.1 Sun Aug 5 03:05:51 2007
+++ pear/PhpDocumentor/tests/phpDocumentorSetupDecideOnOrOffTests.php Tue Aug 28 20:13:38 2007
@@ -32,6 +32,17 @@
require_once "PHPUnit/Framework/TestSuite.php";
/**
+ * Base directory of code
+ *
+ * Needed by some of the objects being tested in the suites.
+ * @since 1.4.1
+ */
+chdir(dirname(dirname(__FILE__)));
+if (!defined("PHPDOCUMENTOR_BASE")) {
+ define("PHPDOCUMENTOR_BASE", dirname(dirname(__FILE__)));
+}
+
+/**
* PhpDocumentor Setup
*
* required by PhpDocumentor to instantiate the environment
http://cvs.php.net/viewvc.cgi/pear/PhpDocumentor/tests/phpDocumentorTParserGetInlineTagsTests.php?r1=1.1&r2=1.2&diff_format=u
Index: pear/PhpDocumentor/tests/phpDocumentorTParserGetInlineTagsTests.php
diff -u pear/PhpDocumentor/tests/phpDocumentorTParserGetInlineTagsTests.php:1.1
pear/PhpDocumentor/tests/phpDocumentorTParserGetInlineTagsTests.php:1.2
--- pear/PhpDocumentor/tests/phpDocumentorTParserGetInlineTagsTests.php:1.1 Sun Aug 5 03:05:51 2007
+++ pear/PhpDocumentor/tests/phpDocumentorTParserGetInlineTagsTests.php Tue Aug 28 20:13:38 2007
@@ -32,6 +32,17 @@
require_once "PHPUnit/Framework/TestSuite.php";
/**
+ * Base directory of code
+ *
+ * Needed by some of the objects being tested in the suites.
+ * @since 1.4.1
+ */
+chdir(dirname(dirname(__FILE__)));
+if (!defined("PHPDOCUMENTOR_BASE")) {
+ define("PHPDOCUMENTOR_BASE", dirname(dirname(__FILE__)));
+}
+
+/**
* PhpDocumentor Setup
*
* required by PhpDocumentor to instantiate the environment