| [ Index ] |
PHP Cross Reference of Akelos Framework |
[Summary view] [Print] [Text view]
1 <?php echo '<?php'?> 2 3 4 // Unit test for <?php echo $plural_name?>. (Testing docs at http://wiki.akelos.org/testing-guide) 5 // Run this test with the command 6 // ./script/test model <?php echo $model_name?> 7 8 9 class <?php echo $model_name?>TestCase extends AkUnitTest 10 { 11 <?php 12 echo !empty($module_preffix) ? ' var $module = \''.trim($module_preffix,DS).'\';' : '' 13 ?> 14 15 function test_setup() 16 { 17 $this->installAndIncludeModels('<?php echo $model_name?>'); 18 } 19 20 function test_should_be_added() 21 { 22 // An instance of <?php echo $model_name?> model is available at 23 // $this-><?php echo $model_name; ?> 24 25 $this->assertTrue(false); 26 } 27 } 28 29 30 ?>
title
Description
Body
title
Description
Body
title
Description
Body
title
Body
| Generated: Mon Oct 27 12:43:49 2008 | Cross-referenced by PHPXref 0.6 |