Home
last modified time | relevance | path

Searched refs:ShouldUseColor (Results 1 – 4 of 4) sorted by relevance

/freebsd/contrib/googletest/googletest/test/
H A Dgoogletest-color-test_.cc39 using testing::internal::ShouldUseColor;
50 if (ShouldUseColor(true)) { in main()
H A Dgtest_unittest.cc267 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 …]
/freebsd/contrib/googletest/googletest/src/
H A Dgtest-internal-inl.h94 GTEST_API_ bool ShouldUseColor(bool stdout_is_tty);
H A Dgtest.cc3287 bool ShouldUseColor(bool stdout_is_tty) { in ShouldUseColor() function
3336 ShouldUseColor(posix::IsATTY(posix::FileNo(stdout)) != 0); in ColoredPrintf()