Details
-
Bug
-
Resolution: Done
-
P2: Important
-
Qt Creator 4.5.1
-
None
-
f60641f3d3d6da91dcba8cbe2c531d529bfcbc47
Description
Failures in parameterized gTests using testing::Combine() are not visualized correctly (see the attached "fail (bug).png" screen shoot). I also attached the text output.
Ex. test case (may need to force define GTEST_HAS_TR1_TUPLE=1 if using VS2017 to workaround a google test bug)
struct Foo : public ::testing::TestWithParam<tuple<int, int>> {};
TEST_P(Foo, Bar) {
EXPECT_TRUE(false);
}INSTANTIATE_TEST_CASE_P(Prefix, Foo,
::testing::Combine(
::testing::Values(1, 2),
::testing::Values(10, 20)));
Attachments
For Gerrit Dashboard: QTCREATORBUG-19912 | ||||||
---|---|---|---|---|---|---|
# | Subject | Branch | Project | Status | CR | V |
221270,2 | AutoTest: Fix wrong handling of gtest output | 4.6 | qt-creator/qt-creator | Status: MERGED | +2 | 0 |