mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-01-12 07:11:42 +09:00
XE의 simpletest 동작에 대한 상수값을 설정하도록 수정
git-svn-id: http://xe-core.googlecode.com/svn/sandbox@6338 201d5d3c-b55e-5fd7-737f-ddc643e51545
This commit is contained in:
parent
576cc9f029
commit
60c8a5f3ef
2 changed files with 11 additions and 1 deletions
|
|
@ -31,7 +31,7 @@
|
|||
* define('__DEBUG_DB_OUTPUT__', 0);
|
||||
* define('__LOG_SLOW_QUERY__', 0);
|
||||
* define('__OB_GZHANDLER_ENABLE__', 1);
|
||||
*
|
||||
* define('__ENABLE_PHPUNIT_TEST__', 0);
|
||||
* define('__PROXY_SERVER__', 'http://domain:port/path');
|
||||
* ?>
|
||||
*/
|
||||
|
|
@ -87,6 +87,13 @@
|
|||
**/
|
||||
if(!defined('__OB_GZHANDLER_ENABLE__')) define('__OB_GZHANDLER_ENABLE__', 1);
|
||||
|
||||
/**
|
||||
* @brief php unit test (경로/tests/index.php) 의 실행 유무 지정
|
||||
* 0 : 사용하지 않음
|
||||
* 1 : 사용함
|
||||
**/
|
||||
if(!defined('__ENABLE_PHPUNIT_TEST__')) define('__ENABLE_PHPUNIT_TEST__', 0);
|
||||
|
||||
/**
|
||||
* @brief __PROXY_SERVER__ 는 대상 서버를 거쳐서 외부 요청을 하도록 하는 서버의 정보를 가지고 있음
|
||||
* FileHandler::getRemoteResource 에서 이 상수를 사용함
|
||||
|
|
|
|||
|
|
@ -1,6 +1,9 @@
|
|||
<?php
|
||||
define('__ZBXE__', true);
|
||||
require_once('../config/config.inc.php');
|
||||
|
||||
if(__ENABLE_PHPUNIT_TEST__!=1) exit();
|
||||
|
||||
require_once('simpletest/autorun.php');
|
||||
|
||||
class AllTests extends TestSuite {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue