TestCase.php 602 Bytes
Newer Older
w  
Qiang Xue committed
1 2 3 4 5
<?php
/**
 * TestCase class.
 *
 * @link http://www.yiiframework.com/
Qiang Xue committed
6
 * @copyright Copyright (c) 2008 Yii Software LLC
w  
Qiang Xue committed
7 8 9
 * @license http://www.yiiframework.com/license/
 */

Qiang Xue committed
10
namespace yii\test;
w  
Qiang Xue committed
11 12

require_once('PHPUnit/Runner/Version.php');
resurtm committed
13
spl_autoload_unregister(array('Yii', 'autoload'));
w  
Qiang Xue committed
14
require_once('PHPUnit/Autoload.php');
resurtm committed
15
spl_autoload_register(array('Yii', 'autoload')); // put yii's autoloader at the end
w  
Qiang Xue committed
16 17 18 19 20 21 22 23 24 25

/**
 * TestCase is the base class for all test case classes.
 *
 * @author Qiang Xue <qiang.xue@gmail.com>
 * @since 2.0
 */
abstract class TestCase extends \PHPUnit_Framework_TestCase
{
}