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)));