Add 'php/phpxmlrpc/' from commit 'cd5dbb4a511e7a616a61187a5de1a611a9748cbd'
[plcapi.git] / php / phpxmlrpc / tests / phpunit_coverage.php
1 <?php
2 /**
3  * Used to serve back the server-side code coverage results to phpunit-selenium
4  *
5  * @copyright (C) 2007-2015 G. Giunta
6  * @license code licensed under the BSD License: see file license.txt
7  **/
8
9 $coverageFile = realpath(__DIR__ . "/../vendor/phpunit/phpunit-selenium/PHPUnit/Extensions/SeleniumCommon/phpunit_coverage.php");
10
11 // has to be the same value as used in server.php
12 $GLOBALS['PHPUNIT_COVERAGE_DATA_DIRECTORY'] = '/tmp/phpxmlrpc_coverage';
13
14 chdir($GLOBALS['PHPUNIT_COVERAGE_DATA_DIRECTORY']);
15
16 include_once $coverageFile;