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

First failing test shows unrelated output prior to its execution

    XMLWordPrintable

Details

    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

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

        Activity

          People

            orgads Orgad Shaneh
            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