Home
last modified time | relevance | path

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

/freebsd-14.2/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;
6638 EXPECT_TRUE(ShouldUseColor(true)); // Stdout is a TTY. in TEST()
6641 EXPECT_TRUE(ShouldUseColor(true)); // Stdout is a TTY. in TEST()
6644 EXPECT_TRUE(ShouldUseColor(true)); // Stdout is a TTY. in TEST()
6662 EXPECT_TRUE(ShouldUseColor(true)); // Stdout is a TTY. in TEST()
6665 EXPECT_TRUE(ShouldUseColor(true)); // Stdout is a TTY. in TEST()
6668 EXPECT_TRUE(ShouldUseColor(true)); // Stdout is a TTY. in TEST()
6671 EXPECT_TRUE(ShouldUseColor(true)); // Stdout is a TTY. in TEST()
6674 EXPECT_TRUE(ShouldUseColor(true)); // Stdout is a TTY. in TEST()
6677 EXPECT_TRUE(ShouldUseColor(true)); // Stdout is a TTY. in TEST()
[all …]
/freebsd-14.2/contrib/googletest/googletest/src/
H A Dgtest-internal-inl.h93 GTEST_API_ bool ShouldUseColor(bool stdout_is_tty);
H A Dgtest.cc3238 bool ShouldUseColor(bool stdout_is_tty) { in ShouldUseColor() function
3285 ShouldUseColor(posix::IsATTY(posix::FileNo(stdout)) != 0); in ColoredPrintf()