[ Index ]

PHP Cross Reference of Limb3

title

Body

[close]

/dbal/tests/cases/non-driver/criteria/ -> lmbSQLFalseCriteriaTest.class.php (source)

   1  <?php
   2  /*
   3   * Limb PHP Framework
   4   *
   5   * @link http://limb-project.com 
   6   * @copyright  Copyright &copy; 2004-2007 BIT(http://bit-creative.com)
   7   * @license    LGPL http://www.gnu.org/copyleft/lesser.html 
   8   */
   9  lmb_require('limb/dbal/src/criteria/lmbSQLFalseCriteria.class.php');
  10  
  11  class lmbSQLFalseCriteriaTest extends UnitTestCase
  12  {
  13    function testAppendStatementTo()
  14    {
  15      $c = new lmbSQLFalseCriteria();
  16  
  17      $str = '';
  18      $c->appendStatementTo($str);
  19      $this->assertEqual($str, '1 = 0');
  20    }
  21  }
  22  
  23  ?>


Generated: Sat Nov 22 03:48:54 2008 Cross-referenced by PHPXref 0.7