- Registro, activación y entrada de usuarios git-svn-id: https://192.168.0.254/svn/Rodax.factuges_web/trunk@2 e455b18d-f7fe-5245-9c43-e2c35af70a32
33 lines
984 B
PHP
33 lines
984 B
PHP
<?php
|
|
/**
|
|
* This file contains the CTestCase class.
|
|
*
|
|
* @author Qiang Xue <qiang.xue@gmail.com>
|
|
* @link http://www.yiiframework.com/
|
|
* @copyright Copyright © 2008-2011 Yii Software LLC
|
|
* @license http://www.yiiframework.com/license/
|
|
*/
|
|
|
|
require_once('PHPUnit/Runner/Version.php');
|
|
require_once('PHPUnit/Util/Filesystem.php'); // workaround for PHPUnit <= 3.6.11
|
|
|
|
spl_autoload_unregister(array('YiiBase','autoload'));
|
|
require_once('PHPUnit/Autoload.php');
|
|
spl_autoload_register(array('YiiBase','autoload')); // put yii's autoloader at the end
|
|
|
|
if (in_array('phpunit_autoload', spl_autoload_functions())) { // PHPUnit >= 3.7 'phpunit_alutoload' was obsoleted
|
|
spl_autoload_unregister('phpunit_autoload');
|
|
Yii::registerAutoloader('phpunit_autoload');
|
|
}
|
|
|
|
/**
|
|
* CTestCase is the base class for all test case classes.
|
|
*
|
|
* @author Qiang Xue <qiang.xue@gmail.com>
|
|
* @package system.test
|
|
* @since 1.1
|
|
*/
|
|
abstract class CTestCase extends PHPUnit_Framework_TestCase
|
|
{
|
|
}
|