Revize 18ac9009
Přidáno uživatelem Ondřej Fibich před asi 9 roky(ů)
tests/BootstrapPHPUnit.php | ||
---|---|---|
<?php defined('SYSPATH') or die('No direct script access.');
|
||
/**
|
||
* Kohana process control file, loaded by the front controller.
|
||
*
|
||
*
|
||
* $Id: Bootstrap.php 1968 2008-02-06 21:41:29Z Shadowhand $
|
||
*
|
||
* @package Core
|
||
... | ... | |
// Load core files
|
||
require SYSPATH.'core/utf8'.EXT;
|
||
require SYSPATH.'core/Config'.EXT;
|
||
|
||
require __DIR__.'/TestConfig'.EXT;
|
||
TestConfig::init(); // set DB configuration
|
||
|
||
require SYSPATH.'core/Log'.EXT;
|
||
require SYSPATH.'core/Event'.EXT;
|
||
require SYSPATH.'core/Kohana'.EXT;
|
||
|
||
// test classes
|
||
require __DIR__.'/AbstractItCase'.EXT;
|
||
|
||
// End: kohana_loading
|
||
Benchmark::stop(SYSTEM_BENCHMARK.'_kohana_loading');
|
||
|
||
... | ... | |
//Benchmark::stop(SYSTEM_BENCHMARK.'_system_initialization');
|
||
|
||
//Event::run('system.execute');
|
||
Event::run('system.shutdown');
|
||
Event::run('system.shutdown');
|
Také k dispozici: Unified diff
Fix merge issue that removed all staff from developer branch :-).