[ Index ]

PHP Cross Reference of Akelos Framework

title

Body

[close]

/utils/generators/scaffold/templates/ -> model_unit_test.tpl (source)

   1  <?php  echo '<?php'?>
   2  
   3  // To run this test calling ./script/test unit/app/models/<?php  echo AkInflector::underscore($model_name); ?>
   4  // More about testing at http://wiki.akelos.org/testing-guide
   5  
   6  class <?php  echo $model_name?>TestCase extends AkUnitTest
   7  {
   8      function test_setup()
   9      {
  10          $this->installAndIncludeModels('<?php  echo $model_name?>');
  11      }
  12      
  13      function test_<?php  echo $model_name?>()
  14      {
  15          $this->assertTrue(false,'Unit test for <?php  echo $model_name?> not implemented');
  16      }
  17  }
  18  
  19  ?>


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