Lines Matching refs:consumer_
5 // Unit tests for event trace consumer_ base class.
91 TestConsumer consumer_;
95 TestConsumer consumer_;
97 ASSERT_HRESULT_SUCCEEDED(consumer_.OpenRealtimeSession(kTestSessionName));
101 TestConsumer consumer_;
103 ASSERT_HRESULT_SUCCEEDED(consumer_.OpenRealtimeSession(kTestSessionName));
104 ASSERT_HRESULT_FAILED(consumer_.Consume());
112 ASSERT_HRESULT_SUCCEEDED(consumer_.OpenRealtimeSession(kTestSessionName));
116 consumer_.Close();
122 HRESULT hr = consumer_.Consume();
145 // The event was set, the consumer_ is ready.
167 // Waits for consumer_ thread to exit, and returns its exit code.
179 TestConsumer consumer_;
194 // Start the consumer_.
197 // Wait around for the consumer_ thread a bit.
202 // The consumer_ returns success on session stop.
232 // Start the consumer_.
297 TestConsumer consumer_;
298 HRESULT hr = consumer_.OpenFileSession(temp_file_.value().c_str());
300 hr = consumer_.Consume();
301 consumer_.Close();