Details
-
Bug
-
Resolution: Done
-
P2: Important
-
Qt Creator 4.8.0-beta1
-
None
Description
********* Start testing of CppTools::Internal::CppToolsPlugin ********* Config: Using QtTest library 5.11.1, Qt 5.11.1 (x86_64-little_endian-lp64 shared (dynamic) release build; by GCC 5.3.1 20160406 (Red Hat 5.3.1-6)) PASS : CppTools::Internal::CppToolsPlugin::initTestCase() PASS : CppTools::Internal::CppToolsPlugin::test_cpplocatorfilters_CppLocatorFilter(CppFunctionsFilter) PASS : CppTools::Internal::CppToolsPlugin::test_cpplocatorfilters_CppLocatorFilter(CppFunctionsFilter-Sorting) PASS : CppTools::Internal::CppToolsPlugin::test_cpplocatorfilters_CppLocatorFilter(CppFunctionsFilter-arguments) PASS : CppTools::Internal::CppToolsPlugin::test_cpplocatorfilters_CppLocatorFilter(CppFunctionsFilter-WithNamespacePrefix) PASS : CppTools::Internal::CppToolsPlugin::test_cpplocatorfilters_CppLocatorFilter(CppFunctionsFilter-WithClassPrefix) PASS : CppTools::Internal::CppToolsPlugin::test_cpplocatorfilters_CppLocatorFilter(CppClassesFilter) PASS : CppTools::Internal::CppToolsPlugin::test_cpplocatorfilters_CppLocatorFilter(CppClassesFilter-WithNamespacePrefix) FAIL! : CppTools::Internal::CppToolsPlugin::test_cpplocatorfilters_CppLocatorFilter(CppLocatorFilter-filtered) Compared lists have different sizes. Actual (results) size: 13 Expected (expectedResults) size: 16 Loc: [/home/andre/git/qt-creator/src/plugins/cpptools/cpplocatorfilter_test.cpp(81)] PASS : CppTools::Internal::CppToolsPlugin::test_cpplocatorfilters_CppLocatorFilter(CppClassesFilter-ObjC) PASS : CppTools::Internal::CppToolsPlugin::test_cpplocatorfilters_CppLocatorFilter(CppFunctionsFilter-ObjC) FAIL! : CppTools::Internal::CppToolsPlugin::test_cpplocatorfilters_CppCurrentDocumentFilter() Compared lists have different sizes. Actual (results) size: 34 Expected (expectedResults) size: 40 Loc: [/home/andre/git/qt-creator/src/plugins/cpptools/cpplocatorfilter_test.cpp(112)] PASS : CppTools::Internal::CppToolsPlugin::cleanupTestCase() Totals: 11 passed, 2 failed, 0 skipped, 0 blacklisted, 58ms ********* Finished testing of CppTools::Internal::CppToolsPlugin *********
It seems the free-standing enums
enum MyEnum { V1, V2 };
are not parsed correctly.