[ Index ]

PHP Cross Reference of Akelos Framework

title

Body

[close]

/utils/generators/model/templates/ -> unit_test.tpl (source)

   1  <?php  echo '<?php'?>
   2  
   3  
   4  // Unit test for <?php  echo $class_name?>. (Testing docs at http://wiki.akelos.org/testing-guide)
   5  // Run this test with the command
   6  //  ./script/test model <?php  echo $class_name?>
   7  
   8  
   9  class <?php  echo $class_name?>TestCase extends  AkUnitTest
  10  {
  11  
  12      function test_setup()
  13      {
  14          $this->installAndIncludeModels('<?php  echo $class_name?>');
  15      }
  16      
  17      function test_should_be_added()
  18      {
  19          // An instance of <?php  echo $class_name?> model is available at 
  20          // $this-><?php  echo $class_name; ?>
  21          
  22          $this->assertTrue(false);
  23      }
  24  }
  25  
  26  
  27  ?>


Generated: Mon Oct 27 12:43:49 2008 Cross-referenced by PHPXref 0.6