Arbit - project tracking

PHP Depend

Browse source code

File: / tests/ PHP/ Depend/ Bugs/ AllTests.php

Type
text/plain text/plain
Last Author
mapi
Version
1355
Line Rev. Author Source
1 738 mapi <?php
2 mapi /**
3 mapi * This file is part of PHP_Depend.
4 mapi *
5 mapi * PHP Version 5
6 mapi *
7 1030 mapi * Copyright (c) 2008-2010, Manuel Pichler <mapi@pdepend.org>.
8 738 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 mapi * @package PHP_Depend
41 mapi * @subpackage Bugs
42 mapi * @author Manuel Pichler <mapi@pdepend.org>
43 1030 mapi * @copyright 2008-2010 Manuel Pichler. All rights reserved.
44 738 mapi * @license http://www.opensource.org/licenses/bsd-license.php BSD License
45 mapi * @version SVN: $Id$
46 mapi * @link http://www.pdepend.org/
47 mapi */
48 mapi
49 mapi if (defined('PHPUnit_MAIN_METHOD') === false) {
50 mapi define('PHPUnit_MAIN_METHOD', 'PHP_Depend_Bugs_AllTests::main');
51 mapi }
52 mapi
53 mapi require_once 'PHPUnit/Framework/TestSuite.php';
54 mapi require_once 'PHPUnit/TextUI/TestRunner.php';
55 mapi
56 986 mapi require_once dirname(__FILE__) . '/InvalidResultWhenFunctionReturnsByReferenceBug004Test.php';
57 941 mapi require_once dirname(__FILE__) . '/InstanceOfExpressionReferenceHandlingBug062Test.php';
58 752 mapi require_once dirname(__FILE__) . '/ClassDeclarationWithoutBodyBug065Test.php';
59 925 mapi require_once dirname(__FILE__) . '/IncorrectPropertyEndlineBug068Test.php';
60 738 mapi require_once dirname(__FILE__) . '/ClosureResultsInExceptionBug070Test.php';
61 925 mapi require_once dirname(__FILE__) . '/SignedDefaultValueResultsInExceptionBug71Test.php';
62 776 mapi require_once dirname(__FILE__) . '/InconsistentObjectGraphBug73Test.php';
63 797 mapi require_once dirname(__FILE__) . '/ParserKeywordAsConstantNameBug76Test.php';
64 925 mapi require_once dirname(__FILE__) . '/TokenizerKeywordSubstitutionBug76Test.php';
65 916 mapi require_once dirname(__FILE__) . '/SupportCommaSeparatedPropertyDeclarationsBug081Test.php';
66 931 mapi require_once dirname(__FILE__) . '/SupportCommaSeparatedConstantDefinitionsBug082Test.php';
67 925 mapi require_once dirname(__FILE__) . '/ParentKeywordAsParameterTypeHintBug087Test.php';
68 939 mapi require_once dirname(__FILE__) . '/WrongCouplingAnalyzerForCommentsBug089Test.php';
69 940 mapi require_once dirname(__FILE__) . '/NamespaceChainsNotHandledCorrectByCouplingAnalyzerBug090Test.php';
70 944 mapi require_once dirname(__FILE__) . '/ClassConstantAsArrayDefaultValueResultsInExceptionBug091Test.php';
71 962 mapi require_once dirname(__FILE__) . '/ClosureReturnsByReferenceBug094Test.php';
72 958 mapi require_once dirname(__FILE__) . '/NPathComplexityIsBrokenInVersion096Bug095Test.php';
73 984 mapi require_once dirname(__FILE__) . '/DefaultPackageContainsBrokenAritfactsBug098Test.php';
74 997 mapi require_once dirname(__FILE__) . '/ParserSetsIncorrectStartLineBug101Test.php';
75 1010 mapi require_once dirname(__FILE__) . '/NamespaceKeywordInParameterTypeHintBug102Test.php';
76 1009 mapi require_once dirname(__FILE__) . '/ParameterStringDefaultValueBug103Test.php';
77 1039 mapi require_once dirname(__FILE__) . '/DefaultNamespaceBug106Test.php';
78 1068 mapi require_once dirname(__FILE__) . '/ComplexStringParsingBug114Test.php';
79 1093 mapi require_once dirname(__FILE__) . '/SummaryReportContainsClassesWithoutSourceFileBug115Test.php';
80 1088 mapi require_once dirname(__FILE__) . '/KeywordFunctionNameResultsInExceptionBug116Test.php';
81 1112 mapi require_once dirname(__FILE__) . '/MethodsDeclaredAbstractAreCountedAsOverwrittenBug118Test.php';
82 1237 mapi require_once dirname(__FILE__) . '/VariableVariablesInForeachStatementBug128Test.php';
83 1257 mapi require_once dirname(__FILE__) . '/ReconfigureXdebugMaxNestingLevelBug133Test.php';
84 1277 mapi require_once dirname(__FILE__) . '/EmptyExceptionMessageInPHP52HelperBug149Test.php';
85 1266 mapi require_once dirname(__FILE__) . '/InvalidNowdocSubstitutionBug150Test.php';
86 1307 mapi require_once dirname(__FILE__) . '/EndLessLoopBetweenForParentClassBug152Test.php';
87 1355 mapi require_once dirname(__FILE__) . '/InvalidTokenObjectOperatorInForeachLoopBug161Test.php';
88 738 mapi
89 mapi /**
90 mapi * Test suite for bugs meta package.
91 mapi *
92 mapi * @category PHP
93 mapi * @package PHP_Depend
94 mapi * @subpackage Issues
95 mapi * @author Manuel Pichler <mapi@pdepend.org>
96 1030 mapi * @copyright 2008-2010 Manuel Pichler. All rights reserved.
97 738 mapi * @license http://www.opensource.org/licenses/bsd-license.php BSD License
98 mapi * @version Release: @package_version@
99 mapi * @link http://www.pdepend.org/
100 mapi */
101 mapi class PHP_Depend_Bugs_AllTests
102 mapi {
103 mapi /**
104 mapi * Test suite main method.
105 mapi *
106 mapi * @return void
107 mapi */
108 mapi public static function main()
109 mapi {
110 mapi PHPUnit_TextUI_TestRunner::run(self::suite());
111 mapi }
112 mapi
113 mapi /**
114 mapi * Creates the phpunit test suite for this package.
115 mapi *
116 mapi * @return PHPUnit_Framework_TestSuite
117 mapi */
118 mapi public static function suite()
119 mapi {
120 mapi $suite = new PHPUnit_Framework_TestSuite('PHP_Depend_Bugs - AllTests');
121 752 mapi
122 986 mapi $suite->addTestSuite('PHP_Depend_Bugs_InvalidResultWhenFunctionReturnsByReferenceBug004Test');
123 941 mapi $suite->addTestSuite('PHP_Depend_Bugs_InstanceOfExpressionReferenceHandlingBug062Test');
124 752 mapi $suite->addTestSuite('PHP_Depend_Bugs_ClassDeclarationWithoutBodyBug065Test');
125 931 mapi $suite->addTestSuite('PHP_Depend_Bugs_IncorrectPropertyEndlineBug068Test');
126 738 mapi $suite->addTestSuite('PHP_Depend_Bugs_ClosureResultsInExceptionBug070Test');
127 740 mapi $suite->addTestSuite('PHP_Depend_Bugs_SignedDefaultValueResultsInExceptionBug71Test');
128 776 mapi $suite->addTestSuite('PHP_Depend_Bugs_InconsistentObjectGraphBug73Test');
129 797 mapi $suite->addTestSuite('PHP_Depend_Bugs_ParserKeywordAsConstantNameBug76Test');
130 793 mapi $suite->addTestSuite('PHP_Depend_Bugs_TokenizerKeywordSubstitutionBug76Test');
131 931 mapi $suite->addTestSuite('PHP_Depend_Bugs_SupportCommaSeparatedPropertyDeclarationsBug081Test');
132 mapi $suite->addTestSuite('PHP_Depend_Bugs_SupportCommaSeparatedConstantDefinitionsBug082Test');
133 925 mapi $suite->addTestSuite('PHP_Depend_Bugs_ParentKeywordAsParameterTypeHintBug087Test');
134 939 mapi $suite->addTestSuite('PHP_Depend_Bugs_WrongCouplingAnalyzerForCommentsBug089Test');
135 940 mapi $suite->addTestSuite('PHP_Depend_Bugs_NamespaceChainsNotHandledCorrectByCouplingAnalyzerBug090Test');
136 944 mapi $suite->addTestSuite('PHP_Depend_Bugs_ClassConstantAsArrayDefaultValueResultsInExceptionBug091Test');
137 962 mapi $suite->addTestSuite('PHP_Depend_Bugs_ClosureReturnsByReferenceBug094Test');
138 958 mapi $suite->addTestSuite('PHP_Depend_Bugs_NPathComplexityIsBrokenInVersion096Bug095Test');
139 984 mapi $suite->addTestSuite('PHP_Depend_Bugs_DefaultPackageContainsBrokenAritfactsBug098Test');
140 997 mapi $suite->addTestSuite('PHP_Depend_Bugs_ParserSetsIncorrectStartLineBug101Test');
141 1010 mapi $suite->addTestSuite('PHP_Depend_Bugs_NamespaceKeywordInParameterTypeHintBug102Test');
142 1009 mapi $suite->addTestSuite('PHP_Depend_Bugs_ParameterStringDefaultValueBug103Test');
143 1039 mapi $suite->addTestSuite('PHP_Depend_Bugs_DefaultNamespaceBug106Test');
144 1068 mapi $suite->addTestSuite('PHP_Depend_Bugs_ComplexStringParsingBug114Test');
145 1093 mapi $suite->addTestSuite('PHP_Depend_Bugs_SummaryReportContainsClassesWithoutSourceFileBug115Test');
146 1088 mapi $suite->addTestSuite('PHP_Depend_Bugs_KeywordFunctionNameResultsInExceptionBug116Test');
147 1112 mapi $suite->addTestSuite('PHP_Depend_Bugs_MethodsDeclaredAbstractAreCountedAsOverwrittenBug118Test');
148 1237 mapi $suite->addTestSuite('PHP_Depend_Bugs_VariableVariablesInForeachStatementBug128Test');
149 1257 mapi $suite->addTestSuite('PHP_Depend_Bugs_ReconfigureXdebugMaxNestingLevelBug133Test');
150 1277 mapi $suite->addTestSuite('PHP_Depend_Bugs_EmptyExceptionMessageInPHP52HelperBug149Test');
151 1266 mapi $suite->addTestSuite('PHP_Depend_Bugs_InvalidNowdocSubstitutionBug150Test');
152 1307 mapi $suite->addTestSuite('PHP_Depend_Bugs_EndLessLoopBetweenForParentClassBug152Test');
153 1355 mapi $suite->addTestSuite('PHP_Depend_Bugs_InvalidTokenObjectOperatorInForeachLoopBug161Test');
154 738 mapi
155 mapi return $suite;
156 mapi }
157 1355 mapi }