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

/gem5/ext/googletest/googletest/test/
H A Dgtest_color_test_.cc49 using testing::internal::ShouldUseColor;
52 // created before main() is entered, and thus that ShouldUseColor()
61 if (ShouldUseColor(true)) {
H A Dgtest_unittest.cc276 using testing::internal::ShouldUseColor;
6745 EXPECT_TRUE(ShouldUseColor(true)); // Stdout is a TTY.
6746 EXPECT_TRUE(ShouldUseColor(false)); // Stdout is not a TTY.
6749 EXPECT_TRUE(ShouldUseColor(true)); // Stdout is a TTY.
6750 EXPECT_TRUE(ShouldUseColor(false)); // Stdout is not a TTY.
6757 EXPECT_TRUE(ShouldUseColor(false)); // Stdout is not a TTY.
6760 EXPECT_TRUE(ShouldUseColor(false)); // Stdout is not a TTY.
6763 EXPECT_TRUE(ShouldUseColor(false)); // Stdout is not a TTY.
6770 EXPECT_FALSE(ShouldUseColor(true)); // Stdout is a TTY.
6771 EXPECT_FALSE(ShouldUseColor(fals
[all...]
/gem5/ext/googletest/googletest/src/
H A Dgtest-internal-inl.h116 GTEST_API_ bool ShouldUseColor(bool stdout_is_tty);
H A Dgtest.cc2916 bool ShouldUseColor(bool stdout_is_tty) { function in namespace:testing::internal
2965 ShouldUseColor(posix::IsATTY(posix::FileNo(stdout)) != 0);

Completed in 56 milliseconds