| [ Index ] |
PHP Cross Reference of Web Application Component Toolkit |
[Summary view] [Print] [Text view]
1 <?php 2 /** 3 * @package WACT_TESTS 4 * @version $Id: phpnode.test.php,v 1.4 2004/11/12 21:25:15 jeffmoore Exp $ 5 */ 6 /** 7 * Includes 8 */ 9 require_once TEST_CASES . '/template/compiler/compilerdirectivetag.test.php'; 10 require_once WACT_ROOT . 'template/compiler/phpnode.inc.php'; 11 12 /** 13 * @package WACT_TESTS 14 */ 15 class PHPNodeTestCase extends CompilerDirectiveTagTestCase { 16 function PHPNodeTestCase($name = 'PHPNode test cases') { 17 parent::CompilerDirectiveTagTestCase($name); 18 } 19 function setUp() { 20 $this->component = & new PHPNode('test'); 21 } 22 function tearDown() { 23 unset ( $this->component ); 24 parent::tearDown(); 25 } 26 function testGenerate() { 27 // BAD TEST: see bug #896626 28 $MockCode = & new MockCodeWriter($this); 29 $MockCode->expectOnce('writePHP',array('test')); 30 } 31 } 32 ?>
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 |