/usr/share/php/tests/Net_FTP/AllTests.php is in php-net-ftp 1.4.0a3-1.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 | <?php
/* vim: set expandtab tabstop=4 shiftwidth=4 softtabstop=4: */
/**
* Net_FTP test suite file
*
* To run the tests execute this from the top directory for a CVS checkout
* $ pear run-tests -ur
* or this if you've installed the package
* $ pear run-tests -pu Net_FTP
*
* PHP version 5
*
* LICENSE: This source file is subject to version 3.0 of the PHP license
* that is available through the world-wide-web at the following URI:
* http://www.php.net/license/3_0.txt. If you did not receive a copy of
* the PHP License and are unable to obtain it through the web, please
* send a note to license@php.net so we can mail you a copy immediately.
*
* @category Networking
* @package FTP
* @author Tobias Schlitt <toby@php.net>
* @copyright 1997-2008 The PHP Group
* @license http://www.php.net/license/3_0.txt PHP License 3.0
* @version CVS: $Id$
* @link http://pear.php.net/package/Net_FTP
* @link http://www.phpunit.de PHPUnit
* @since File available since Release 0.0.1
*/
if (!defined('PHPUnit_MAIN_METHOD')) {
define('PHPUnit_MAIN_METHOD', 'Net_FTP_AllTests::main');
}
require_once 'PHPUnit/TextUI/TestRunner.php';
require_once 'Net_FTPTest.php';
/**
* Unit test case for Net_FTP
*
* @category Networking
* @package FTP
* @author Jorrit Schippers <jschippers@php.net>
* @copyright 1997-2008 The PHP Group
* @license http://www.php.net/license/3_0.txt PHP License 3.0
* @version Release: 1.4.0a3
* @link http://pear.php.net/package/Net_FTP
* @since Class available since Release 1.3.3
*/
class Net_FTP_AllTests
{
/**
* Main test suite run method
*
* @return void
*/
public static function main()
{
PHPUnit_TextUI_TestRunner::run(self::suite());
}
/**
* Main test suite method
*
* @return void
*/
public static function suite()
{
$suite = new PHPUnit_Framework_TestSuite('Net_FTP Tests');
$suite->addTestSuite('Net_FTPTest');
return $suite;
}
}
if (PHPUnit_MAIN_METHOD == 'Net_FTP_AllTests::main') {
Net_FTP_AllTests::main();
}
?>
|