* * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. */ require_once dirname(__FILE__).'/../../bootstrap/unit.php'; $t = new lime_test(10); class sfWebDebugTest extends sfWebDebug { public function __construct() { $this->options['image_root_path'] = ''; $this->options['request_parameters'] = array(); } } $debug = new sfWebDebugTest(); // ->injectToolbar() $t->diag('->injectToolbar()'); $before = '
'; $after = $debug->injectToolbar($before); $t->like($after, '/