OLD | NEW |
1 // Copyright 2014 The Chromium Authors. All rights reserved. | 1 // Copyright 2014 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 "media/cast/transport/transport/udp_transport.h" | 5 #include "media/cast/transport/udp_transport.h" |
6 | 6 |
7 #include <algorithm> | 7 #include <algorithm> |
8 #include <string> | 8 #include <string> |
9 #include <vector> | 9 #include <vector> |
10 | 10 |
11 #include "base/bind.h" | 11 #include "base/bind.h" |
12 #include "base/callback.h" | 12 #include "base/callback.h" |
13 #include "base/message_loop/message_loop.h" | 13 #include "base/message_loop/message_loop.h" |
14 #include "base/run_loop.h" | 14 #include "base/run_loop.h" |
15 #include "media/cast/test/utility/net_utility.h" | 15 #include "media/cast/test/utility/net_utility.h" |
(...skipping 75 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
91 run_loop.Run(); | 91 run_loop.Run(); |
92 EXPECT_TRUE( | 92 EXPECT_TRUE( |
93 std::equal(packet.begin(), packet.end(), receiver1.packet().begin())); | 93 std::equal(packet.begin(), packet.end(), receiver1.packet().begin())); |
94 EXPECT_TRUE( | 94 EXPECT_TRUE( |
95 std::equal(packet.begin(), packet.end(), receiver2.packet().begin())); | 95 std::equal(packet.begin(), packet.end(), receiver2.packet().begin())); |
96 } | 96 } |
97 | 97 |
98 } // namespace transport | 98 } // namespace transport |
99 } // namespace cast | 99 } // namespace cast |
100 } // namespace media | 100 } // namespace media |
OLD | NEW |