Uploaded image for project: 'Qt Creator'
  1. Qt Creator
  2. QTCREATORBUG-21413

CppLocatorFilter test fails after aac1beba (C++: Fix parsing enum specifier II)

    XMLWordPrintable

Details

    • All

    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.

      Attachments

        For Gerrit Dashboard: QTCREATORBUG-21413
        # Subject Branch Project Status CR V

        Activity

          People

            kosjar Nikolai Kosjar
            aha_1980 André Hartmann
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes