Searched refs:ShouldUseColor (Results 1 – 4 of 4) sorted by relevance
40 using testing::internal::ShouldUseColor;52 if (ShouldUseColor(true)) { in main()
252 using testing::internal::ShouldUseColor;6628 EXPECT_TRUE(ShouldUseColor(true)); // Stdout is a TTY. in TEST()6629 EXPECT_TRUE(ShouldUseColor(false)); // Stdout is not a TTY. in TEST()6632 EXPECT_TRUE(ShouldUseColor(true)); // Stdout is a TTY. in TEST()6633 EXPECT_TRUE(ShouldUseColor(false)); // Stdout is not a TTY. in TEST()6640 EXPECT_TRUE(ShouldUseColor(false)); // Stdout is not a TTY. in TEST()6643 EXPECT_TRUE(ShouldUseColor(false)); // Stdout is not a TTY. in TEST()6646 EXPECT_TRUE(ShouldUseColor(false)); // Stdout is not a TTY. in TEST()6653 EXPECT_FALSE(ShouldUseColor(true)); // Stdout is a TTY. in TEST()6654 EXPECT_FALSE(ShouldUseColor(false)); // Stdout is not a TTY. in TEST()[all …]
92 GTEST_API_ bool ShouldUseColor(bool stdout_is_tty);
3290 bool ShouldUseColor(bool stdout_is_tty) { in ShouldUseColor() function3342 ShouldUseColor(posix::IsATTY(posix::FileNo(stdout)) != 0); in ColoredPrintf()