Searched refs:ShouldUseColor (Results 1 – 4 of 4) sorted by relevance
39 using testing::internal::ShouldUseColor;50 if (ShouldUseColor(true)) { in main()
267 using testing::internal::ShouldUseColor;6581 EXPECT_TRUE(ShouldUseColor(true)); // Stdout is a TTY. in TEST()6582 EXPECT_TRUE(ShouldUseColor(false)); // Stdout is not a TTY. in TEST()6585 EXPECT_TRUE(ShouldUseColor(true)); // Stdout is a TTY. in TEST()6586 EXPECT_TRUE(ShouldUseColor(false)); // Stdout is not a TTY. in TEST()6593 EXPECT_TRUE(ShouldUseColor(false)); // Stdout is not a TTY. in TEST()6596 EXPECT_TRUE(ShouldUseColor(false)); // Stdout is not a TTY. in TEST()6599 EXPECT_TRUE(ShouldUseColor(false)); // Stdout is not a TTY. in TEST()6606 EXPECT_FALSE(ShouldUseColor(true)); // Stdout is a TTY. in TEST()6607 EXPECT_FALSE(ShouldUseColor(false)); // Stdout is not a TTY. in TEST()[all …]
94 GTEST_API_ bool ShouldUseColor(bool stdout_is_tty);
3260 bool ShouldUseColor(bool stdout_is_tty) { in ShouldUseColor() function3309 ShouldUseColor(posix::IsATTY(posix::FileNo(stdout)) != 0); in ColoredPrintf()