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

First failing test shows unrelated output prior to its execution

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Not Evaluated
    • Resolution: Done
    • Affects Version/s: Qt Creator 4.0.0-beta1
    • Fix Version/s: Qt Creator 4.0.0-beta1
    • Component/s: Test Integration
    • Labels:
      None

      Description

      #include "gtest/gtest.h"
      
      TEST(Foo, Bar) {
          printf("Hello world\n");
      }
      
      TEST(Foo, Baz) {
          EXPECT_TRUE(false);
      }

      Output of failing Foo.Baz:

      Foo.Baz
      Hello world
      foo.cpp:8: Failure
      Value of: false
        Actual: false
      Expected: true

        Attachments

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

          Activity

            People

            Assignee:
            orgads Orgad Shaneh
            Reporter:
            orgads Orgad Shaneh
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:

                Gerrit Reviews

                There are no open Gerrit changes