webkit  2cdf99a9e3038c7e01b3c37e8ad903ecbe5eecf1
https://github.com/WebKit/webkit
Public Member Functions | Static Public Member Functions | List of all members
webrtc::MockAudioDecoderFactory Class Reference

#include <mock_audio_decoder_factory.h>

Inheritance diagram for webrtc::MockAudioDecoderFactory:
webrtc::AudioDecoderFactory webrtc::AudioDecoderFactory rtc::RefCountInterface rtc::RefCountInterface rtc::RefCountInterface rtc::RefCountInterface

Public Member Functions

 MOCK_METHOD0 (GetSupportedDecoders, std::vector< AudioCodecSpec >())
 
 MOCK_METHOD1 (IsSupportedDecoder, bool(const SdpAudioFormat &))
 
std::unique_ptr< AudioDecoderMakeAudioDecoder (const SdpAudioFormat &format)
 
 MOCK_METHOD2 (MakeAudioDecoderMock, void(const SdpAudioFormat &format, std::unique_ptr< AudioDecoder > *return_value))
 
 MOCK_METHOD0 (GetSupportedDecoders, std::vector< AudioCodecSpec >())
 
 MOCK_METHOD1 (IsSupportedDecoder, bool(const SdpAudioFormat &))
 
std::unique_ptr< AudioDecoderMakeAudioDecoder (const SdpAudioFormat &format)
 
 MOCK_METHOD2 (MakeAudioDecoderMock, void(const SdpAudioFormat &format, std::unique_ptr< AudioDecoder > *return_value))
 
- Public Member Functions inherited from webrtc::AudioDecoderFactory
virtual std::vector< AudioCodecSpecGetSupportedDecoders ()=0
 
virtual bool IsSupportedDecoder (const SdpAudioFormat &format)=0
 
virtual std::vector< AudioCodecSpecGetSupportedDecoders ()=0
 
virtual bool IsSupportedDecoder (const SdpAudioFormat &format)=0
 
- Public Member Functions inherited from rtc::RefCountInterface
virtual int AddRef () const =0
 
virtual int Release () const =0
 
virtual int AddRef () const =0
 
virtual int Release () const =0
 

Static Public Member Functions

static rtc::scoped_refptr< webrtc::MockAudioDecoderFactoryCreateUnusedFactory ()
 
static rtc::scoped_refptr< webrtc::MockAudioDecoderFactoryCreateEmptyFactory ()
 
static rtc::scoped_refptr< webrtc::MockAudioDecoderFactoryCreateUnusedFactory ()
 
static rtc::scoped_refptr< webrtc::MockAudioDecoderFactoryCreateEmptyFactory ()
 

Additional Inherited Members

- Protected Member Functions inherited from rtc::RefCountInterface
virtual ~RefCountInterface ()
 
virtual ~RefCountInterface ()
 

Member Function Documentation

◆ CreateEmptyFactory() [1/2]

static rtc::scoped_refptr<webrtc::MockAudioDecoderFactory> webrtc::MockAudioDecoderFactory::CreateEmptyFactory ( )
inlinestatic

◆ CreateEmptyFactory() [2/2]

static rtc::scoped_refptr<webrtc::MockAudioDecoderFactory> webrtc::MockAudioDecoderFactory::CreateEmptyFactory ( )
inlinestatic

◆ CreateUnusedFactory() [1/2]

static rtc::scoped_refptr<webrtc::MockAudioDecoderFactory> webrtc::MockAudioDecoderFactory::CreateUnusedFactory ( )
inlinestatic

◆ CreateUnusedFactory() [2/2]

static rtc::scoped_refptr<webrtc::MockAudioDecoderFactory> webrtc::MockAudioDecoderFactory::CreateUnusedFactory ( )
inlinestatic

◆ MakeAudioDecoder() [1/2]

std::unique_ptr<AudioDecoder> webrtc::MockAudioDecoderFactory::MakeAudioDecoder ( const SdpAudioFormat format)
inlinevirtual

◆ MakeAudioDecoder() [2/2]

std::unique_ptr<AudioDecoder> webrtc::MockAudioDecoderFactory::MakeAudioDecoder ( const SdpAudioFormat format)
inlinevirtual

◆ MOCK_METHOD0() [1/2]

webrtc::MockAudioDecoderFactory::MOCK_METHOD0 ( GetSupportedDecoders  ,
std::vector< AudioCodecSpec () 
)

◆ MOCK_METHOD0() [2/2]

webrtc::MockAudioDecoderFactory::MOCK_METHOD0 ( GetSupportedDecoders  ,
std::vector< AudioCodecSpec () 
)

◆ MOCK_METHOD1() [1/2]

webrtc::MockAudioDecoderFactory::MOCK_METHOD1 ( IsSupportedDecoder  ,
bool(const SdpAudioFormat &)   
)

◆ MOCK_METHOD1() [2/2]

webrtc::MockAudioDecoderFactory::MOCK_METHOD1 ( IsSupportedDecoder  ,
bool(const SdpAudioFormat &)   
)

◆ MOCK_METHOD2() [1/2]

webrtc::MockAudioDecoderFactory::MOCK_METHOD2 ( MakeAudioDecoderMock  ,
void(const SdpAudioFormat &format, std::unique_ptr< AudioDecoder > *return_value)   
)

◆ MOCK_METHOD2() [2/2]

webrtc::MockAudioDecoderFactory::MOCK_METHOD2 ( MakeAudioDecoderMock  ,
void(const SdpAudioFormat &format, std::unique_ptr< AudioDecoder > *return_value)   
)

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