mirror of
https://github.com/Mibew/i18n.git
synced 2025-01-22 21:40:28 +03:00
Modify tests directory structure
This commit is contained in:
parent
159a8aa0df
commit
a9380cf307
@ -1,6 +1,6 @@
|
||||
<?php
|
||||
|
||||
require_once dirname(__FILE__) . '/../../../../webim/libs/classes/database.php';
|
||||
require_once dirname(__FILE__) . '/../../../../../webim/libs/classes/database.php';
|
||||
require_once dirname(__FILE__) . '/../config.php';
|
||||
|
||||
/**
|
@ -1,8 +1,8 @@
|
||||
<?php
|
||||
|
||||
require_once dirname(__FILE__) . '/../../../../webim/libs/classes/event_dispatcher.php';
|
||||
require_once dirname(__FILE__) . '/../../../../webim/libs/classes/plugin.php';
|
||||
require_once dirname(__FILE__) . '/phpunit_autotest_plugin_manager/phpunit_autotest_plugin_manager_plugin.php';
|
||||
require_once dirname(__FILE__) . '/../../../../../webim/libs/classes/event_dispatcher.php';
|
||||
require_once dirname(__FILE__) . '/../../../../../webim/libs/classes/plugin.php';
|
||||
require_once dirname(__FILE__) . '/../../plugins/phpunit_autotest_plugin_manager/phpunit_autotest_plugin_manager_plugin.php';
|
||||
|
||||
/**
|
||||
* Test class for EventDispatcher.
|
@ -1,6 +1,6 @@
|
||||
<?php
|
||||
|
||||
require_once dirname(__FILE__) . '/../../../../webim/libs/classes/mibew_api_execution_context.php';
|
||||
require_once dirname(__FILE__) . '/../../../../../webim/libs/classes/mibew_api_execution_context.php';
|
||||
|
||||
/**
|
||||
* Test class for MibewAPIExecutionContext.
|
@ -1,6 +1,6 @@
|
||||
<?php
|
||||
|
||||
require_once dirname(__FILE__) . '/../../../../webim/libs/classes/mibew_api_interaction.php';
|
||||
require_once dirname(__FILE__) . '/../../../../../webim/libs/classes/mibew_api_interaction.php';
|
||||
require_once dirname(__FILE__) . '/mibew_api_test_interaction.php';
|
||||
|
||||
/**
|
@ -1,7 +1,7 @@
|
||||
<?php
|
||||
|
||||
require_once dirname(__FILE__) . '/../../../../webim/libs/classes/mibew_api.php';
|
||||
require_once dirname(__FILE__) . '/../../../../webim/libs/classes/mibew_api_interaction.php';
|
||||
require_once dirname(__FILE__) . '/../../../../../webim/libs/classes/mibew_api.php';
|
||||
require_once dirname(__FILE__) . '/../../../../../webim/libs/classes/mibew_api_interaction.php';
|
||||
require_once dirname(__FILE__) . '/mibew_api_test_interaction.php';
|
||||
|
||||
/**
|
@ -1,7 +1,7 @@
|
||||
<?php
|
||||
|
||||
require_once dirname(__FILE__) . '/../../../../webim/libs/classes/plugin_manager.php';
|
||||
require_once dirname(__FILE__) . '/../../../../webim/libs/classes/plugin.php';
|
||||
require_once dirname(__FILE__) . '/../../../../../webim/libs/classes/plugin_manager.php';
|
||||
require_once dirname(__FILE__) . '/../../../../../webim/libs/classes/plugin.php';
|
||||
|
||||
/**
|
||||
* Test class for PluginManager.
|
||||
@ -10,7 +10,7 @@ require_once dirname(__FILE__) . '/../../../../webim/libs/classes/plugin.php';
|
||||
class PluginManagerTest extends PHPUnit_Framework_TestCase {
|
||||
|
||||
public function testLoadPlugins() {
|
||||
set_include_path(get_include_path() . PATH_SEPARATOR . dirname(__FILE__));
|
||||
set_include_path(get_include_path() . PATH_SEPARATOR . realpath(dirname(__FILE__) . '/../../plugins/'));
|
||||
|
||||
// Try to load plugin that does not exists
|
||||
// Following code wait for trigger user error, which converts by PHPUnit to an
|
@ -1,7 +1,7 @@
|
||||
<?php
|
||||
|
||||
require_once dirname(__FILE__) . '/../../../../webim/libs/classes/settings.php';
|
||||
require_once dirname(__FILE__) . '/../../../../webim/libs/classes/database.php';
|
||||
require_once dirname(__FILE__) . '/../../../../../webim/libs/classes/settings.php';
|
||||
require_once dirname(__FILE__) . '/../../../../../webim/libs/classes/database.php';
|
||||
require_once dirname(__FILE__) . '/../config.php';
|
||||
|
||||
/**
|
@ -1,9 +1,9 @@
|
||||
<?php
|
||||
|
||||
require_once dirname(__FILE__) . '/../../../../webim/libs/classes/thread.php';
|
||||
require_once dirname(__FILE__) . '/../../../../webim/libs/classes/database.php';
|
||||
require_once dirname(__FILE__) . '/../../../../webim/libs/classes/settings.php';
|
||||
require_once dirname(__FILE__) . '/../../../../webim/libs/common/locale.php';
|
||||
require_once dirname(__FILE__) . '/../../../../../webim/libs/classes/thread.php';
|
||||
require_once dirname(__FILE__) . '/../../../../../webim/libs/classes/database.php';
|
||||
require_once dirname(__FILE__) . '/../../../../../webim/libs/classes/settings.php';
|
||||
require_once dirname(__FILE__) . '/../../../../../webim/libs/common/locale.php';
|
||||
require_once dirname(__FILE__) . '/../config.php';
|
||||
|
||||
/**
|
Loading…
Reference in New Issue
Block a user