Home
last modified time | relevance | path

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

/device/generic/vulkan-cereal/third-party/googletest/googletest/test/
Dgoogletest-color-test_.cc40 using testing::internal::ShouldUseColor;
52 if (ShouldUseColor(true)) { in main()
Dgtest_unittest.cc252 using testing::internal::ShouldUseColor;
6628 EXPECT_TRUE(ShouldUseColor(true)); // Stdout is a TTY. in TEST()
6629 EXPECT_TRUE(ShouldUseColor(false)); // Stdout is not a TTY. in TEST()
6632 EXPECT_TRUE(ShouldUseColor(true)); // Stdout is a TTY. in TEST()
6633 EXPECT_TRUE(ShouldUseColor(false)); // Stdout is not a TTY. in TEST()
6640 EXPECT_TRUE(ShouldUseColor(false)); // Stdout is not a TTY. in TEST()
6643 EXPECT_TRUE(ShouldUseColor(false)); // Stdout is not a TTY. in TEST()
6646 EXPECT_TRUE(ShouldUseColor(false)); // Stdout is not a TTY. in TEST()
6653 EXPECT_FALSE(ShouldUseColor(true)); // Stdout is a TTY. in TEST()
6654 EXPECT_FALSE(ShouldUseColor(false)); // Stdout is not a TTY. in TEST()
[all …]
/device/generic/vulkan-cereal/third-party/googletest/googletest/src/
Dgtest-internal-inl.h92 GTEST_API_ bool ShouldUseColor(bool stdout_is_tty);
Dgtest.cc3290 bool ShouldUseColor(bool stdout_is_tty) { in ShouldUseColor() function
3342 ShouldUseColor(posix::IsATTY(posix::FileNo(stdout)) != 0); in ColoredPrintf()