OLD | NEW |
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 Loading... |
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 |
OLD | NEW |