#include "third_party/blink/renderer/modules/mediastream/media_constraints.h"
#include "testing/gtest/include/gtest/gtest.h"
#include "third_party/blink/renderer/bindings/core/v8/v8_union_string_stringsequence.h"
#include "third_party/blink/renderer/bindings/modules/v8/v8_constrain_dom_string_parameters.h"
#include "third_party/blink/renderer/bindings/modules/v8/v8_media_track_constraints.h"
#include "third_party/blink/renderer/bindings/modules/v8/v8_typedefs.h"
#include "third_party/blink/renderer/bindings/modules/v8/v8_union_constraindomstringparameters_string_stringsequence.h"
#include "third_party/blink/renderer/modules/mediastream/media_constraints_impl.h"
#include "third_party/blink/renderer/platform/testing/task_environment.h"
namespace blink {
TEST(MediaTrackConstraintsTest, LongConstraint) { … }
TEST(MediaTrackConstraintsTest, DoubleConstraint) { … }
TEST(MediaTrackConstraintsTest, BooleanConstraint) { … }
TEST(MediaTrackConstraintsTest, ConstraintSetEmpty) { … }
TEST(MediaTrackConstraintsTest, ConstraintName) { … }
TEST(MediaTrackConstraintsTest, MandatoryChecks) { … }
TEST(MediaTrackConstraintsTest, SetToString) { … }
TEST(MediaTrackConstraintsTest, ConstraintsToString) { … }
TEST(MediaTrackConstraintsTest, ConvertWebConstraintsBasic) { … }
TEST(MediaTrackConstraintsTest, ConvertWebSingleStringConstraint) { … }
TEST(MediaTrackConstraintsTest, ConvertWebDoubleStringConstraint) { … }
TEST(MediaTrackConstraintsTest, ConvertBlinkStringConstraint) { … }
TEST(MediaTrackConstraintsTest, ConvertBlinkComplexStringConstraint) { … }
TEST(MediaTrackConstraintsTest, NakedIsExactInAdvanced) { … }
TEST(MediaTrackConstraintsTest, AdvancedParameterFails) { … }
TEST(MediaTrackConstraintsTest, IdealAndExactConvertToNaked) { … }
TEST(MediaTrackConstraintsTest, MaxLengthStringConstraintPasses) { … }
TEST(MediaTrackConstraintsTest, TooLongStringConstraintFails) { … }
TEST(MediaTrackConstraintsTest, MaxLengthStringSequenceConstraintPasses) { … }
TEST(MediaTrackConstraintsTest, TooLongStringSequenceConstraintFails) { … }
TEST(MediaTrackConstraintsTest,
TooLongStringSequenceForDeviceIdConstraintFails) { … }
TEST(MediaTrackConstraintsTest,
TooLongStringSequenceForFacingModeConstraintFails) { … }
TEST(MediaTrackConstraintsTest,
TooLongStringSequenceForResizeModeConstraintFails) { … }
TEST(MediaTrackConstraintsTest,
TooLongStringSequenceForDisplaySurfaceConstraintFails) { … }
}