~ubuntu-branches/ubuntu/quantal/kdevelop-php/quantal-proposed

« back to all changes in this revision

Viewing changes to duchain/tests/duchain.h

  • Committer: Bazaar Package Importer
  • Author(s): Fathi Boudra
  • Date: 2010-02-17 22:20:31 UTC
  • mfrom: (1.1.1 upstream)
  • Revision ID: james.westby@ubuntu.com-20100217222031-72jf3coqvofhv4q5
Tags: 1.0.0~beta3-1
* New upstream release.
* Remove 01_kdevelop-plugin_php_branch_pull_r1076222.diff - stolen upstream.
* Update debian/control:
  - bump build dependencies (debhelper, pkg-kde-tools, kdevplatform-dev).
  - bump Standards-Version to 3.8.4 (no changes needed).
* Update debian/rules: enable parallel build (pass --parallel option to dh).

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
/* This file is part of KDevelop
 
2
    Copyright 2008 Niko Sams <niko.sams@gmail.com>
 
3
 
 
4
   This library is free software; you can redistribute it and/or
 
5
   modify it under the terms of the GNU Library General Public
 
6
   License version 2 as published by the Free Software Foundation.
 
7
 
 
8
   This library is distributed in the hope that it will be useful,
 
9
   but WITHOUT ANY WARRANTY; without even the implied warranty of
 
10
   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
 
11
   Library General Public License for more details.
 
12
 
 
13
   You should have received a copy of the GNU Library General Public License
 
14
   along with this library; see the file COPYING.LIB.  If not, write to
 
15
   the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
 
16
   Boston, MA 02110-1301, USA.
 
17
*/
 
18
 
 
19
#ifndef TESTDUCHAIN_H
 
20
#define TESTDUCHAIN_H
 
21
 
 
22
#include "duchain/tests/duchaintestbase.h"
 
23
 
 
24
namespace Php
 
25
{
 
26
class TestDUChain : public DUChainTestBase
 
27
{
 
28
    Q_OBJECT
 
29
 
 
30
public:
 
31
    TestDUChain();
 
32
 
 
33
private slots:
 
34
    void testDeclareFunction();
 
35
    void testDeclareVar();
 
36
    void testDeclareClass();
 
37
    void testClassMemberVar();
 
38
    void testDeclareTypehintFunction();
 
39
    void testDeclareTypehintArrayFunction();
 
40
    void testReturnTypeClass();
 
41
    void testDeclarationReturnType();
 
42
    void testDeclarationReturnTypeInRecursingFunction();
 
43
    void testReturnTypeViaMember();
 
44
    void testDeclarationMultipleReturnTypes();
 
45
    void testDeclarationReturnTypeDocBlock();
 
46
    void testDeclarationReturnTypeDocBlockIntegral();
 
47
    void testDeclarationReturnTypeClassChain();
 
48
    void testClassImplementsInterface();
 
49
    void testClassExtends();
 
50
    void testStaticMethod();
 
51
    void testOwnStaticMethod();
 
52
    void testThis();
 
53
    void testObjectFunctionCall();
 
54
    void testObjectFunctionCall2();
 
55
    void testObjectFunctionCall3();
 
56
    void testObjectVariable();
 
57
    void testStaticMemberVariable();
 
58
    void testOwnStaticMemberVariable();
 
59
    void testClassConst();
 
60
    void testDefine();
 
61
    void testDefaultFunctionParam();
 
62
    void testGlobalFunction();
 
63
    void testGlobalVariableFromInternalFunctions();
 
64
    void testNewObjectFromOtherFile();
 
65
    void testUnknownReturnType();
 
66
    void testStaticFunctionCallFromOtherFile();
 
67
    void testClassConstantFromOtherFile();
 
68
    void testGlobalFunctionCallFromOtherFile();
 
69
    void testConstantFromOtherFile();
 
70
    void testSingleton();
 
71
    void testInternalFunctions();
 
72
    void testTrueFalse();
 
73
    void testNull();
 
74
    void testArray();
 
75
    void testFunctionDocBlock();
 
76
    void testVariableDocBlock();
 
77
    void testFunctionDocBlockParams();
 
78
    void testMemberFunctionDocBlockParams();
 
79
    void testForeachLoop();
 
80
    void testPhp4StyleConstructor();
 
81
    void testConstructor();
 
82
    void testDestructor();
 
83
    void testFunctionInFunction();
 
84
    void testObjectWithClassName();
 
85
    void testLargeNumberOfDeclarations();
 
86
    void testStaticVariable();
 
87
    void testReturnTypeTwoDeclarations();
 
88
    void testGlobalVariableNotVisibleInFunction();
 
89
    void testGlobalVariableInFunction();
 
90
    void testSuperglobalInFunction();
 
91
    void testReturnWithoutFunction();
 
92
    void testCircularInheritance();
 
93
    void testFindDeclarations();
 
94
    void testMemberTypeAfterMethod();
 
95
    void testCatchDeclaration();
 
96
    void testResourceType();
 
97
    void testForeachIterator();
 
98
    void testForeachIterator2();
 
99
    void testForeachIterator3();
 
100
    void testReturnThis();
 
101
    void testUnsureReturnType();
 
102
    void testUnsureReturnType2();
 
103
    void testUnsureReturnType3();
 
104
    void testUnsureReturnType4();
 
105
    void testDeclareMemberOutOfClass();
 
106
    void testDeclareMemberInClassMethod();
 
107
    void testThisRedeclaration();
 
108
    void testImplicitArrayDeclaration();
 
109
    void testImplicitReferenceDeclaration();
 
110
    void testClassContextRange();
 
111
    void testLateClassMembers();
 
112
    void testList();
 
113
    void testAlternateDocCommentTypeHints();
 
114
    void testFindFunctionArgs();
 
115
    void testUndeclaredPropertyInString();
 
116
    void testUndeclaredVarPropertyInString();
 
117
};
 
118
 
 
119
}
 
120
 
 
121
#endif