diff options
author | Thomas Bruederli <thomas@roundcube.net> | 2014-04-21 18:06:51 +0200 |
---|---|---|
committer | Thomas Bruederli <thomas@roundcube.net> | 2014-04-21 18:06:51 +0200 |
commit | d220ebd708a6893fdb68b8548a30990d99ca1c02 (patch) | |
tree | e9a9ffc578d6f9175e90676b43604e269cbffe9d /index-test.php | |
parent | eea11ecdde396ffc261c20ab930120612260d931 (diff) |
Describe Selenium testing setup and provide a function to clear the SQL database
Diffstat (limited to 'index-test.php')
-rw-r--r-- | index-test.php | 27 |
1 files changed, 27 insertions, 0 deletions
diff --git a/index-test.php b/index-test.php new file mode 100644 index 000000000..b880f7c1f --- /dev/null +++ b/index-test.php @@ -0,0 +1,27 @@ +<?php + +/* + +-----------------------------------------------------------------------+ + | Roundcube Webmail Selenium Tests Entry Point | + | | + | Copyright (C) 2005-2014, The Roundcube Dev Team | + | | + | Licensed under the GNU General Public License version 3 or | + | any later version with exceptions for skins & plugins. | + | See the README file for a full license statement. | + | | + | PURPOSE: | + | This is the public entry point for all HTTP requests to the | + | Roundcube webmail application loading the 'tests' environment. | + +-----------------------------------------------------------------------+ + | Author: Thomas Bruederli <thomas@roundcube.net> | + +-----------------------------------------------------------------------+ +*/ + +define('INSTALL_PATH', realpath(__DIR__) . '/'); + +$GLOBALS['env'] = 'test'; + +// include index.php from application root directory +include INSTALL_PATH . 'index.php'; + |