source: branches/version-2_13-dev/tests/class/replace/SC_Utils_Ex.php @ 23309

Revision 23309, 393 bytes checked in by kimoto, 13 years ago (diff)

#150 ユニットテスト環境の整備
SC_Utils::sfDispErrorでテストが落ちないようにする

Line 
1<?php
2require_once(realpath(dirname(__FILE__)) . "/../../../data/class/util/SC_Utils.php");
3
4/**
5 * テスト用にexitしないSC_Utilsクラスです
6 */
7class SC_Utils_Ex extends SC_Utils
8{
9    public function sfDispError($type) {
10        return false;
11    }
12
13    public function sfDispSiteError($type, $objSiteSess = '', $return_top = false, $err_msg = '') {
14        return false;
15    }
16}
Note: See TracBrowser for help on using the repository browser.