webkit  2cdf99a9e3038c7e01b3c37e8ad903ecbe5eecf1
https://github.com/WebKit/webkit
Classes | Functions
videocapturertracksource_unittest.cc File Reference
#include <memory>
#include <string>
#include <vector>
#include "webrtc/api/test/fakeconstraints.h"
#include "webrtc/base/gunit.h"
#include "webrtc/media/base/fakemediaengine.h"
#include "webrtc/media/base/fakevideocapturer.h"
#include "webrtc/media/base/fakevideorenderer.h"
#include "webrtc/pc/videocapturertracksource.h"

Classes

class  TestVideoCapturer
 
class  StateObserver
 
class  VideoCapturerTrackSourceTest
 

Functions

 TEST_F (VideoCapturerTrackSourceTest, CapturerStartStop)
 
 TEST_F (VideoCapturerTrackSourceTest, CameraFailed)
 
 TEST_F (VideoCapturerTrackSourceTest, MandatoryConstraintCif5Fps)
 
 TEST_F (VideoCapturerTrackSourceTest, MandatoryMinVgaOptional720P)
 
 TEST_F (VideoCapturerTrackSourceTest, MandatoryAspectRatio4To3)
 
 TEST_F (VideoCapturerTrackSourceTest, MandatoryAspectRatioTooHigh)
 
 TEST_F (VideoCapturerTrackSourceTest, OptionalAspectRatioTooHigh)
 
 TEST_F (VideoCapturerTrackSourceTest, NoCameraCapability)
 
 TEST_F (VideoCapturerTrackSourceTest, NoCameraCapability16To9Ratio)
 
 TEST_F (VideoCapturerTrackSourceTest, InvalidMandatoryConstraint)
 
 TEST_F (VideoCapturerTrackSourceTest, InvalidOptionalConstraint)
 
 TEST_F (VideoCapturerTrackSourceTest, SetValidDenoisingConstraint)
 
 TEST_F (VideoCapturerTrackSourceTest, NoiseReductionConstraintNotSet)
 
 TEST_F (VideoCapturerTrackSourceTest, MandatoryDenoisingConstraintOverridesOptional)
 
 TEST_F (VideoCapturerTrackSourceTest, NoiseReductionAndInvalidKeyOptional)
 
 TEST_F (VideoCapturerTrackSourceTest, NoiseReductionAndInvalidKeyMandatory)
 
 TEST_F (VideoCapturerTrackSourceTest, InvalidDenoisingValueOptional)
 
 TEST_F (VideoCapturerTrackSourceTest, InvalidDenoisingValueMandatory)
 
 TEST_F (VideoCapturerTrackSourceTest, MixedOptionsAndConstraints)
 
 TEST_F (VideoCapturerTrackSourceTest, ScreencastResolutionNoConstraint)
 
 TEST_F (VideoCapturerTrackSourceTest, ScreencastResolutionWithConstraint)
 
 TEST_F (VideoCapturerTrackSourceTest, MandatorySubOneFpsConstraints)
 
 TEST_F (VideoCapturerTrackSourceTest, OptionalSubOneFpsConstraints)
 

Function Documentation

◆ TEST_F() [1/23]

TEST_F ( VideoCapturerTrackSourceTest  ,
CapturerStartStop   
)

◆ TEST_F() [2/23]

TEST_F ( VideoCapturerTrackSourceTest  ,
CameraFailed   
)

◆ TEST_F() [3/23]

TEST_F ( VideoCapturerTrackSourceTest  ,
MandatoryConstraintCif5Fps   
)

◆ TEST_F() [4/23]

TEST_F ( VideoCapturerTrackSourceTest  ,
MandatoryMinVgaOptional720P   
)

◆ TEST_F() [5/23]

TEST_F ( VideoCapturerTrackSourceTest  ,
MandatoryAspectRatio4To3   
)

◆ TEST_F() [6/23]

TEST_F ( VideoCapturerTrackSourceTest  ,
MandatoryAspectRatioTooHigh   
)

◆ TEST_F() [7/23]

TEST_F ( VideoCapturerTrackSourceTest  ,
OptionalAspectRatioTooHigh   
)

◆ TEST_F() [8/23]

TEST_F ( VideoCapturerTrackSourceTest  ,
NoCameraCapability   
)

◆ TEST_F() [9/23]

TEST_F ( VideoCapturerTrackSourceTest  ,
NoCameraCapability16To9Ratio   
)

◆ TEST_F() [10/23]

TEST_F ( VideoCapturerTrackSourceTest  ,
InvalidMandatoryConstraint   
)

◆ TEST_F() [11/23]

TEST_F ( VideoCapturerTrackSourceTest  ,
InvalidOptionalConstraint   
)

◆ TEST_F() [12/23]

TEST_F ( VideoCapturerTrackSourceTest  ,
SetValidDenoisingConstraint   
)

◆ TEST_F() [13/23]

TEST_F ( VideoCapturerTrackSourceTest  ,
NoiseReductionConstraintNotSet   
)

◆ TEST_F() [14/23]

TEST_F ( VideoCapturerTrackSourceTest  ,
MandatoryDenoisingConstraintOverridesOptional   
)

◆ TEST_F() [15/23]

TEST_F ( VideoCapturerTrackSourceTest  ,
NoiseReductionAndInvalidKeyOptional   
)

◆ TEST_F() [16/23]

TEST_F ( VideoCapturerTrackSourceTest  ,
NoiseReductionAndInvalidKeyMandatory   
)

◆ TEST_F() [17/23]

TEST_F ( VideoCapturerTrackSourceTest  ,
InvalidDenoisingValueOptional   
)

◆ TEST_F() [18/23]

TEST_F ( VideoCapturerTrackSourceTest  ,
InvalidDenoisingValueMandatory   
)

◆ TEST_F() [19/23]

TEST_F ( VideoCapturerTrackSourceTest  ,
MixedOptionsAndConstraints   
)

◆ TEST_F() [20/23]

TEST_F ( VideoCapturerTrackSourceTest  ,
ScreencastResolutionNoConstraint   
)

◆ TEST_F() [21/23]

TEST_F ( VideoCapturerTrackSourceTest  ,
ScreencastResolutionWithConstraint   
)

◆ TEST_F() [22/23]

TEST_F ( VideoCapturerTrackSourceTest  ,
MandatorySubOneFpsConstraints   
)

◆ TEST_F() [23/23]

TEST_F ( VideoCapturerTrackSourceTest  ,
OptionalSubOneFpsConstraints   
)