| [ Index ] |
PHP Cross Reference of Limb3 |
[Summary view] [Print] [Text view]
1 <?php 2 /* 3 * Limb PHP Framework 4 * 5 * @link http://limb-project.com 6 * @copyright Copyright © 2004-2007 BIT(http://bit-creative.com) 7 * @license LGPL http://www.gnu.org/copyleft/lesser.html 8 */ 9 10 /** 11 * class lmbTestGroup. 12 * 13 * @package tests_runner 14 * @version $Id: lmbTestGroup.class.php 5945 2007-06-06 08:31:43Z pachanga $ 15 */ 16 class lmbTestGroup extends TestSuite 17 { 18 protected $_fixture; 19 protected $_container = array(); 20 21 function useFixture($fixture) 22 { 23 $this->_fixture = $fixture; 24 } 25 26 function run($reporter) 27 { 28 $this->_setUpFixture(); 29 30 $res = parent :: run($reporter); 31 32 $this->_tearDownFixture(); 33 34 return $res; 35 } 36 37 protected function _setUpFixture() 38 { 39 if($this->_fixture) 40 $this->_fixture->setUp(); 41 } 42 43 protected function _tearDownFixture() 44 { 45 if($this->_fixture) 46 $this->_fixture->tearDown(); 47 } 48 } 49 ?>
title
Description
Body
title
Description
Body
title
Description
Body
title
Body
| Generated: Mon Dec 1 03:56:46 2008 | Cross-referenced by PHPXref 0.7 |