Warning, file /kdevelop/kdev-php/duchain/tests/uses.h was not indexed or was modified since last indexation (in which case cross-reference links may be missing, inaccurate or erroneous).
0001 /* 0002 SPDX-FileCopyrightText: 2008 Niko Sams <niko.sams@gmail.com> 0003 0004 SPDX-License-Identifier: LGPL-2.0-only 0005 */ 0006 0007 #ifndef TESTUSES_H 0008 #define TESTUSES_H 0009 0010 #include "../../duchain/tests/duchaintestbase.h" 0011 0012 namespace Php 0013 { 0014 class TestUses : public DUChainTestBase 0015 { 0016 Q_OBJECT 0017 0018 public: 0019 TestUses(); 0020 0021 private slots: 0022 void newObject(); 0023 void functionCall(); 0024 void functionCallWithClosureArgs(); 0025 void memberFunctionCall(); 0026 void unsureMemberFunctionCall(); 0027 void memberVariable(); 0028 void implicitMemberVariable(); 0029 void variable(); 0030 void varInString(); 0031 void variableInNamespace(); 0032 void globalVariableInNamespace(); 0033 void variableInOtherNamespace(); 0034 void memberVarInString(); 0035 void memberFunctionInString(); 0036 void variableTypeChange(); 0037 void variableTypeChangeInFunction(); 0038 void classExtends(); 0039 void classImplements(); 0040 void classImplementsMultiple(); 0041 void interfaceExtends(); 0042 void interfaceExtendsMultiple(); 0043 void staticMemberFunctionCall(); 0044 void staticMemberVariable(); 0045 void dynamicStaticMemberVariable(); 0046 void constant(); 0047 void classConstant(); 0048 void classParent(); 0049 void classSelf(); 0050 void classThis(); 0051 void objectWithClassName(); 0052 void classAndConstWithSameName(); 0053 void classAndFunctionWithSameName(); 0054 void constAndVariableWithSameName(); 0055 void functionAndClassWithSameName(); 0056 void constantInClassMember(); 0057 void useInAsignment(); 0058 void foreachArray(); 0059 void assignmentToMemberArray(); 0060 void staticArrayIndex(); 0061 void functionParamNewDeclaration(); 0062 void catchClass(); 0063 void variableRedeclaration(); 0064 void caseInsensitiveFunction(); 0065 void caseInsensitiveMethod(); 0066 void caseInsensitiveClass(); 0067 void functionUseBeforeDeclaration(); 0068 void propertyAndMethodWithSameName(); 0069 void nestedMethodCalls(); 0070 void unset(); 0071 void functionArguments(); 0072 void namespaces(); 0073 void useNamespace(); 0074 void useGroupedNamespace(); 0075 void useGroupedPartialNamespace(); 0076 void useNamespaceFunctionConst(); 0077 void lateStatic(); 0078 void closures(); 0079 void closureTypehints(); 0080 void instanceof(); 0081 void instanceofClassProperty(); 0082 void instanceofStaticProperty(); 0083 void instanceofMixedProperty(); 0084 void instanceofVariableProperty(); 0085 void instanceofDynamicStaticProperty(); 0086 void instanceofDynamicVariableProperty(); 0087 void instanceofPropertyArrayAccess(); 0088 void dimListAfterClassNameReference(); 0089 void classNameString(); 0090 void useTrait(); 0091 void exceptionFinally(); 0092 void returnTypeClassFunction(); 0093 void returnTypeFunction(); 0094 void defaultValue(); 0095 void propertyType(); 0096 void functionParameterUnionType(); 0097 void functionReturnUnionType(); 0098 void closureParameterUnionType(); 0099 void closureReturnUnionType(); 0100 void propertyUnionType(); 0101 }; 0102 0103 } 0104 0105 #endif