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

Google Tests are not detected inside the namspace in the project

    XMLWordPrintable

Details

    • 9a3a0fa7ce7b7a547b4213e647def14c632cf9d4

    Description

      when the tests (Google Test, didn't check with other test types) are placed into namespace , plugin can't recognise these.

      the sample below is not recognised by IDE (autotest plugin)
      ...
      #include <gtest/gtest.h>
      namespace testing {
      TEST(some_test_case, just_valid_operation)

      { ASSERT_EQ(<something condition>); }

      ...
      }

      =================================

      see an addition in the comment and new screenshot

      Attachments

        Activity

          People

            cstenger Christian Stenger
            amigo421 Ernst Maurer
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: