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

Failing unit tests: StringCache, RefactoringProjectUpdater.UpdateProjectPart

    XMLWordPrintable

Details

    • Bug
    • Resolution: Cannot Reproduce
    • Not Evaluated
    • None
    • Qt Creator 4.13.0-beta1
    • C/C++/Obj-C++ Support
    • None

    Description

      Q Creator master, against our currently shipped LLVM/Clang 8.

       

      12:33:07: Starting /d1/creator/master/builds/unit/unittest/unittest --gtest_filter=StringCache/0.AddFilePathsWithStorageFunction...
      QML debugging is enabled. Only use this in a safe environment.
      Note: Google Test filter = StringCache/0.AddFilePathsWithStorageFunction
      [==========] Running 1 test from 1 test suite.
      [----------] Global test environment set-up.
      [----------] 1 test from StringCache/0, where TypeParam = ClangBackEnd::StringCache<Utils::BasicSmallString<190u>, Utils::SmallStringView, int, testing::NiceMock<MockMutex>, int (Utils::SmallStringView, Utils::SmallStringView), &Utils::reverseCompare, ClangBackEnd::StringCacheEntry<Utils::BasicSmallString<190u>, Utils::SmallStringView, int> >
      [ RUN ] StringCache/0.AddFilePathsWithStorageFunction
      12:33:07: The program has unexpectedly finished.
      12:33:07: The process was ended forcefully.
      12:33:08: /d1/creator/master/builds/unit/unittest/unittest crashed.

       

       

      12:32:26: Starting /d1/creator/master/builds/unit/unittest/unittest --gtest_filter=RefactoringProjectUpdater.UpdateProjectPart...
      QML debugging is enabled. Only use this in a safe environment.
      Note: Google Test filter = RefactoringProjectUpdater.UpdateProjectPart
      [==========] Running 1 test from 1 test suite.
      [----------] Global test environment set-up.
      [----------] 1 test from RefactoringProjectUpdater
      [ RUN ] RefactoringProjectUpdater.UpdateProjectPart
      unknown file: Failure
      C++ exception with description "map::at" thrown in the test body.
      ../../../source/tests/unit/unittest/refactoringprojectupdater-test.cpp:124: Failure
      Actual function call count doesn't match EXPECT_CALL(mockRefactoringServer, updateProjectParts(Field(&UpdateProjectPartsMessage::projectsParts, ElementsAre(IsProjectPartContainer(3)))))...
      {{ Expected: to be called once}}
      {{ Actual: never called - unsatisfied and active}}
      [ FAILED ] RefactoringProjectUpdater.UpdateProjectPart (4 ms)
      [----------] 1 test from RefactoringProjectUpdater (4 ms total)[----------] Global test environment tear-down
      [==========] 1 test from 1 test suite ran. (4 ms total)
      [ PASSED ] 0 tests.
      [ FAILED ] 1 test, listed below:
      [ FAILED ] RefactoringProjectUpdater.UpdateProjectPart1 FAILED TEST
      12:32:27: /d1/creator/master/builds/unit/unittest/unittest exited with code 1

      Attachments

        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

        Activity

          People

            Unassigned Unassigned
            kosjar Nikolai Kosjar
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes