[limb-svn] r7005 - 3.x/trunk/limb/core/tests/cases

svn at limb-project.com svn at limb-project.com
Mon May 12 11:33:46 MSD 2008


Author: serega
Date: 2008-05-12 11:33:46 +0400 (Mon, 12 May 2008)
New Revision: 7005
URL: http://fisheye.limb-project.com/changelog/limb/?cs=7005

Modified:
   3.x/trunk/limb/core/tests/cases/lmbObjectTest.class.php
Log:
-- added one more extra test for new lmbObject functionality. Just to be sure.


Modified: 3.x/trunk/limb/core/tests/cases/lmbObjectTest.class.php
===================================================================
--- 3.x/trunk/limb/core/tests/cases/lmbObjectTest.class.php	2008-05-12 06:24:50 UTC (rev 7004)
+++ 3.x/trunk/limb/core/tests/cases/lmbObjectTest.class.php	2008-05-12 07:33:46 UTC (rev 7005)
@@ -382,7 +382,7 @@
     $this->assertEqual($obj->getter_called_count, 1);    
   }  
   
-  function _testAccessByMethodForProtectedPropertiesSeveralTimes()
+  function testAccessByMethodForProtectedPropertiesSeveralTimes()
   {
     $obj = new ObjectTestVersion3();
     $obj->protected = 'value1';
@@ -400,7 +400,7 @@
     $obj->set('protected', 'value1');
     $obj->set('protected', 'value2');
     $this->assertEqual($obj->setter_called_count, 2);
-    $this->assertEqual($obj->get('protected'), 'value1');
+    $this->assertEqual($obj->get('protected'), 'value2');
   }
 }
 



More information about the limb-svn mailing list