[limb-svn] r5974 - in 3.x/trunk/limb/tests_runner/tests: . cases

svn at limb-project.com svn at limb-project.com
Fri Jun 8 18:02:24 MSD 2007


Author: pachanga
Date: 2007-06-08 18:02:24 +0400 (Fri, 08 Jun 2007)
New Revision: 5974
URL: http://fisheye.limb-project.com/changelog/limb/?cs=5974

Modified:
   3.x/trunk/limb/tests_runner/tests/cases/lmbTestTreeTest.class.php
   3.x/trunk/limb/tests_runner/tests/test_self.php
Log:
-- test_self.php now can optionally accept path to external SimpleTest library, very useful for testing new changes in SimpleTest
-- ignoring MockTestGroup in lmbTestTreeTest, this raises issues with new mocks implementation in SimpleTest

Modified: 3.x/trunk/limb/tests_runner/tests/cases/lmbTestTreeTest.class.php
===================================================================
--- 3.x/trunk/limb/tests_runner/tests/cases/lmbTestTreeTest.class.php	2007-06-08 11:47:59 UTC (rev 5973)
+++ 3.x/trunk/limb/tests_runner/tests/cases/lmbTestTreeTest.class.php	2007-06-08 14:02:24 UTC (rev 5974)
@@ -1,10 +1,10 @@
 <?php
-/*
- * Limb PHP Framework
- *
- * @link http://limb-project.com 
- * @copyright  Copyright &copy; 2004-2007 BIT(http://bit-creative.com)
- * @license    LGPL http://www.gnu.org/copyleft/lesser.html 
+/*
+ * Limb PHP Framework
+ *
+ * @link http://limb-project.com
+ * @copyright  Copyright &copy; 2004-2007 BIT(http://bit-creative.com)
+ * @license    LGPL http://www.gnu.org/copyleft/lesser.html
  */
 require_once(dirname(__FILE__) . '/../../src/lmbTestTree.class.php');
 require_once(dirname(__FILE__) . '/../../src/lmbTestTreeDirNode.class.php');
@@ -13,6 +13,8 @@
 Mock :: generate('lmbTestTreeDirNode', 'MockTestTreeNode');
 Mock :: generate('lmbTestGroup', 'MockTestGroup');
 
+SimpleTest :: ignore('MockTestGroup');
+
 class lmbTestTreeTest extends UnitTestCase
 {
   function testPerform()

Modified: 3.x/trunk/limb/tests_runner/tests/test_self.php
===================================================================
--- 3.x/trunk/limb/tests_runner/tests/test_self.php	2007-06-08 11:47:59 UTC (rev 5973)
+++ 3.x/trunk/limb/tests_runner/tests/test_self.php	2007-06-08 14:02:24 UTC (rev 5974)
@@ -1,14 +1,18 @@
 <?php
-/*
- * Limb PHP Framework
- *
- * @link http://limb-project.com 
- * @copyright  Copyright &copy; 2004-2007 BIT(http://bit-creative.com)
- * @license    LGPL http://www.gnu.org/copyleft/lesser.html 
+/*
+ * Limb PHP Framework
+ *
+ * @link http://limb-project.com
+ * @copyright  Copyright &copy; 2004-2007 BIT(http://bit-creative.com)
+ * @license    LGPL http://www.gnu.org/copyleft/lesser.html
  */
+
+if(isset($argv[1]))
+  define('SIMPLE_TEST', $argv[1]);
+
 require_once(dirname(__FILE__) . '/cases/.init.php');
 
-$group = new GroupTest();
+$group = new TestSuite();
 foreach(glob(dirname(__FILE__) . '/cases/*Test.class.php') as $file)
   $group->addTestFile($file);
 



More information about the limb-svn mailing list