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

Crash when editing test_name of Google Test

    XMLWordPrintable

Details

    • Bug
    • Resolution: Duplicate
    • Not Evaluated
    • None
    • Qt Creator 4.15.0
    • Test Integration
    • None
    • Linux/X11

    Description

      When I decide to rename a test name, I erase it completely and then retype the correct name. Qt Creator crashed after I removed the last character of the name inside the TEST(test_suite, test_name) macro. The behavior is inconsistent. It doesn't always crash, but all the crashes I've encountered in the last two weeks (there was 4 or 5) happened when I was editing test_name.

      The following sometimes causes an instant crash while editing.

      TEST(MySuiteName, )
      {
         // my test
      }
      

       

      I don't know if this is appropriate for the issue, but I have the ClangCodeModel and ClangFormat plugins enabled. 

       

      Attachments

        Issue Links

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

          Activity

            People

              cstenger Christian Stenger
              sunnat49 Суннат Каримов
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes