| [ Index ] |
PHP Cross Reference of Web Application Component Toolkit |
[Summary view] [Print] [Text view]
1 <?php 2 /** 3 * @package WACT_TESTS 4 * @version $Id: constant.test.php,v 1.2 2004/11/12 21:25:16 jeffmoore Exp $ 5 */ 6 /** 7 * Includes 8 */ 9 10 require_once WACT_ROOT . 'template/compiler/templatecompiler.inc.php'; 11 12 /** 13 * @package WACT_TESTS 14 */ 15 class ConstantPropertyTestCase extends UnitTestCase { 16 function ExpressionTestCase($name = 'Expression test cases') { 17 parent::UnitTestCase($name); 18 } 19 20 function setUp() { 21 } 22 23 function tearDown() { 24 } 25 26 function testGetValue() { 27 $property =& new ConstantProperty('value'); 28 $this->assertIdentical($property->getValue(), 'value'); 29 } 30 31 function testIsConnstant() { 32 $property =& new ConstantProperty('value'); 33 $this->assertIdentical($property->isConstant(), TRUE); 34 } 35 36 } 37 38 ?>
title
Description
Body
title
Description
Body
title
Description
Body
title
Body
| Generated: Sun Nov 28 19:36:09 2004 | Cross-referenced by PHPXref 0.5 |