| 1 |
62
|
mapi |
<?php |
|
| 2 |
66
|
mapi |
/** |
|
| 3 |
↓
|
mapi |
* This file is part of the static reflection component. |
|
| 4 |
↓
|
mapi |
* |
|
| 5 |
↓
|
mapi |
* PHP Version 5 |
|
| 6 |
↓
|
mapi |
* |
|
| 7 |
247
|
mapi |
* Copyright (c) 2009-2010, Manuel Pichler <mapi@pdepend.org>. |
|
| 8 |
66
|
mapi |
* All rights reserved. |
|
| 9 |
↓
|
mapi |
* |
|
| 10 |
↓
|
mapi |
* Redistribution and use in source and binary forms, with or without |
|
| 11 |
↓
|
mapi |
* modification, are permitted provided that the following conditions |
|
| 12 |
↓
|
mapi |
* are met: |
|
| 13 |
↓
|
mapi |
* |
|
| 14 |
↓
|
mapi |
* * Redistributions of source code must retain the above copyright |
|
| 15 |
↓
|
mapi |
* notice, this list of conditions and the following disclaimer. |
|
| 16 |
↓
|
mapi |
* |
|
| 17 |
↓
|
mapi |
* * Redistributions in binary form must reproduce the above copyright |
|
| 18 |
↓
|
mapi |
* notice, this list of conditions and the following disclaimer in |
|
| 19 |
↓
|
mapi |
* the documentation and/or other materials provided with the |
|
| 20 |
↓
|
mapi |
* distribution. |
|
| 21 |
↓
|
mapi |
* |
|
| 22 |
↓
|
mapi |
* * Neither the name of Manuel Pichler nor the names of his |
|
| 23 |
↓
|
mapi |
* contributors may be used to endorse or promote products derived |
|
| 24 |
↓
|
mapi |
* from this software without specific prior written permission. |
|
| 25 |
↓
|
mapi |
* |
|
| 26 |
↓
|
mapi |
* THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS |
|
| 27 |
↓
|
mapi |
* "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT |
|
| 28 |
↓
|
mapi |
* LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS |
|
| 29 |
↓
|
mapi |
* FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE |
|
| 30 |
↓
|
mapi |
* COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, |
|
| 31 |
↓
|
mapi |
* INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, |
|
| 32 |
↓
|
mapi |
* BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; |
|
| 33 |
↓
|
mapi |
* LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER |
|
| 34 |
↓
|
mapi |
* CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT |
|
| 35 |
↓
|
mapi |
* LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN |
|
| 36 |
↓
|
mapi |
* ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE |
|
| 37 |
↓
|
mapi |
* POSSIBILITY OF SUCH DAMAGE. |
|
| 38 |
↓
|
mapi |
* |
|
| 39 |
↓
|
mapi |
* @category PHP |
|
| 40 |
259
|
mapi |
* @package pdepend\reflection\regression |
|
| 41 |
66
|
mapi |
* @author Manuel Pichler <mapi@pdepend.org> |
|
| 42 |
247
|
mapi |
* @copyright 2009-2010 Manuel Pichler. All rights reserved. |
|
| 43 |
66
|
mapi |
* @license http://www.opensource.org/licenses/bsd-license.php BSD License |
|
| 44 |
↓
|
mapi |
* @version SVN: $Id$ |
|
| 45 |
↓
|
mapi |
* @link http://pdepend.org/ |
|
| 46 |
↓
|
mapi |
*/ |
|
| 47 |
62
|
mapi |
|
|
| 48 |
259
|
mapi |
namespace pdepend\reflection\regression; |
|
| 49 |
62
|
mapi |
|
|
| 50 |
259
|
mapi |
require_once 'PHPUnit/Framework.php'; |
|
| 51 |
↓
|
mapi |
|
|
| 52 |
↓
|
mapi |
require_once 'Bug005Test.php'; |
|
| 53 |
267
|
mapi |
require_once 'Bug006Test.php'; |
|
| 54 |
278
|
mapi |
require_once 'Bug008Test.php'; |
|
| 55 |
289
|
mapi |
require_once 'Bug009Test.php'; |
|
| 56 |
259
|
mapi |
|
|
| 57 |
151
|
mapi |
/** |
|
| 58 |
259
|
mapi |
* Main test suite. |
|
| 59 |
151
|
mapi |
* |
|
| 60 |
↓
|
mapi |
* @category PHP |
|
| 61 |
259
|
mapi |
* @package pdepend\reflection\regression |
|
| 62 |
151
|
mapi |
* @author Manuel Pichler <mapi@pdepend.org> |
|
| 63 |
247
|
mapi |
* @copyright 2009-2010 Manuel Pichler. All rights reserved. |
|
| 64 |
151
|
mapi |
* @license http://www.opensource.org/licenses/bsd-license.php BSD License |
|
| 65 |
↓
|
mapi |
* @version Release: @package_version@ |
|
| 66 |
↓
|
mapi |
* @link http://pdepend.org/ |
|
| 67 |
↓
|
mapi |
*/ |
|
| 68 |
259
|
mapi |
class AllTests extends \PHPUnit_Framework_TestSuite |
|
| 69 |
62
|
mapi |
{ |
|
| 70 |
↓
|
mapi |
/** |
|
| 71 |
259
|
mapi |
* Constructs a new test suite instance. |
|
| 72 |
188
|
mapi |
*/ |
|
| 73 |
259
|
mapi |
public function __construct() |
|
| 74 |
↓
|
mapi |
{ |
|
| 75 |
↓
|
mapi |
$this->setName( 'org::pdepend::reflection::regression::AllTests' ); |
|
| 76 |
188
|
mapi |
|
|
| 77 |
259
|
mapi |
\PHPUnit_Util_Filter::addDirectoryToWhitelist( |
|
| 78 |
↓
|
mapi |
realpath( dirname( __FILE__ ) . '/../../source/' ) |
|
| 79 |
↓
|
mapi |
); |
|
| 80 |
↓
|
mapi |
|
|
| 81 |
↓
|
mapi |
$this->addTestSuite( '\pdepend\reflection\regression\Bug005Test' ); |
|
| 82 |
267
|
mapi |
$this->addTestSuite( '\pdepend\reflection\regression\Bug006Test' ); |
|
| 83 |
278
|
mapi |
$this->addTestSuite( '\pdepend\reflection\regression\Bug008Test' ); |
|
| 84 |
289
|
mapi |
$this->addTestSuite( '\pdepend\reflection\regression\Bug009Test' ); |
|
| 85 |
259
|
mapi |
} |
|
| 86 |
↓
|
mapi |
|
|
| 87 |
188
|
mapi |
/** |
|
| 88 |
259
|
mapi |
* Returns a test suite instance. |
|
| 89 |
62
|
mapi |
* |
|
| 90 |
259
|
mapi |
* @return PHPUnit_Framework_TestSuite |
|
| 91 |
150
|
mapi |
*/ |
|
| 92 |
259
|
mapi |
public static function suite() |
|
| 93 |
62
|
mapi |
{ |
|
| 94 |
259
|
mapi |
return new AllTests(); |
|
| 95 |
62
|
mapi |
} |
|
| 96 |
↓
|
mapi |
} |
|