webkit  2cdf99a9e3038c7e01b3c37e8ad903ecbe5eecf1
https://github.com/WebKit/webkit
Protected Member Functions | Protected Attributes | List of all members
webrtc::StatsCollectorTest Class Reference
Inheritance diagram for webrtc::StatsCollectorTest:
testing::Test

Protected Member Functions

 StatsCollectorTest ()
 
 ~StatsCollectorTest ()
 
void InitSessionStats (const std::string &vc_name)
 
void AddOutgoingVideoTrackStats ()
 
void AddIncomingVideoTrackStats ()
 
void AddOutgoingAudioTrackStats ()
 
void AddIncomingAudioTrackStats ()
 
void AddDataChannel (cricket::DataChannelType type, const std::string &label, int id)
 
StatsReportAddCandidateReport (StatsCollector *collector, const cricket::Candidate &candidate, bool local)
 
void SetupAndVerifyAudioTrackStats (FakeAudioTrack *audio_track, webrtc::MediaStream *stream, webrtc::StatsCollector *stats, cricket::VoiceChannel *voice_channel, const std::string &vc_name, MockVoiceMediaChannel *media_channel, cricket::VoiceSenderInfo *voice_sender_info, cricket::VoiceReceiverInfo *voice_receiver_info, cricket::VoiceMediaInfo *stats_read, StatsReports *reports)
 
void TestCertificateReports (const rtc::FakeSSLCertificate &local_cert, const std::vector< std::string > &local_ders, std::unique_ptr< rtc::FakeSSLCertificate > remote_cert, const std::vector< std::string > &remote_ders)
 
- Protected Member Functions inherited from testing::Test
 Test ()
 
virtual void SetUp ()
 
virtual void TearDown ()
 

Protected Attributes

webrtc::RtcEventLogNullImpl event_log_
 
rtc::Thread *const worker_thread_
 
rtc::Thread *const network_thread_
 
cricket::FakeMediaEnginemedia_engine_
 
std::unique_ptr< cricket::ChannelManagerchannel_manager_
 
std::unique_ptr< webrtc::MediaControllerInterfacemedia_controller_
 
MockWebRtcSession session_
 
MockPeerConnection pc_
 
FakeDataChannelProvider data_channel_provider_
 
SessionStats session_stats_
 
rtc::scoped_refptr< webrtc::MediaStreamstream_
 
rtc::scoped_refptr< webrtc::VideoTracktrack_
 
rtc::scoped_refptr< FakeAudioTrackaudio_track_
 
std::vector< rtc::scoped_refptr< DataChannel > > data_channels_
 

Constructor & Destructor Documentation

◆ StatsCollectorTest()

webrtc::StatsCollectorTest::StatsCollectorTest ( )
inlineprotected

◆ ~StatsCollectorTest()

webrtc::StatsCollectorTest::~StatsCollectorTest ( )
inlineprotected

Member Function Documentation

◆ AddCandidateReport()

StatsReport* webrtc::StatsCollectorTest::AddCandidateReport ( StatsCollector collector,
const cricket::Candidate candidate,
bool  local 
)
inlineprotected

◆ AddDataChannel()

void webrtc::StatsCollectorTest::AddDataChannel ( cricket::DataChannelType  type,
const std::string label,
int  id 
)
inlineprotected

◆ AddIncomingAudioTrackStats()

void webrtc::StatsCollectorTest::AddIncomingAudioTrackStats ( )
inlineprotected

◆ AddIncomingVideoTrackStats()

void webrtc::StatsCollectorTest::AddIncomingVideoTrackStats ( )
inlineprotected

◆ AddOutgoingAudioTrackStats()

void webrtc::StatsCollectorTest::AddOutgoingAudioTrackStats ( )
inlineprotected

◆ AddOutgoingVideoTrackStats()

void webrtc::StatsCollectorTest::AddOutgoingVideoTrackStats ( )
inlineprotected

◆ InitSessionStats()

void webrtc::StatsCollectorTest::InitSessionStats ( const std::string vc_name)
inlineprotected

◆ SetupAndVerifyAudioTrackStats()

void webrtc::StatsCollectorTest::SetupAndVerifyAudioTrackStats ( FakeAudioTrack audio_track,
webrtc::MediaStream stream,
webrtc::StatsCollector stats,
cricket::VoiceChannel voice_channel,
const std::string vc_name,
MockVoiceMediaChannel media_channel,
cricket::VoiceSenderInfo voice_sender_info,
cricket::VoiceReceiverInfo voice_receiver_info,
cricket::VoiceMediaInfo stats_read,
StatsReports reports 
)
inlineprotected

◆ TestCertificateReports()

void webrtc::StatsCollectorTest::TestCertificateReports ( const rtc::FakeSSLCertificate local_cert,
const std::vector< std::string > &  local_ders,
std::unique_ptr< rtc::FakeSSLCertificate remote_cert,
const std::vector< std::string > &  remote_ders 
)
inlineprotected

Member Data Documentation

◆ audio_track_

rtc::scoped_refptr<FakeAudioTrack> webrtc::StatsCollectorTest::audio_track_
protected

◆ channel_manager_

std::unique_ptr<cricket::ChannelManager> webrtc::StatsCollectorTest::channel_manager_
protected

◆ data_channel_provider_

FakeDataChannelProvider webrtc::StatsCollectorTest::data_channel_provider_
protected

◆ data_channels_

std::vector<rtc::scoped_refptr<DataChannel> > webrtc::StatsCollectorTest::data_channels_
protected

◆ event_log_

webrtc::RtcEventLogNullImpl webrtc::StatsCollectorTest::event_log_
protected

◆ media_controller_

std::unique_ptr<webrtc::MediaControllerInterface> webrtc::StatsCollectorTest::media_controller_
protected

◆ media_engine_

cricket::FakeMediaEngine* webrtc::StatsCollectorTest::media_engine_
protected

◆ network_thread_

rtc::Thread* const webrtc::StatsCollectorTest::network_thread_
protected

◆ pc_

MockPeerConnection webrtc::StatsCollectorTest::pc_
protected

◆ session_

MockWebRtcSession webrtc::StatsCollectorTest::session_
protected

◆ session_stats_

SessionStats webrtc::StatsCollectorTest::session_stats_
protected

◆ stream_

rtc::scoped_refptr<webrtc::MediaStream> webrtc::StatsCollectorTest::stream_
protected

◆ track_

rtc::scoped_refptr<webrtc::VideoTrack> webrtc::StatsCollectorTest::track_
protected

◆ worker_thread_

rtc::Thread* const webrtc::StatsCollectorTest::worker_thread_
protected

The documentation for this class was generated from the following file: