Lines Matching refs:ASSERT_TRUE
73 ASSERT_TRUE(logger_handle_); in ConnectToLogger()
88 ASSERT_TRUE(socket_); in InitSyslog()
100 ASSERT_TRUE(CreateLogger()); in FullSetup()
101 ASSERT_TRUE(ConnectToLogger()); in FullSetup()
102 ASSERT_TRUE(InitSyslog(nullptr, 0)); in FullSetup()
131 ASSERT_TRUE(fixture.FullSetup()); in TestLogSimple()
135 ASSERT_TRUE(ends_with(out, "test_message\n"), out); in TestLogSimple()
142 ASSERT_TRUE(fixture.FullSetup()); in TestLogMultipleMsgs()
146 ASSERT_TRUE(ends_with(out, "INFO: test_message\n"), out); in TestLogMultipleMsgs()
150 ASSERT_TRUE(ends_with(out, "INFO: test_message2\n"), out); in TestLogMultipleMsgs()
157 ASSERT_TRUE(fixture.FullSetup()); in TestLogWithTag()
161 ASSERT_TRUE(ends_with(out, "[tag] INFO: test_message\n"), out); in TestLogWithTag()
168 ASSERT_TRUE(fixture.CreateLogger()); in TestLogWithMultipleTags()
169 ASSERT_TRUE(fixture.ConnectToLogger()); in TestLogWithMultipleTags()
171 ASSERT_TRUE(fixture.InitSyslog(gtags, 2)); in TestLogWithMultipleTags()
175 ASSERT_TRUE(ends_with(out, "[gtag1, gtag2, tag] INFO: test_message\n"), out); in TestLogWithMultipleTags()
182 ASSERT_TRUE(fixture.FullSetup()); in TestLogSeverity()
186 ASSERT_TRUE(ends_with(out, "[] INFO: test_message\n"), out); in TestLogSeverity()
191 ASSERT_TRUE(ends_with(out, "[] WARNING: test_message\n"), out); in TestLogSeverity()
196 ASSERT_TRUE(ends_with(out, "[] ERROR: test_message\n"), out); in TestLogSeverity()
204 ASSERT_TRUE(fixture.FullSetup()); in TestLogWhenLoggerHandleDies()
210 ASSERT_TRUE(ends_with(out, "[tag] INFO: test_message\n"), out); in TestLogWhenLoggerHandleDies()
218 ASSERT_TRUE(fixture.CreateLogger()); in TestLoggerDiesWithSocket()
219 ASSERT_TRUE(fixture.ConnectToLogger()); in TestLoggerDiesWithSocket()
229 ASSERT_TRUE(fixture.CreateLogger()); in TestLoggerDiesWithChannelWhenNoConnectCalled()