Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(958)

Unified Diff: content/renderer/media/media_stream_video_source_unittest.cc

Issue 2081093002: Cleanup: Remove video constraint names (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Nit Created 4 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « content/renderer/media/media_stream_video_source.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/renderer/media/media_stream_video_source_unittest.cc
diff --git a/content/renderer/media/media_stream_video_source_unittest.cc b/content/renderer/media/media_stream_video_source_unittest.cc
index 8509243a8ac2d69b491226305b31ebaaf87a4928..64395970c04f3ef16ffc8587202a8c8fff57a068 100644
--- a/content/renderer/media/media_stream_video_source_unittest.cc
+++ b/content/renderer/media/media_stream_video_source_unittest.cc
@@ -681,28 +681,6 @@ TEST_F(MediaStreamVideoSourceTest, SourceChangeFrameSize) {
sink.DisconnectFromTrack();
}
-TEST_F(MediaStreamVideoSourceTest, IsConstraintSupported) {
- EXPECT_TRUE(MediaStreamVideoSource::IsConstraintSupported(
- MediaStreamVideoSource::kMaxFrameRate));
- EXPECT_TRUE(MediaStreamVideoSource::IsConstraintSupported(
- MediaStreamVideoSource::kMinFrameRate));
- EXPECT_TRUE(MediaStreamVideoSource::IsConstraintSupported(
- MediaStreamVideoSource::kMaxWidth));
- EXPECT_TRUE(MediaStreamVideoSource::IsConstraintSupported(
- MediaStreamVideoSource::kMinWidth));
- EXPECT_TRUE(MediaStreamVideoSource::IsConstraintSupported(
- MediaStreamVideoSource::kMaxHeight));
- EXPECT_TRUE(MediaStreamVideoSource::IsConstraintSupported(
- MediaStreamVideoSource::kMinHeight));
- EXPECT_TRUE(MediaStreamVideoSource::IsConstraintSupported(
- MediaStreamVideoSource::kMaxAspectRatio));
- EXPECT_TRUE(MediaStreamVideoSource::IsConstraintSupported(
- MediaStreamVideoSource::kMinAspectRatio));
-
- EXPECT_FALSE(MediaStreamVideoSource::IsConstraintSupported(
- "something unsupported"));
-}
-
// Test that the constraint negotiation can handle 0.0 fps as frame rate.
TEST_F(MediaStreamVideoSourceTest, Use0FpsSupportedFormat) {
media::VideoCaptureFormats formats;
« no previous file with comments | « content/renderer/media/media_stream_video_source.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698