Files
luos/tests/bootstrap.php
Brayan Osmar Pereyra Suxo fcfac3f77c BUG 0000 fix test/bootstrap.php
php5.2 and test for first method of Gtest ready
2012-05-09 17:22:42 -04:00

24 lines
678 B
PHP

<?php
// ProcessMaker Test Unit Bootstrap
// Defining the PATH_SEP constant, he we are defining if the the path separator symbol will be '\\' or '/'
define('PATH_SEP', '/');
if (!defined('__DIR__')) {
define ('__DIR__', dirname(__FILE__));
}
// Defining the Home Directory
define('PATH_TRUNK', realpath(__DIR__ . '/../') . PATH_SEP);
define('PATH_HOME', PATH_TRUNK . 'workflow' . PATH_SEP);
require PATH_HOME . 'engine' . PATH_SEP . 'config' . PATH_SEP . 'paths.php';
set_include_path(
PATH_CORE . PATH_SEPARATOR .
PATH_THIRDPARTY . PATH_SEPARATOR .
PATH_THIRDPARTY . 'pear'. PATH_SEPARATOR .
PATH_RBAC_CORE . PATH_SEPARATOR .
get_include_path()
);