Home
last modified time | relevance | path

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

/freebsd-13.1/contrib/googletest/googletest/test/
H A Dgoogletest-color-test_.cc40 using testing::internal::ShouldUseColor;
52 if (ShouldUseColor(true)) { in main()
H A Dgtest_unittest.cc272 using testing::internal::ShouldUseColor;
6777 EXPECT_TRUE(ShouldUseColor(true)); // Stdout is a TTY. in TEST()
6781 EXPECT_TRUE(ShouldUseColor(true)); // Stdout is a TTY. in TEST()
6838 EXPECT_TRUE(ShouldUseColor(true)); // Stdout is a TTY. in TEST()
6841 EXPECT_TRUE(ShouldUseColor(true)); // Stdout is a TTY. in TEST()
6844 EXPECT_TRUE(ShouldUseColor(true)); // Stdout is a TTY. in TEST()
6862 EXPECT_TRUE(ShouldUseColor(true)); // Stdout is a TTY. in TEST()
6865 EXPECT_TRUE(ShouldUseColor(true)); // Stdout is a TTY. in TEST()
6868 EXPECT_TRUE(ShouldUseColor(true)); // Stdout is a TTY. in TEST()
6871 EXPECT_TRUE(ShouldUseColor(true)); // Stdout is a TTY. in TEST()
[all …]
/freebsd-13.1/contrib/googletest/googletest/src/
H A Dgtest-internal-inl.h109 GTEST_API_ bool ShouldUseColor(bool stdout_is_tty);
H A Dgtest.cc3013 bool ShouldUseColor(bool stdout_is_tty) { in ShouldUseColor() function
3062 ShouldUseColor(posix::IsATTY(posix::FileNo(stdout)) != 0); in ColoredPrintf()