[ Index ]

PHP Cross Reference of Limb3

title

Body

[close]

/wact/tests/cases/compiler/property/ -> WactConstantPropertyTest.class.php (source)

   1  <?php
   2  /*
   3   * Limb PHP Framework
   4   *
   5   * @link http://limb-project.com 
   6   * @copyright  Copyright &copy; 2004-2007 BIT(http://bit-creative.com)
   7   * @license    LGPL http://www.gnu.org/copyleft/lesser.html 
   8   */
   9  
  10  require_once 'limb/wact/src/compiler/templatecompiler.inc.php';
  11  
  12  class WactConstantPropertyTest extends UnitTestCase
  13  {
  14    function testGetValue()
  15    {
  16      $property = new WactConstantProperty('value');
  17      $this->assertIdentical($property->getValue(), 'value');
  18    }
  19  
  20    function testIsConnstant()
  21    {
  22      $property = new WactConstantProperty('value');
  23      $this->assertIdentical($property->isConstant(), TRUE);
  24    }
  25  }
  26  
  27  ?>


Generated: Thu Jan 8 04:06:23 2009 Cross-referenced by PHPXref 0.7