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

Side by Side Diff: device/bluetooth/bluez/bluetooth_audio_sink_bluez_unittest.cc

Issue 1898643002: Refactor device::BluetoothGattXXX classes to split into remote/local. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 8 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 unified diff | Download patch
OLDNEW
1 // Copyright 2015 The Chromium Authors. All rights reserved. 1 // Copyright 2015 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #include "device/bluetooth/bluetooth_audio_sink_bluez.h" 5 #include "device/bluetooth/bluez/bluetooth_audio_sink_bluez.h"
6 6
7 #include <stddef.h> 7 #include <stddef.h>
8 #include <stdint.h> 8 #include <stdint.h>
9 9
10 #include <memory> 10 #include <memory>
11 #include <vector> 11 #include <vector>
12 12
13 #include "base/bind.h" 13 #include "base/bind.h"
14 #include "base/logging.h" 14 #include "base/logging.h"
15 #include "base/memory/ref_counted.h" 15 #include "base/memory/ref_counted.h"
(...skipping 932 matching lines...) Expand 10 before | Expand all | Expand 10 after
948 message_loop_.RunUntilIdle(); 948 message_loop_.RunUntilIdle();
949 949
950 EXPECT_EQ(observer_->data_, data_two); 950 EXPECT_EQ(observer_->data_, data_two);
951 EXPECT_EQ(observer_->read_mtu_, 951 EXPECT_EQ(observer_->read_mtu_,
952 FakeBluetoothMediaTransportClient::kDefaultReadMtu); 952 FakeBluetoothMediaTransportClient::kDefaultReadMtu);
953 EXPECT_EQ(observer_->state_changed_count_, 3); 953 EXPECT_EQ(observer_->state_changed_count_, 3);
954 EXPECT_EQ(observer_->total_read_, data_one.size() + data_two.size()); 954 EXPECT_EQ(observer_->total_read_, data_one.size() + data_two.size());
955 } 955 }
956 956
957 } // namespace bluez 957 } // namespace bluez
OLDNEW
« no previous file with comments | « device/bluetooth/bluez/bluetooth_audio_sink_bluez.cc ('k') | device/bluetooth/bluez/bluetooth_bluez_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698