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;6630 EXPECT_TRUE(ShouldUseColor(true)); // Stdout is a TTY. in TEST()6631 EXPECT_TRUE(ShouldUseColor(false)); // Stdout is not a TTY. in TEST()6634 EXPECT_TRUE(ShouldUseColor(true)); // Stdout is a TTY. in TEST()6635 EXPECT_TRUE(ShouldUseColor(false)); // Stdout is not a TTY. in TEST()6642 EXPECT_TRUE(ShouldUseColor(false)); // Stdout is not a TTY. in TEST()6645 EXPECT_TRUE(ShouldUseColor(false)); // Stdout is not a TTY. in TEST()6648 EXPECT_TRUE(ShouldUseColor(false)); // Stdout is not a TTY. in TEST()6655 EXPECT_FALSE(ShouldUseColor(true)); // Stdout is a TTY. in TEST()6656 EXPECT_FALSE(ShouldUseColor(false)); // Stdout is not a TTY. in TEST()[all …]
94 GTEST_API_ bool ShouldUseColor(bool stdout_is_tty);
3287 bool ShouldUseColor(bool stdout_is_tty) { in ShouldUseColor() function3336 ShouldUseColor(posix::IsATTY(posix::FileNo(stdout)) != 0); in ColoredPrintf()