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

Unified Diff: media/capture/video/fake_video_capture_device_unittest.cc

Issue 2270563006: ImageCapture: support exposure mode configuration (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: reillyg@ comments Created 4 years, 4 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 | « media/capture/video/fake_video_capture_device.cc ('k') | media/mojo/interfaces/image_capture.mojom » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: media/capture/video/fake_video_capture_device_unittest.cc
diff --git a/media/capture/video/fake_video_capture_device_unittest.cc b/media/capture/video/fake_video_capture_device_unittest.cc
index 6cf58e15a3a11d68780db3c01efd3878176c6740..2c2e5f2b1ba3f27a50b113589f131e492445a416 100644
--- a/media/capture/video/fake_video_capture_device_unittest.cc
+++ b/media/capture/video/fake_video_capture_device_unittest.cc
@@ -335,7 +335,8 @@ TEST_F(FakeVideoCaptureDeviceTest, GetAndSetCapabilities) {
EXPECT_EQ(400u, capabilities->zoom->max);
EXPECT_GE(capabilities->zoom->current, capabilities->zoom->min);
EXPECT_GE(capabilities->zoom->max, capabilities->zoom->current);
- EXPECT_EQ(mojom::FocusMode::UNAVAILABLE, capabilities->focus_mode);
+ EXPECT_EQ(mojom::MeteringMode::UNAVAILABLE, capabilities->focus_mode);
+ EXPECT_EQ(mojom::MeteringMode::UNAVAILABLE, capabilities->exposure_mode);
// Set options: zoom to the maximum value.
const unsigned int max_zoom_value = capabilities->zoom->max;
« no previous file with comments | « media/capture/video/fake_video_capture_device.cc ('k') | media/mojo/interfaces/image_capture.mojom » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698