Lines Matching refs:TestChannel
22 enum class TestChannel : Log::MaskType { enum
31 {{"foo"}, {"log foo"}, TestChannel::FOO},
32 {{"bar"}, {"log bar"}, TestChannel::BAR},
35 static Log::Channel test_channel(test_categories, TestChannel::FOO);
38 template <> Log::Channel &LogChannelFor<TestChannel>() { return test_channel; } in LogChannelFor()
122 m_log = GetLog(TestChannel::FOO); in SetUp()
155 EXPECT_EQ(nullptr, GetLog(TestChannel::FOO)); in TEST()
160 EXPECT_NE(nullptr, GetLog(TestChannel::FOO)); in TEST()
162 EXPECT_EQ(nullptr, GetLog(TestChannel::FOO)); in TEST()
197 EXPECT_EQ(nullptr, GetLog(TestChannel::FOO)); in TEST_F()
205 EXPECT_NE(nullptr, GetLog(TestChannel::FOO)); in TEST_F()
206 EXPECT_EQ(nullptr, GetLog(TestChannel::BAR)); in TEST_F()
207 EXPECT_NE(nullptr, GetLog(TestChannel::FOO | TestChannel::BAR)); in TEST_F()
210 EXPECT_NE(nullptr, GetLog(TestChannel::FOO)); in TEST_F()
211 EXPECT_NE(nullptr, GetLog(TestChannel::BAR)); in TEST_F()
219 EXPECT_EQ(nullptr, GetLog(TestChannel::FOO)); in TEST_F()
226 Log *log = GetLog(TestChannel::FOO); in TEST_F()
232 EXPECT_EQ(nullptr, GetLog(TestChannel::FOO)); in TEST_F()
237 EXPECT_NE(nullptr, GetLog(TestChannel::FOO)); in TEST_F()
238 EXPECT_NE(nullptr, GetLog(TestChannel::BAR)); in TEST_F()
241 EXPECT_NE(nullptr, GetLog(TestChannel::FOO)); in TEST_F()
242 EXPECT_EQ(nullptr, GetLog(TestChannel::BAR)); in TEST_F()
247 EXPECT_NE(nullptr, GetLog(TestChannel::FOO)); in TEST_F()
248 EXPECT_EQ(nullptr, GetLog(TestChannel::BAR)); in TEST_F()
251 EXPECT_EQ(nullptr, GetLog(TestChannel::FOO | TestChannel::BAR)); in TEST_F()
373 EXPECT_THAT(mask, testing::AnyOf(0, Log::MaskType(TestChannel::FOO))); in TEST_F()