Warning, file /kdevelop/kdevelop/kdevplatform/language/duchain/tests/test_duchain.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: 2011-2013 Milian Wolff <mail@milianw.de> 0003 SPDX-FileCopyrightText: 2006 Hamish Rodda <rodda@kde.org> 0004 SPDX-FileCopyrightText: 2007-2009 David Nolden <david.nolden.kdevelop@art-master.de> 0005 0006 SPDX-License-Identifier: LGPL-2.0-or-later 0007 */ 0008 0009 #ifndef KDEVPLATFORM_TEST_DUCHAIN_H 0010 #define KDEVPLATFORM_TEST_DUCHAIN_H 0011 0012 #include <QObject> 0013 0014 class TestDUChain 0015 : public QObject 0016 { 0017 Q_OBJECT 0018 0019 private Q_SLOTS: 0020 void initTestCase(); 0021 void cleanupTestCase(); 0022 0023 #ifndef Q_OS_WIN 0024 // Causes stack overflow on Windows (MSVC2015) 0025 void testStringSets(); 0026 #endif 0027 void testSymbolTableValid(); 0028 void testIndexedStrings(); 0029 void testImportStructure(); 0030 void testLockForWrite(); 0031 void testLockForRead(); 0032 void testLockForReadWrite(); 0033 void testProblemSerialization(); 0034 void testIdentifiers(); 0035 void testTypePtr(); 0036 ///NOTE: these are not "automated"! 0037 // void testImportCache(); 0038 0039 void benchCodeModel(); 0040 void benchTypeRegistry(); 0041 void benchTypeRegistry_data(); 0042 void benchDuchainWriteLocker(); 0043 void benchDuchainReadLocker(); 0044 void benchDUChainItemFactory_copy(); 0045 void benchDUChainItemFactory_copy_data(); 0046 void benchDeclarationQualifiedIdentifier(); 0047 }; 0048 0049 #endif // KDEVPLATFORM_TEST_DUCHAIN_H