Permalink
Browse files

Remove supurfluous AllTests.php (use "pear run-tests -r tests" instead).

  • Loading branch information...
1 parent 02ee626 commit 2c2ab2805b77d0240448a59aaefb59485b1995a6 Daniel Convissor committed Dec 29, 2011
Showing with 0 additions and 76 deletions.
  1. +0 −76 tests/AllTests.php
View
@@ -1,76 +0,0 @@
-<?php
-
-/* vim: set expandtab tabstop=4 shiftwidth=4 softtabstop=4: */
-
-/**
- * This file is part of the PEAR Services_GeoNames package.
- *
- * PHP version 5
- *
- * LICENSE: This source file is subject to the MIT license that is available
- * through the world-wide-web at the following URI:
- * http://opensource.org/licenses/mit-license.php
- *
- * @category Services
- * @package Services_GeoNames
- * @author David Jean Louis <izi@php.net>
- * @copyright 2008-2009 David Jean Louis
- * @license http://opensource.org/licenses/mit-license.php MIT License
- * @version CVS: $Id$
- * @link http://pear.php.net/package/Services_GeoNames
- * @since File available since release 0.1.0
- */
-
-if (!defined('PHPUnit_MAIN_METHOD')) {
- define('PHPUnit_MAIN_METHOD', 'Services_GeoNames_AllTests::main');
-}
-
-require_once 'PHPUnit/Framework.php';
-require_once 'PHPUnit/Extensions/PhptTestSuite.php';
-require_once 'PHPUnit/TextUI/TestRunner.php';
-
-/**
- * Services_GeoNames phpt test suite.
- *
- * Run all tests from the package root directory:
- * $ phpunit Services_GeoNames_AllTests tests/AllTests.php
- * or
- * $ php tests/AllTests.php
- *
- * @category Services
- * @package Services_GeoNames
- * @author David Jean Louis <izi@php.net>
- * @copyright 2008-2009 David Jean Louis
- * @license http://opensource.org/licenses/mit-license.php MIT License
- * @version Release: @package_version@
- * @link http://pear.php.net/package/Services_GeoNames
- * @since Class available since release 0.1.0
- */
-class Services_GeoNames_AllTests
-{
- /**
- * Runs the test suite
- *
- * @return void
- * @static
- */
- public static function main()
- {
- PHPUnit_TextUI_TestRunner::run(self::suite());
- }
-
- /**
- * Return the phpt test suite
- *
- * @return object the PHPUnit_Framework_TestSuite object
- * @static
- */
- public static function suite()
- {
- return new PHPUnit_Extensions_PhptTestSuite(dirname(__FILE__));
- }
-}
-
-if (PHPUnit_MAIN_METHOD == 'Services_GeoNames_AllTests::main') {
- Services_GeoNames_AllTests::main();
-}

0 comments on commit 2c2ab28

Please sign in to comment.