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;
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 …]
/freebsd/contrib/googletest/googletest/src/
H A Dgtest-internal-inl.h94 GTEST_API_ bool ShouldUseColor(bool stdout_is_tty);
H A Dgtest.cc3260 bool ShouldUseColor(bool stdout_is_tty) { in ShouldUseColor() function
3309 ShouldUseColor(posix::IsATTY(posix::FileNo(stdout)) != 0); in ColoredPrintf()