| OLD | NEW |
| (Empty) | |
| 1 // Copyright 2016 The Chromium Authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. |
| 4 |
| 5 #include "services/video_capture/fake_device_test.h" |
| 6 |
| 7 #include "base/run_loop.h" |
| 8 |
| 9 using testing::_; |
| 10 using testing::Invoke; |
| 11 |
| 12 namespace video_capture { |
| 13 |
| 14 FakeDeviceTest::FakeDeviceTest() : FakeDeviceDescriptorTest() {} |
| 15 |
| 16 FakeDeviceTest::~FakeDeviceTest() = default; |
| 17 |
| 18 void FakeDeviceTest::SetUp() { |
| 19 FakeDeviceDescriptorTest::SetUp(); |
| 20 |
| 21 factory_->CreateDeviceProxy( |
| 22 std::move(fake_device_descriptor_), mojo::GetProxy(&fake_device_proxy_), |
| 23 base::Bind([](mojom::DeviceAccessResultCode result_code) { |
| 24 ASSERT_EQ(mojom::DeviceAccessResultCode::SUCCESS, result_code); |
| 25 })); |
| 26 } |
| 27 |
| 28 } // namespace video_capture |
| OLD | NEW |